Browse Source

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
pull/9972/head
Stéphane Wirtel 7 years ago
committed by Kushal Das
parent
commit
cbb6484573
  1. 2
      Doc/c-api/abstract.rst
  2. 2
      Doc/c-api/allocation.rst
  3. 2
      Doc/c-api/apiabiversion.rst
  4. 2
      Doc/c-api/arg.rst
  5. 2
      Doc/c-api/bool.rst
  6. 2
      Doc/c-api/buffer.rst
  7. 2
      Doc/c-api/bytearray.rst
  8. 2
      Doc/c-api/bytes.rst
  9. 2
      Doc/c-api/capsule.rst
  10. 2
      Doc/c-api/cell.rst
  11. 2
      Doc/c-api/code.rst
  12. 2
      Doc/c-api/complex.rst
  13. 2
      Doc/c-api/concrete.rst
  14. 2
      Doc/c-api/contextvars.rst
  15. 2
      Doc/c-api/conversion.rst
  16. 2
      Doc/c-api/coro.rst
  17. 2
      Doc/c-api/datetime.rst
  18. 2
      Doc/c-api/descriptor.rst
  19. 2
      Doc/c-api/dict.rst
  20. 2
      Doc/c-api/exceptions.rst
  21. 2
      Doc/c-api/file.rst
  22. 2
      Doc/c-api/float.rst
  23. 2
      Doc/c-api/function.rst
  24. 2
      Doc/c-api/gcsupport.rst
  25. 2
      Doc/c-api/gen.rst
  26. 2
      Doc/c-api/import.rst
  27. 2
      Doc/c-api/init.rst
  28. 2
      Doc/c-api/intro.rst
  29. 2
      Doc/c-api/iter.rst
  30. 2
      Doc/c-api/iterator.rst
  31. 2
      Doc/c-api/list.rst
  32. 2
      Doc/c-api/long.rst
  33. 2
      Doc/c-api/mapping.rst
  34. 2
      Doc/c-api/marshal.rst
  35. 2
      Doc/c-api/memory.rst
  36. 2
      Doc/c-api/memoryview.rst
  37. 2
      Doc/c-api/method.rst
  38. 2
      Doc/c-api/module.rst
  39. 2
      Doc/c-api/none.rst
  40. 2
      Doc/c-api/number.rst
  41. 2
      Doc/c-api/objbuffer.rst
  42. 2
      Doc/c-api/object.rst
  43. 2
      Doc/c-api/objimpl.rst
  44. 2
      Doc/c-api/refcounting.rst
  45. 2
      Doc/c-api/reflection.rst
  46. 2
      Doc/c-api/sequence.rst
  47. 2
      Doc/c-api/set.rst
  48. 2
      Doc/c-api/slice.rst
  49. 2
      Doc/c-api/stable.rst
  50. 2
      Doc/c-api/structures.rst
  51. 2
      Doc/c-api/sys.rst
  52. 2
      Doc/c-api/tuple.rst
  53. 2
      Doc/c-api/type.rst
  54. 2
      Doc/c-api/typeobj.rst
  55. 2
      Doc/c-api/unicode.rst
  56. 2
      Doc/c-api/utilities.rst
  57. 2
      Doc/c-api/veryhigh.rst
  58. 2
      Doc/c-api/weakref.rst
  59. 6
      Doc/extending/building.rst
  60. 2
      Doc/extending/embedding.rst
  61. 2
      Doc/extending/extending.rst
  62. 2
      Doc/extending/newtypes.rst
  63. 2
      Doc/extending/newtypes_tutorial.rst
  64. 2
      Doc/extending/windows.rst
  65. 2
      Doc/faq/windows.rst
  66. 2
      Doc/howto/clinic.rst
  67. 2
      Doc/howto/cporting.rst
  68. 2
      Doc/install/index.rst
  69. 2
      Doc/installing/index.rst
  70. 2
      Doc/library/site.rst
  71. 2
      Doc/license.rst
  72. 2
      Doc/using/cmdline.rst
  73. 2
      Doc/using/unix.rst
  74. 2
      Doc/using/windows.rst

2
Doc/c-api/abstract.rst

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

2
Doc/c-api/allocation.rst

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

2
Doc/c-api/apiabiversion.rst

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

2
Doc/c-api/arg.rst

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

2
Doc/c-api/bool.rst

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

2
Doc/c-api/buffer.rst

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

2
Doc/c-api/bytearray.rst

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

2
Doc/c-api/bytes.rst

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

2
Doc/c-api/capsule.rst

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

2
Doc/c-api/cell.rst

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

2
Doc/c-api/code.rst

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

2
Doc/c-api/complex.rst

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

2
Doc/c-api/concrete.rst

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

2
Doc/c-api/contextvars.rst

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

2
Doc/c-api/conversion.rst

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

2
Doc/c-api/coro.rst

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

2
Doc/c-api/datetime.rst

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

2
Doc/c-api/descriptor.rst

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

2
Doc/c-api/dict.rst

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

2
Doc/c-api/exceptions.rst

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

2
Doc/c-api/file.rst

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

2
Doc/c-api/float.rst

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

2
Doc/c-api/function.rst

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

2
Doc/c-api/gcsupport.rst

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

2
Doc/c-api/gen.rst

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

2
Doc/c-api/import.rst

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

2
Doc/c-api/init.rst

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

2
Doc/c-api/intro.rst

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

2
Doc/c-api/iter.rst

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

2
Doc/c-api/iterator.rst

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

2
Doc/c-api/list.rst

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

2
Doc/c-api/long.rst

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

2
Doc/c-api/mapping.rst

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

2
Doc/c-api/marshal.rst

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

2
Doc/c-api/memory.rst

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

2
Doc/c-api/memoryview.rst

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

2
Doc/c-api/method.rst

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

2
Doc/c-api/module.rst

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

2
Doc/c-api/none.rst

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

2
Doc/c-api/number.rst

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

2
Doc/c-api/objbuffer.rst

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

2
Doc/c-api/object.rst

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

2
Doc/c-api/objimpl.rst

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

2
Doc/c-api/refcounting.rst

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

2
Doc/c-api/reflection.rst

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

2
Doc/c-api/sequence.rst

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

2
Doc/c-api/set.rst

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

2
Doc/c-api/slice.rst

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

2
Doc/c-api/stable.rst

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

2
Doc/c-api/structures.rst

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

2
Doc/c-api/sys.rst

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

2
Doc/c-api/tuple.rst

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

2
Doc/c-api/type.rst

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

2
Doc/c-api/typeobj.rst

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

2
Doc/c-api/unicode.rst

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

2
Doc/c-api/utilities.rst

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

2
Doc/c-api/veryhigh.rst

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

2
Doc/c-api/weakref.rst

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

6
Doc/extending/building.rst

@ -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
============================================

2
Doc/extending/embedding.rst

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

2
Doc/extending/extending.rst

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

2
Doc/extending/newtypes.rst

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

2
Doc/extending/newtypes_tutorial.rst

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

2
Doc/extending/windows.rst

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

2
Doc/faq/windows.rst

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

2
Doc/howto/clinic.rst

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

2
Doc/howto/cporting.rst

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

2
Doc/install/index.rst

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

2
Doc/installing/index.rst

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

2
Doc/library/site.rst

@ -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.

2
Doc/license.rst

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

2
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.

2
Doc/using/unix.rst

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

2
Doc/using/windows.rst

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

Loading…
Cancel
Save