Skip to content

Commit 6045e5c

Browse files
author
Matthias Koeppe
committed
src/doc/en/developer/coding_basics.rst: Fix markup, break long lines
1 parent 3cfab54 commit 6045e5c

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
@@ -161,7 +161,8 @@ included in one of the following places:
161161
location as the Python code. This is referred to as "package data".
162162

163163
The preferred way to access the data from Python is using the
164-
`importlib.resources API <https://importlib-resources.readthedocs.io/en/latest/using.html>`,
164+
`importlib.resources API
165+
<https://importlib-resources.readthedocs.io/en/latest/using.html>`_,
165166
in particular the function :func:`importlib.resources.files`.
166167
Using it, you can:
167168

@@ -207,9 +208,11 @@ is proposed to do the following:
207208

208209
- add metadata to the repository that make it a pip-installable
209210
package (distribution package), as explained for example in the
210-
`Python Packaging User Guide <https://packaging.python.org/en/latest/tutorials/packaging-projects/>`_,
211+
`Python Packaging User Guide
212+
<https://packaging.python.org/en/latest/tutorials/packaging-projects/>`_,
211213

212-
- `upload it to PyPI <https://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-the-distribution-archives>`_,
214+
- `upload it to PyPI
215+
<https://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-the-distribution-archives>`_,
213216

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

0 commit comments

Comments
 (0)