summaryrefslogtreecommitdiff
path: root/sphinx/transforms/post_transforms/code.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-04-06 23:11:39 +0100
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-04-06 23:11:39 +0100
commit7ecf0372809825b97082a73587b3c27660db01a7 (patch)
tree20163c51f9a454be529db79e20cf341ffded8443 /sphinx/transforms/post_transforms/code.py
parentb2349254fcb1f852ba62bd1f81f22783271bac34 (diff)
downloadsphinx-git-7ecf0372809825b97082a73587b3c27660db01a7.tar.gz
Enable 'nit-picky mode' for Sphinx's documentation
Fix several reference errors throughout the documentation and set ``nitpick_ignore`` in ``doc/conf.py``.
Diffstat (limited to 'sphinx/transforms/post_transforms/code.py')
-rw-r--r--sphinx/transforms/post_transforms/code.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/transforms/post_transforms/code.py b/sphinx/transforms/post_transforms/code.py
index a5b71991f..434b38ed9 100644
--- a/sphinx/transforms/post_transforms/code.py
+++ b/sphinx/transforms/post_transforms/code.py
@@ -26,7 +26,7 @@ class HighlightLanguageTransform(SphinxTransform):
Apply highlight_language to all literal_block nodes.
This refers both :confval:`highlight_language` setting and
- :rst:dir:`highlightlang` directive. After processing, this transform
+ :rst:dir:`highlight` directive. After processing, this transform
removes ``highlightlang`` node from doctree.
"""
default_priority = 400