-
Notifications
You must be signed in to change notification settings - Fork 128
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
Sync outdated developer API docs, add check in CI #1525
Merged
Merged
Commits on Jul 8, 2024
-
Reflects the public/developer split from a single Python API.
Configuration menu - View commit details
-
Copy full SHA for 7a02b1c - Browse repository at this point
Copy the full SHA 7a02b1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a57a909 - Browse repository at this point
Copy the full SHA a57a909View commit details -
This makes it easier to understand what's going on.
Configuration menu - View commit details
-
Copy full SHA for ceac1b7 - Browse repository at this point
Copy the full SHA ceac1b7View commit details -
Auto-generate developer API docs
Command from dev docs: sphinx-apidoc \ --force \ --module-first \ --separate \ --no-toc \ --output-dir docs/api/developer \ augur
Configuration menu - View commit details
-
Copy full SHA for 85ce264 - Browse repository at this point
Copy the full SHA 85ce264View commit details -
Warnings were: augur/curate/__init__.py:docstring of augur.curate.create_shared_parser:5: WARNING: Inline literal start-string without end-string. augur/curate/__init__.py:docstring of augur.curate.create_shared_parser:5: WARNING: Inline literal start-string without end-string. It took some searching¹ + trial and error to figure out the fix. ¹ <sphinx-doc/sphinx#9140 (comment)>
Configuration menu - View commit details
-
Copy full SHA for 7f085ae - Browse repository at this point
Copy the full SHA 7f085aeView commit details -
Warnings were: augur/curate/apply_geolocation_rules.py:docstring of augur.curate.apply_geolocation_rules.load_geolocation_rules:9: WARNING: Definition list ends without a blank line; unexpected unindent. augur/curate/apply_geolocation_rules.py:docstring of augur.curate.apply_geolocation_rules.load_geolocation_rules:10: WARNING: Definition list ends without a blank line; unexpected unindent. augur/curate/apply_geolocation_rules.py:docstring of augur.curate.apply_geolocation_rules.load_geolocation_rules:11: WARNING: Definition list ends without a blank line; unexpected unindent. augur/curate/apply_geolocation_rules.py:docstring of augur.curate.apply_geolocation_rules.load_geolocation_rules:12: WARNING: Definition list ends without a blank line; unexpected unindent.
Configuration menu - View commit details
-
Copy full SHA for 5d0c534 - Browse repository at this point
Copy the full SHA 5d0c534View commit details -
Suppress docs warnings for argparse._SubParsersAction
Warnings were: <unknown>:1: WARNING: py:class reference target not found: argparse._SubParsersAction <unknown>:1: WARNING: py:class reference target not found: argparse._SubParsersAction
Configuration menu - View commit details
-
Copy full SHA for 048d372 - Browse repository at this point
Copy the full SHA 048d372View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5007b6 - Browse repository at this point
Copy the full SHA f5007b6View commit details -
Fix warnings of duplicate object descriptions for unused files
These files are not referenced by the auto-generated docs.
Configuration menu - View commit details
-
Copy full SHA for 597537e - Browse repository at this point
Copy the full SHA 597537eView commit details -
Fix warning for duplicate object description of augur.io
Since augur.io is in both the public and developer APIs, only one can be used for cross referencing meaning the other must have `:noindex:`. Ideally the developer API docs would have `:noindex:` so the public API docs can list all exported functions on its index page. However, regenerating the developer API docs using sphinx-apidoc will remove the `:noindex:` so that's not a direct option without digging further.
Configuration menu - View commit details
-
Copy full SHA for 50768fe - Browse repository at this point
Copy the full SHA 50768feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e7c3d8 - Browse repository at this point
Copy the full SHA 3e7c3d8View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.