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

Build API docs for ReadTheDocs #118

Merged
merged 2 commits into from
Mar 22, 2022
Merged

Build API docs for ReadTheDocs #118

merged 2 commits into from
Mar 22, 2022

Conversation

yoda-vid
Copy link
Collaborator

The API docs have not been built for the ReadTheDocs documentation because the RST files are not generated by default. As inspired by this wokaround, this PR adds a configuration step to generate the RST files automatically when ReadTheDocs builds the documentation. Additionally, intersphinx links have been updated for Scipy, Matplotlib, and Pandas.

Update Sphinx links to these libraries' API docs.
Build the `.rst` files required to generate the API docs in ReadTheDocs. Although these files can be generated through a CLI flag, they are not built automatically during RTD generation. As inspired by this comment (readthedocs/readthedocs.org#1139 (comment)), add configuration steps to build the files automatically. This build avoids the need to commit the RST files to the repo.
@yoda-vid yoda-vid added the documentation Improvements or additions to documentation label Mar 22, 2022
@yoda-vid yoda-vid added this to the v1.6.0 milestone Mar 22, 2022
@yoda-vid yoda-vid merged commit f8df05f into master Mar 22, 2022
@yoda-vid yoda-vid deleted the build_rst_for_rtd branch March 22, 2022 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant