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
When building the documentation with Sphinx 8.1.3, the build breaks with a bizarre warning/error message:
$ sphinx-build -W -b html docs docs/_build/html
Running Sphinx v8.1.3
root = PosixPath('/home/jdg/debian/spyder-packages/jupyter-server/build-area/sphinx-mdinclude-0.6.2')
loading translations [en]... done
making output directory... done
loading intersphinx inventory 'python' from /usr/share/doc/python3/html/objects.inv ...
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 4 source files that are out of date
updating environment: [new config] 4 added, 0 changed, 0 removed
reading sources... [ 25%] changelog
reading sources... [ 50%] example
reading sources... [ 75%] included
reading sources... [100%] index
/home/jdg/debian/spyder-packages/jupyter-server/build-area/sphinx-mdinclude-0.6.2/docs/example.md:233: WARNING: Footnote [#] is not referenced. [ref.footnote]
/home/jdg/debian/spyder-packages/jupyter-server/build-area/sphinx-mdinclude-0.6.2/docs/example.md:234: WARNING: Footnote [#] is not referenced. [ref.footnote]
looking for now-outdated files... none found
[...]
build finished with problems, 2 warnings (with warnings treated as errors).
The bizarre nature of the error is that there is no such footnote in the file. Also, if I look at the example.html file generated by an older version of Sphinx (7.4.7), it seems possibly broken (the first two markdown footnotes are not hyperlinked):
<sectionid="footnote"><h3>Footnote<aclass="headerlink" href="#footnote" title="Link to this heading">
¶</a></h3><p>Footnote[#fn-1]_ and footnote[#fn-KEY]_ with markdown.</p><p>Footnote with reST<aclass="footnote-reference brackets" href="#a" id="id3" role="doc-noteref"><spanclass="fn-bracket">[</span>1<spanclass="fn-bracket">]</span></a>.</p><!-- footnote definition --><asideclass="footnote-list brackets"><asideclass="footnote brackets" id="a" role="doc-footnote"><spanclass="label"><spanclass="fn-bracket">[</span><arole="doc-backlink" href="#id3">1</a><spanclass="fn-bracket">]</span></span><p>reST footnote</p></aside><asideclass="footnote brackets" id="fn-1" role="doc-footnote"><spanclass="label"><spanclass="fn-bracket">[</span>2<spanclass="fn-bracket">]</span></span><p>footnote 1</p></aside><asideclass="footnote brackets" id="fn-key" role="doc-footnote"><spanclass="label"><spanclass="fn-bracket">[</span>3<spanclass="fn-bracket">]</span></span><p>footnote key</p></aside></aside></section></section></section>
The cause certainly seems to be the Markdown style footnotes, but I have no idea why they are so problematic.
The text was updated successfully, but these errors were encountered:
Description
When building the documentation with Sphinx 8.1.3, the build breaks with a bizarre warning/error message:
The bizarre nature of the error is that there is no such footnote in the file. Also, if I look at the example.html file generated by an older version of Sphinx (7.4.7), it seems possibly broken (the first two markdown footnotes are not hyperlinked):
The cause certainly seems to be the Markdown style footnotes, but I have no idea why they are so problematic.
The text was updated successfully, but these errors were encountered: