Skip to content

Commit d3a4313

Browse files
author
Matthias Koeppe
committed
src/doc/en/developer/coding_basics.rst: Fix markup, break long lines
1 parent 81741c5 commit d3a4313

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/doc/en/developer/coding_basics.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ included in one of the following places:
157157
location as the Python code. This is referred to as "package data".
158158

159159
The preferred way to access the data from Python is using the
160-
`importlib.resources API <https://importlib-resources.readthedocs.io/en/latest/using.html>`,
160+
`importlib.resources API
161+
<https://importlib-resources.readthedocs.io/en/latest/using.html>`_,
161162
in particular the function :func:`importlib.resources.files`.
162163
Using it, you can:
163164

@@ -203,9 +204,11 @@ is proposed to do the following:
203204

204205
- add metadata to the repository that make it a pip-installable
205206
package (distribution package), as explained for example in the
206-
`Python Packaging User Guide <https://packaging.python.org/en/latest/tutorials/packaging-projects/>`_,
207+
`Python Packaging User Guide
208+
<https://packaging.python.org/en/latest/tutorials/packaging-projects/>`_,
207209

208-
- `upload it to PyPI <https://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-the-distribution-archives>`_,
210+
- `upload it to PyPI
211+
<https://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-the-distribution-archives>`_,
209212

210213
- create metadata in ``SAGE_ROOT/build/pkgs`` that make your new
211214
pip-installable package known to Sage; see :ref:`chapter-packaging`.

0 commit comments

Comments
 (0)