-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-43778: Fix Sphinx glossary_search extension #25286
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
Conversation
Create the _static/ directory if it doesn't exist. Add also constants for the static directory and the JSON filename.
@@ -15,6 +15,8 @@ | |||
|
|||
|
|||
logger = logging.getLogger(__name__) | |||
STATIC_DIR = '_static' | |||
JSON = 'glossary.json' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor suggestion: JSON
-> GLOSSARY_JSON
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, the extension is called "glossary_search", in the context of the extension, I don't think that it's worth it to repeat "glossary" ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The extension works, I didn't see https://bugs.python.org/issue43778 bug in the 3 doc CI jobs.
The Docs PR failure on Azure is unrelated:
This issue was introduced https://bugs.python.org/issue43774 I'm aware of the issue and I will write a fix later. |
I merged my PR, thanks for the reviews @ammaraskar and @JulienPalard ! |
Create the _static/ directory if it doesn't exist.
Add also constants for the static directory and the JSON filename.
https://bugs.python.org/issue43778