mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
doc: Remove mention about py2
This commit is contained in:
@@ -340,9 +340,6 @@ inserting them into the page source under a suitable :rst:dir:`py:module`,
|
||||
a decorator replaces the decorated function with another, it must copy the
|
||||
original ``__doc__`` to the new function.
|
||||
|
||||
From Python 2.5, :func:`functools.wraps` can be used to create
|
||||
well-behaved decorating functions.
|
||||
|
||||
|
||||
Configuration
|
||||
-------------
|
||||
|
||||
@@ -23,8 +23,7 @@ Linux
|
||||
Debian/Ubuntu
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
Install either ``python3-sphinx`` (Python 3) or ``python-sphinx`` (Python 2)
|
||||
using :command:`apt-get`:
|
||||
Install either ``python3-sphinx`` using :command:`apt-get`:
|
||||
|
||||
::
|
||||
|
||||
@@ -77,8 +76,7 @@ __ https://formulae.brew.sh/formula/sphinx-doc
|
||||
MacPorts
|
||||
~~~~~~~~
|
||||
|
||||
Install either ``python36-sphinx`` (Python 3) or ``python27-sphinx`` (Python 2)
|
||||
using :command:`port`:
|
||||
Install either ``python36-sphinx`` using :command:`port`:
|
||||
|
||||
::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user