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
This commit is contained in:
Stéphane Wirtel 2019-05-17 11:55:34 +02:00 committed by Kushal Das
parent fed02e15b3
commit cbb6484573
74 changed files with 76 additions and 76 deletions

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _abstract:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _allocating-objects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _apiabiversion:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _arg-parsing:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _boolobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. index::
single: buffer protocol

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _bytearrayobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _bytesobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _capsules:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _cell-objects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _codeobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _complexobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _concrete:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _contextvarsobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _string-conversion:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _coro-objects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _datetimeobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _descriptor-objects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _dictobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _exceptionhandling:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _fileobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _floatobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _function-objects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _supporting-cycle-detection:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _gen-objects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _importing:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _initialization:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _api-intro:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _iterator:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _iterator-objects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _listobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _longobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _mapping:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _marshalling-utils:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _memory:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _memoryview-objects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _instancemethod-objects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _moduleobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _noneobject:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _number:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
Old Buffer Protocol
-------------------

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _object:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _newtypes:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _countingrefs:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _reflection:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _sequence:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _setobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _slice-objects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _stable:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _common-structs:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _os:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _tupleobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _typeobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _type-structs:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _unicodeobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _utilities:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _veryhigh:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _weakrefobjects:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _building:
@ -20,7 +20,7 @@ The initialization function has the signature:
It returns either a fully-initialized module, or a :c:type:`PyModuleDef`
instance. See :ref:`initializing-modules` for details.
.. highlightlang:: python
.. highlight:: python
For modules with ASCII-only names, the function must be named
``PyInit_<modulename>``, with ``<modulename>`` replaced by the name of the
@ -43,7 +43,7 @@ function corresponding to the filename is found.
See the *"Multiple modules in one library"* section in :pep:`489` for details.
.. highlightlang:: c
.. highlight:: c
Building C and C++ Extensions with distutils
============================================

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _embedding:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _extending-intro:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _new-types-topics:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _defining-new-types:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _building-on-windows:

View File

@ -1,6 +1,6 @@
:tocdepth: 2
.. highlightlang:: none
.. highlight:: none
.. _windows-faq:

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
**********************
Argument Clinic How-To

View File

@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c
.. _cporting-howto:

View File

@ -1,4 +1,4 @@
.. highlightlang:: none
.. highlight:: none
.. _install-index:

View File

@ -1,4 +1,4 @@
.. highlightlang:: none
.. highlight:: none
.. _installing-index:

View File

@ -8,7 +8,7 @@
--------------
.. highlightlang:: none
.. highlight:: none
**This module is automatically imported during initialization.** The automatic
import can be suppressed using the interpreter's :option:`-S` option.

View File

@ -1,4 +1,4 @@
.. highlightlang:: none
.. highlight:: none
.. _history-and-license:

View File

@ -1,4 +1,4 @@
.. highlightlang:: sh
.. highlight:: sh
.. ATTENTION: You probably should update Misc/python.man, too, if you modify
this file.

View File

@ -1,4 +1,4 @@
.. highlightlang:: sh
.. highlight:: sh
.. _using-on-unix:

View File

@ -1,4 +1,4 @@
.. highlightlang:: none
.. highlight:: none
.. _using-on-windows: