diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 511d24da4fb7ff..55c05096ae91d0 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -1800,7 +1800,7 @@ is not possible due to its implementation being opaque at build time. .. note:: A freed key becomes a dangling pointer. You should reset the key to - `NULL`. + ``NULL``. Methods diff --git a/Doc/library/asyncio-api-index.rst b/Doc/library/asyncio-api-index.rst index 54c1cd6582e494..ad475150fe7d91 100644 --- a/Doc/library/asyncio-api-index.rst +++ b/Doc/library/asyncio-api-index.rst @@ -57,7 +57,7 @@ await on multiple things with timeouts. - Monitor for completion. * - :func:`timeout` - - Run with a timeout. Useful in cases when `wait_for` is not suitable. + - Run with a timeout. Useful in cases when ``wait_for`` is not suitable. * - :func:`to_thread` - Asynchronously run a function in a separate OS thread. diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index 5012150b86cefa..843513c5fc54ab 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -391,7 +391,7 @@ Pure paths provide the following methods and properties: If you want to walk an arbitrary filesystem path upwards, it is recommended to first call :meth:`Path.resolve` so as to resolve - symlinks and eliminate `".."` components. + symlinks and eliminate ``".."`` components. .. data:: PurePath.name diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index dee5bd879db5b5..51b9e38b7b6ce9 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -829,7 +829,7 @@ Instances of the :class:`Popen` class have the following methods: On Windows, SIGTERM is an alias for :meth:`terminate`. CTRL_C_EVENT and CTRL_BREAK_EVENT can be sent to processes started with a *creationflags* - parameter which includes `CREATE_NEW_PROCESS_GROUP`. + parameter which includes ``CREATE_NEW_PROCESS_GROUP``. .. method:: Popen.terminate() diff --git a/Doc/requirements.txt b/Doc/requirements.txt index 7f82dc32113a9d..958665db69e227 100644 --- a/Doc/requirements.txt +++ b/Doc/requirements.txt @@ -7,10 +7,7 @@ sphinx==4.5.0 blurb -# sphinx-lint 0.6.2 yields many default role errors due to the new regular -# expression used for default role detection, so we don't use the version -# until the errors are fixed. -sphinx-lint==0.6.4 +sphinx-lint==0.6.7 # The theme used by the documentation is stored separately, so we need # to install that as well.