summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJean Abou-Samra <jean@abou-samra.fr>2022-05-13 06:42:46 +0200
committerGitHub <noreply@github.com>2022-05-13 06:42:46 +0200
commitc4dcc93f6c16a0be102eae12a0c393a6eadf0a49 (patch)
tree0673b89eb897f334309e200877e27839c30e3f33 /doc
parent25d752c991d22d0da59f6d4898c843bd922b7473 (diff)
downloadpygments-git-c4dcc93f6c16a0be102eae12a0c393a6eadf0a49.tar.gz
Fix most warnings in Sphinx build (#2124)
* Fix most warnings in Sphinx build Note that some invalid references are simply removed because the lexers are all in the same section, so the link is already easy to find and there is no need to repeat it over and over. * fixup: Add orphan languages.rst to allow referencing * Typos
Diffstat (limited to 'doc')
-rw-r--r--doc/languages.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/languages.rst b/doc/languages.rst
new file mode 100644
index 00000000..a39b94f1
--- /dev/null
+++ b/doc/languages.rst
@@ -0,0 +1,5 @@
+:orphan:
+
+This file is overridden by _templates/languages.html and just exists to
+allow the language list to be reliably linked from the documentation
+(since its location varies between `make html` and `make dirhtml`).