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
Neither defect is a resolved reference, so a warnings-as-errors build
reported nothing while both shipped 404s.
`sphinx-gp-llms` advertised a Markdown twin in the page footer for every
page, while twins were written only for real source documents, so
`genindex`, `py-modindex` and `search` each linked a file that was never
created. One predicate now owns the three conditions a twin requires --
the page is in `found_docs`, it does not match `llms_excludes`, and its
source exists -- and both the writer and the page-context handler call
it, so the link and the writer cannot drift apart again.
`gp-sphinx` deletes `_static/tabs.js` after each HTML build, working
around a `sphinx-inline-tabs` script that conflicts with SPA navigation,
but nothing dropped the `<script>` tag the extension registers; every
page then requested an asset the build had just removed. The tag is now
dropped alongside the file. Tab switching is unaffected, being driven by
CSS, and cross-group sync remains the standing cost of the workaround
rather than a regression here.
Smartquotes mangling literal JSON in an argument description was
reported alongside these and is deliberately unchanged: descriptions are
already parsed as inline markup, so a literal reaches docutils intact,
and only generated boilerplate arrives unprotected.
Copy file name to clipboardExpand all lines: docs/configuration.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,7 @@ browser helpers, autodoc filter, and lexer aliases into the Sphinx app:
92
92
|`app.add_js_file("js/spa-nav.js", loading_method="defer")`| Registers the bundled SPA navigation script from `sphinx-gp-theme`|
93
93
|`app.connect("html-page-context", _inject_copybutton_bridge)`| Adds copybutton prompt settings to the page context so copied examples stay prompt-aware after SPA navigation |
94
94
|`app.connect("html-page-context", _inject_fowt_prevention)`| Injects the early theme script that prevents a flash of the wrong theme before Furo initializes |
95
+
|`app.connect("html-page-context", _drop_tabs_js_reference)`| Drops the `_static/tabs.js``<script>` tag, so pages do not request the file `remove_tabs_js` deletes |
95
96
|`app.connect("build-finished", remove_tabs_js)`| Removes `_static/tabs.js` after HTML builds as a `sphinx-inline-tabs` workaround |
96
97
|`app.connect("autodoc-skip-member", skip_machinery_members, priority=900)`| Hides the {py:data}`gp_sphinx.config.MACHINERY_MEMBERS` names that {py:class}`abc.ABCMeta`, {py:class}`typing.Protocol`, and {py:class}`typing.NamedTuple` write into a class |
97
98
|`app.add_lexer("myst", MystLexer)`| Registers the MyST lexer alias used by Markdown examples |
0 commit comments