summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorStéphane Wirtel <stephane@wirtel.be>2019-05-17 09:55:34 (GMT)
committerKushal Das <mail@kushaldas.in>2019-05-17 09:55:34 (GMT)
commitcbb6484573ae2058e55614b28d73b0c8478f9a70 (patch)
tree2279089fb2343dd0a23262c8f69a30cf6e56bce6 /Doc/using
parentfed02e15b39b6f1521ea21654be5fc0757a8720a (diff)
downloadcpython-cbb6484573ae2058e55614b28d73b0c8478f9a70.zip
cpython-cbb6484573ae2058e55614b28d73b0c8478f9a70.tar.gz
cpython-cbb6484573ae2058e55614b28d73b0c8478f9a70.tar.bz2
Doc: Replace the deprecated highlightlang directive by highlight. (#13377)
highlightlang is deprecated since April 2018 in Sphinx. See https://github.com/sphinx-doc/sphinx/pull/4845
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/cmdline.rst2
-rw-r--r--Doc/using/unix.rst2
-rw-r--r--Doc/using/windows.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 5ae3cc8..87af7e8 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -1,4 +1,4 @@
-.. highlightlang:: sh
+.. highlight:: sh
.. ATTENTION: You probably should update Misc/python.man, too, if you modify
this file.
diff --git a/Doc/using/unix.rst b/Doc/using/unix.rst
index 31cf87c..021f0d3 100644
--- a/Doc/using/unix.rst
+++ b/Doc/using/unix.rst
@@ -1,4 +1,4 @@
-.. highlightlang:: sh
+.. highlight:: sh
.. _using-on-unix:
diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst
index 1f8eb16..44b646f 100644
--- a/Doc/using/windows.rst
+++ b/Doc/using/windows.rst
@@ -1,4 +1,4 @@
-.. highlightlang:: none
+.. highlight:: none
.. _using-on-windows: