Repository navigation
docs: switch the tikz extension to the maintained tikz2 fork - #64
Merged
Merged
Conversation
sphinxcontrib-tikz on PyPI (0.4.20) is an unmaintained 2018-era codebase; its gettext build crashes under Sphinx 9, which removed sphinx.util.ENOENT. The fork at github.com/wenh06/tikz2 keeps the sphinxcontrib.tikz extension module name, imports ENOENT from errno, and supports both the old and new locations of sphinx.util.osutil.ensuredir. The requirement now installs from that repository. Verified locally under Sphinx 9.2.0 on Python 3.13: the gettext build completes, and the two tikz diagrams on the algorithm theory pages render as SVGs in both the English and zh_CN builds.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
sphinxcontrib-tikzon PyPI (0.4.20) is an unmaintained 2018-era codebase; its gettext build crashes under Sphinx 9, which removedsphinx.util.ENOENT(found when building the docs on Python 3.13 after the dependency migration).This switches
docs/requirements.txtto the maintained fork atgithub.com/wenh06/tikz2:sphinxcontrib.tikzextension module name, soconf.pyis unchanged;ENOENTfromerrnoand supports both the old and new locations ofsphinx.util.osutil.ensuredir;Validation
make gettext: completes (previously crashed with the PyPI snapshot under Sphinx 9.2.0).proximal.rst) render as SVGs in both languages.i18n.inconsistent_referencesnotices on old theory-page translations, unchanged from master.