Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A type warning for html_use_opensearch is shown twice #8629

Closed
tk0miya opened this issue Dec 31, 2020 · 0 comments
Closed

A type warning for html_use_opensearch is shown twice #8629

tk0miya opened this issue Dec 31, 2020 · 0 comments

Comments

@tk0miya
Copy link
Member

tk0miya commented Dec 31, 2020

Describe the bug
A type warning for html_use_opensearch is shown twice.

To Reproduce

# conf.py
Running Sphinx v3.5.0+/332d80ba8
making output directory... done
WARNING: The config value `html_use_opensearch' has type `int', defaults to `str'.
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 1 source files that are out of date
updating environment: [new config] 1 added, 0 changed, 0 removed
reading sources... [100%] index
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... WARNING: html_use_opensearch config value must now be a string
done
writing output... [100%] index
generating indices... genindex py-modindex done
writing additional pages... search opensearch done
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 2 warnings.

The HTML pages are in _build/html.

Expected behavior
It's enough to warn only once.

Your project
No

Screenshots
No

Environment info

  • OS: Mac
  • Python version: 3.9.1
  • Sphinx version: HEAD of 3.x
  • Sphinx extensions: No
  • Extra tools: No

Additional context
No

@tk0miya tk0miya added this to the 3.5.0 milestone Dec 31, 2020
@tk0miya tk0miya closed this as completed in 6055771 Jan 1, 2021
tk0miya added a commit that referenced this issue Jan 1, 2021
…earch_twice

Fix #8629: html: A type warning for html_use_opensearch is shown twice
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant