-
Notifications
You must be signed in to change notification settings - Fork 5
ENH: Add readthedocs config file
#37
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
9b842fc to
5b76a38
Compare
|
Building the documentation is failing since we modernized the package setup using The issue lies in the Python seems to install it when executing the Now, if one installs Manually specifying a version makes the documentation build process partially succeed (the process exists successfully, but no content is added to the TOC/the There may be 2 solutions to the version issue (removing
which also assumes that In either case, it looks like in order to build the doc, we need to add to and then add to following https://docs.readthedocs.io/en/stable/config-file/v2.html#packages. |
Add `readthedocs` config file. Specifically: - Set the Python version to 3.8, as the default version `readthedocs` is curreently using is 3.7, whose EOL is only 4 months away. - List the dependencies to be able to build the documentation in the `pyproject.toml` file. - Read the package version in the documentation configuration `conf.py` file using `pkg_resources`.
Add the `numpydoc` extension to process the docstrings, which are written according to the `Numpy` convention.
5b76a38 to
7637a1b
Compare
|
I found a way to get the version string. The documentation's first steps now work locally: I did not go further/did not complete all steps that the successful |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, but you will still be able to re-open it. Thank you for your contributions. |
readthedocsconfig filenumpydocextension to process the docstrings