Skip to content

Commit 9e8540f

Browse files
authored
docs: remove doc/en/links.inc (#6853)
1 parent 19bb2c6 commit 9e8540f

File tree

9 files changed

+7
-36
lines changed

9 files changed

+7
-36
lines changed

doc/en/capture.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,3 @@ as a context manager, disabling capture inside the ``with`` block:
168168
with capsys.disabled():
169169
print("output not captured, going directly to sys.stdout")
170170
print("this output is also captured")
171-
172-
.. include:: links.inc

doc/en/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
# List of patterns, relative to source directory, that match files and
8484
# directories to ignore when looking for source files.
8585
exclude_patterns = [
86-
"links.inc",
8786
"_build",
8887
"naming20.rst",
8988
"test/*",

doc/en/existingtestsuite.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,3 @@ reinstall every time you want to run your tests, and is less brittle than
3232
mucking about with sys.path to point your tests at local code.
3333

3434
Also consider using :ref:`tox <use tox>`.
35-
36-
.. include:: links.inc

doc/en/faq.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,6 @@ As of mid-2013, there shouldn't be a problem anymore when you
153153
use the standard setuptools (note that distribute has been merged
154154
back into setuptools which is now shipped directly with virtualenv).
155155

156-
.. include:: links.inc
156+
.. _nose: https://nose.readthedocs.io/en/latest/
157+
.. _pylib: https://py.readthedocs.io/en/latest/
158+
.. _`xUnit style setup`: xunit_setup.html

doc/en/getting-started.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,5 +203,3 @@ Check out additional pytest resources to help you customize tests for your uniqu
203203
* ":ref:`fixtures`" for providing a functional baseline to your tests
204204
* ":ref:`plugins`" for managing and writing plugins
205205
* ":ref:`goodpractices`" for virtualenv and test layouts
206-
207-
.. include:: links.inc

doc/en/goodpractices.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,5 +232,4 @@ options. It will run tests against the installed package and not
232232
against your source code checkout, helping to detect packaging
233233
glitches.
234234

235-
236-
.. include:: links.inc
235+
.. _`venv`: https://docs.python.org/3/library/venv.html

doc/en/links.inc

Lines changed: 0 additions & 22 deletions
This file was deleted.

doc/en/nose.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
Running tests written for nose
44
=======================================
55

6-
.. include:: links.inc
7-
86
``pytest`` has basic support for running tests written for nose_.
97

108
.. _nosestyle:
@@ -72,3 +70,5 @@ Unsupported idioms / known issues
7270
There are no plans to fix this currently because ``yield``-tests
7371
are deprecated in pytest 3.0, with ``pytest.mark.parametrize``
7472
being the recommended alternative.
73+
74+
.. _nose: https://nose.readthedocs.io/en/latest/

doc/en/usage.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,5 +831,4 @@ hook was invoked:
831831
multiple calls to ``pytest.main()`` from the same process (in order to re-run
832832
tests, for example) is not recommended.
833833

834-
835-
.. include:: links.inc
834+
.. _jenkins: http://jenkins-ci.org/

0 commit comments

Comments
 (0)