-
Notifications
You must be signed in to change notification settings - Fork 85
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
docs: update python docs template #576
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -166,7 +166,7 @@ def docs(session): | |
"""Build the docs for this library.""" | ||
|
||
session.install('-e', '.') | ||
session.install('sphinx<3.0.0', 'alabaster', 'recommonmark') | ||
session.install('sphinx', 'alabaster', 'recommonmark') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @crwilcox IIRC, you needed a specific version of sphinx. Will this break you? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We made this change here: googleapis/python-bigtable#20 and the docs build passed successfully, so we wanted to make this change more broadly. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
shutil.rmtree(os.path.join('docs', '_build'), ignore_errors=True) | ||
session.run( | ||
|
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.
We did the same change in python-storage: googleapis/python-storage#103
Didn't realize it came from this parent template. The rationale for it:
https://github.com/readthedocs/recommonmark