Closed emanlove closed 1 week ago
โฑ๏ธ Estimated effort to review [1-5] | 1 |
๐งช Relevant tests | No |
๐ Security concerns | No |
โก Key issues to review | None |
Category | Suggestion | Score |
Possible issue |
Ensure the path to
___
**Ensure that the | 7 |
Best practice |
Pin versions of dependencies in
___
**Consider pinning the versions of the dependencies listed in | 6 |
@emanlove I applied the changes in my PR, and the documentation was generated without any dependency errors. Thank you.
User description
For the API documentation as sphinx autogenerates the api docs from the code it needs the dependent Python packages. This change adds those to the tox docs build environment.
Description
This adds the requirments.txt to the tox docs build environment.
Motivation and Context
The Sphinx Python API docs are built by "reading the code". That is as if Python were importing or running it. Thus the required dependencies to run the Python bindings are also require to build the API documentation.
Types of changes
Checklist
PR Type
Bug fix, Documentation
Description
requirements.txt
to the dependencies list in the tox configuration to ensure all necessary packages are available for building the API documentation with Sphinx.Changes walkthrough ๐
tox.ini
Include `requirements.txt` in tox documentation build environment
py/tox.ini
requirements.txt
to the dependencies list in the toxconfiguration.