You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
In astropy/astropy#4361 (comment) I suggested a few fixes to the edit_on_github Sphinx extension that might be worth making:
If the doctree argument passed to html_page_content is None, this implies an HTML page that was not generated from an actual rst document. Usually this implies that there is no page to edit on GitHub, though I suppose a static HTML page that lives in the repository is also possible. In either case, the case of doctree is None should be handled in some appropriate way. Currently if doctree is None for a page that is not skipped, the extension crashes.
The default for edit_on_github_skip_regex should be updated, probably to include api.* pages for compatibility with automodapi. Better yet, maybe the extension can check if automodapi is being used, and automatically skip anything that starts with the value for the automodapi_toctreedirnm config option used by automodapi.
The text was updated successfully, but these errors were encountered:
In astropy/astropy#4361 (comment) I suggested a few fixes to the edit_on_github Sphinx extension that might be worth making:
doctree
argument passed tohtml_page_content
isNone
, this implies an HTML page that was not generated from an actual rst document. Usually this implies that there is no page to edit on GitHub, though I suppose a static HTML page that lives in the repository is also possible. In either case, the case ofdoctree is None
should be handled in some appropriate way. Currently ifdoctree is None
for a page that is not skipped, the extension crashes.edit_on_github_skip_regex
should be updated, probably to includeapi.*
pages for compatibility with automodapi. Better yet, maybe the extension can check if automodapi is being used, and automatically skip anything that starts with the value for theautomodapi_toctreedirnm
config option used by automodapi.The text was updated successfully, but these errors were encountered: