-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Python API reference docs based on latest GraphQL schema (#282)
The main contribution of this PR is to update the Python API reference docs with the new classes added in the recent schema change (`TomogramAuthor` and `AnnotationFile`). In addition, there are few other documentation related changes. 1\. Updated quick start to reflect other API changes (e.g. removing `binning` keyword argument from `download_mrcfile`). 2\. Added the upgrade option to the napari plugin, so that its dependencies (like the Python client in this repo) are upgraded when there is an existing installation. 3\. Fixed the examples in the base model so that they work with the current schema. 4\. Fixed some typos and small mistakes in the model docstrings. 5\. Enforced a version of Sphinx pre v7 to prevent an error when building the HTML docs. The error is `Reason: UndefinedError("'style' is undefined")` and is likely related to the Sphinx RTD theme not supporting Sphinx v7. The [corresponding issue](readthedocs/readthedocs.org#10279) should be fixed for v2 of the theme, but I did not find that to be the case.
- Loading branch information
1 parent
742369c
commit 8c6cb98
Showing
6 changed files
with
33 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
sphinx<7 | ||
nbsphinx | ||
myst-parser | ||
sphinx-rtd-theme |