File tree Expand file tree Collapse file tree 4 files changed +18
-18
lines changed Expand file tree Collapse file tree 4 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -93,12 +93,11 @@ to be given as well.
93
93
Porting recommendations
94
94
-----------------------
95
95
96
- Since end of life of Python 2 is coming in a few years,
97
- projects are strongly urged to make their code compatible with Python 3.
98
- General instructions for this are provided `in Python documentation `_ and in
99
- the `Conservative porting guide `_.
96
+ Since end of life of Python 2 is coming in a few years, projects are strongly
97
+ urged to make their code compatible with Python 3. General instructions for
98
+ this are provided :ref: `in Python documentation < pyporting-howto >` and in the
99
+ `Conservative porting guide `_.
100
100
101
- .. _in Python documentation : https://docs.python.org/3/howto/pyporting.html
102
101
.. _Conservative porting guide : https://portingguide.readthedocs.io/en/latest/
103
102
104
103
Original file line number Diff line number Diff line change 31
31
32
32
# Add any Sphinx extension module names here, as strings. They can be extensions
33
33
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
34
- extensions = ['sphinx.ext.autodoc' ]
34
+ extensions = [
35
+ 'sphinx.ext.autodoc' ,
36
+ 'sphinx.ext.intersphinx' ,
37
+ ]
35
38
36
39
try :
37
40
import sphinxcontrib .spelling
148
151
149
152
# If false, no module index is generated.
150
153
latex_use_modindex = True
154
+
155
+ intersphinx_mapping = {'python' : ('https://docs.python.org/3' , None )}
Original file line number Diff line number Diff line change @@ -99,10 +99,8 @@ From a source repository::
99
99
If you have more than one Python interpreter installed locally, you should
100
100
use the same one you plan to use python-ldap with.
101
101
102
- Further instructions can be found in `Setuptools documentation `_.
103
-
104
-
105
- .. _Setuptools documentation : https://docs.python.org/3/distributing/index.html
102
+ Further instructions can be found in :ref: `Setuptools documentation
103
+ <distributing-index>`.
106
104
107
105
108
106
.. _build prerequisites :
@@ -169,11 +167,10 @@ Packages for building and testing::
169
167
setup.cfg
170
168
=========
171
169
172
- The file setup.cfg allows to set some build and installation
173
- parameters for reflecting the local installation of required
174
- software packages. Only section ``[_ldap] `` is described here.
175
- More information about other sections can be found in
176
- `Setuptools documentation `_.
170
+ The file setup.cfg allows to set some build and installation parameters for
171
+ reflecting the local installation of required software packages. Only section
172
+ ``[_ldap] `` is described here. More information about other sections can be
173
+ found in :ref: `Setuptools documentation <distributing-index >`.
177
174
178
175
.. data :: library_dirs
179
176
Original file line number Diff line number Diff line change @@ -26,15 +26,14 @@ Clone the repository::
26
26
$ git clone https://github.com/python-ldap/python-ldap
27
27
$ cd python-ldap
28
28
29
- Create a `virtual environment `_ to ensure you in-development python-ldap won't
30
- affect the rest of your system::
29
+ Create a :mod: `virtual environment <venv> ` to ensure you in-development
30
+ python-ldap won't affect the rest of your system::
31
31
32
32
$ python3 -m venv __venv__
33
33
34
34
(For Python 2, install `virtualenv `_ and use it instead of ``python3 -m venv ``.)
35
35
36
36
.. _git : https://git-scm.com/
37
- .. _virtual environment : https://docs.python.org/3/library/venv.html
38
37
.. _virtualenv : https://virtualenv.pypa.io/en/stable/
39
38
40
39
Activate the virtual environment::
You can’t perform that action at this time.
0 commit comments