Skip to content

Commit acf862d

Browse files
committed
ending with developer
1 parent 44832fa commit acf862d

File tree

5 files changed

+12
-20
lines changed

5 files changed

+12
-20
lines changed

src/doc/en/developer/downstream.rst

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ Packaging SageMath Downstream
55
This document is intended for downstream maintainers (e.g., Linux distribution
66
package maintainers) who wish to create redistributable builds of Sage.
77

8-
.. contents::
9-
:local:
10-
:depth: 2
11-
128
Dependencies
139
============
1410

@@ -44,29 +40,27 @@ Build Procedure
4440
$ git clone https://github.com/sagemath/sage.git
4541
4642
Alternatively, download the sdist tarball from the
47-
`SageMath PyPI project<https://pypi.org/project/sagemath/>`_ or from the
43+
`SageMath PyPI project <https://pypi.org/project/sagemath/>`_ or from the
4844
`GitHub releases <https://github.com/sagemath/sage/releases>`_.
4945

5046
2. **Prepare the Build Environment**:
5147
Ensure a clean and consistent build environment with access to all
5248
required system libraries and Python packages.
5349

5450
3. **Build**:
55-
5651
Create a wheel using the ``build`` module:
5752

5853
.. code-block:: console
5954
6055
$ python -m build --wheel --no-isolation
6156
6257
If you are sure that all dependencies are available, you may also add the
63-
`--skip-dependency-check` option.
58+
``--skip-dependency-check`` option.
6459
Moreover, if you care about reproducible builds, it is recommended to
65-
use `-Cbuild-dir=build` to specify a build directory, see this
60+
use ``-Cbuild-dir=build`` to specify a build directory, see this
6661
`Meson-Python issue <https://github.com/mesonbuild/meson-python/issues/671>`_.
6762

6863
4. **Install**:
69-
7064
The resulting wheel can be installed using
7165

7266
.. code-block:: console
@@ -77,7 +71,6 @@ Build Procedure
7771
(usually a temporary directory for packaging).
7872

7973
4. **Test the Build**:
80-
8174
Run the Sage tests to ensure functionality:
8275

8376
.. code-block:: console

src/doc/en/developer/git_advanced.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,7 @@ top of that, deleted a file and committed that
253253
$ git commit -m "I shot myself into my foot"
254254
255255
Now we cannot just checkout the repository from before the reset,
256-
because it is no longer in the history. However, here is the reflog::
257-
256+
because it is no longer in the history. However, here is the reflog
258257

259258
.. code-block:: console
260259

src/doc/en/developer/packaging_sage_library.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,17 +143,17 @@ The source directory of a distribution package, such as
143143
source files. Sage provides a tool ``sage --fixdistributions``
144144
that assists with this task. For example
145145

146-
.. code-block:: console
146+
.. code-block:: console
147147
148-
$ ./sage --fixdistributions --set sagemath-polyhedra \
149-
src/sage/geometry/polyhedron/base*.py
148+
$ ./sage --fixdistributions --set sagemath-polyhedra \
149+
src/sage/geometry/polyhedron/base*.py
150150
151151
adds or updates the directives in the specified files; and
152152

153-
.. code-block:: console
153+
.. code-block:: console
154154
155-
$ ./sage --fixdistributions --add sagemath-polyhedra \
156-
src/sage/geometry/polyhedron
155+
$ ./sage --fixdistributions --add sagemath-polyhedra \
156+
src/sage/geometry/polyhedron
157157
158158
adds the directive to all files in the given directory that do not
159159
include a directive yet.

src/doc/en/developer/portability_testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ this is slightly simplified
388388
# Automatically generated by write-dockerfile.sh
389389
# the :comments: separate the generated file into sections
390390
# to simplify writing scripts that customize this file
391-
...
391+
...
392392
393393
First, it instructs ``docker build`` to start from an existing base
394394
image...::

src/doc/en/developer/walkthrough.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you are in a hurry, you can skip the details and just follow these steps:
3838
$ conda env create --file environment-3.12-linux.yml --name sage-dev
3939
$ conda activate sage-dev
4040
41-
Replace ``environment-3.12-linux.yml`` with the appropriate file for your system.
41+
Replace ``environment-3.12-linux.yml`` with the appropriate file for your system.
4242

4343
5. Build and install Sage
4444

0 commit comments

Comments
 (0)