-
Notifications
You must be signed in to change notification settings - Fork 531
get make docs-html working
#11830
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
get make docs-html working
#11830
Conversation
0dbb104 to
892193c
Compare
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.
Pull Request Overview
This PR fixes the make docs-html command that was broken after adding Sphinx-Substitution-Extensions in #11477. The issue was that the Makefile's grep pattern for extracting the Sphinx version was too broad, matching multiple packages instead of just Sphinx itself.
- Updated the grep pattern in the Makefile to be more specific when extracting the Sphinx version
- Added a comment explaining the rationale for the more specific search pattern
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
jp-tosca
left a comment
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.
Looks good, sent an update on the branch.
What this PR does / why we need it:
We advertise
make docs-htmlas a way to build the guides at https://guides.dataverse.org/en/6.7.1/contributor/documentation.html#building-the-guides-with-a-sphinx-docker-container-and-a-makefileIt stopped working when we added in Sphinx-Substitution-Extensions in #11477.
Which issue(s) this PR closes:
make docs-htmldoesn't work #11829Special notes for your reviewer:
None.
Suggestions on how to test this:
Try it.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No.
Is there a release notes update needed for this change?:
I don't think so.
Additional documentation:
None.
Related: