Skip to content

Commit fbd82b4

Browse files
author
Ned Batchelder
committed
a central links file
This makes it easier to move content around without worrying about where the links are defined. It will also be easier to have canonical links that can be used from multiple places in the guide.
1 parent fab13b9 commit fbd82b4

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

getting-started/setup-building.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -784,9 +784,6 @@ some of CPython's modules (for example, ``zlib``).
784784
to the `macOS README
785785
<https://github.com/python/cpython/blob/main/Mac/README.rst>`_.
786786

787-
.. _clang: https://clang.llvm.org/
788-
.. _ccache: https://ccache.dev/
789-
790787
.. note:: While you need a C compiler to build CPython, you don't need any
791788
knowledge of the C language to contribute! Vast areas of CPython are
792789
written completely in Python: as of this writing, CPython contains slightly
@@ -1001,8 +998,6 @@ every rule.
1001998
Various tools that are (or have been) used to maintain Python.
1002999

10031000

1004-
.. _issue tracker: https://github.com/python/cpython/issues
1005-
10061001

10071002
.. _using-codespaces:
10081003

@@ -1071,3 +1066,6 @@ power may be a much higher spec than your local machine which can be helpful.
10711066

10721067

10731068
.. TODO: add docker instructions
1069+
1070+
1071+
.. include:: ../links.rst

links.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. Links for use anywhere. Include this file to use them.
2+
3+
.. _issue tracker: https://github.com/python/cpython/issues
4+
5+
.. _clang: https://clang.llvm.org/
6+
.. _ccache: https://ccache.dev/

0 commit comments

Comments
 (0)