Fix grammatical mistakes in sphinx.ext.viewcode documentation (#14505)

This commit is contained in:
Jonathan Dung
2026-06-30 18:10:10 +02:00
committed by GitHub
parent 581c0860df
commit c1b618c559
+4 -4
View File
@@ -64,19 +64,19 @@ Configuration
is not preferred as epub format.
Until 1.4.x, this extension is always enabled. If you want to generate
epub as same as 1.4.x, you should set ``True``, but epub format checker's
score becomes worse.
epub as same as 1.4.x, you should set this to ``True``, but epub format
checker's score worsens.
.. versionadded:: 1.5
.. warning::
Not all epub readers support pages generated by viewcode extension.
These readers ignore links to pages are not under toctree.
These readers ignore links to pages that are not under any toctree.
Some reader's rendering result are corrupted and
`epubcheck <https://github.com/IDPF/epubcheck>`_'s score
becomes worse even if the reader supports.
becomes worse even if the reader supports these pages.
.. confval:: viewcode_line_numbers
:type: :code-py:`bool`