You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adds "reproducible" to glossary
* Adds glossary entries from #10071
* Make "webhook" respect a-z
* Improve reproducible entry
* Simplify the definition so its easier to understand
* Move root URL so it's a-z
* Remove "profile page"
* Add "pinning" to glossary
* Apply suggestions from @stsewd and @humitos code review
Co-authored-by: Manuel Kaufmann <[email protected]>
Co-authored-by: Santos Gallegos <[email protected]>
* Update docs/user/glossary.rst
Co-authored-by: Manuel Kaufmann <[email protected]>
* Put defining sentence first
* Add some references to new glossary entries
* Put definition first
* Add more references to pinning
---------
Co-authored-by: Manuel Kaufmann <[email protected]>
Co-authored-by: Santos Gallegos <[email protected]>
To ensure proper installation of a Python package, the ``pip`` :ref:`install method <config-file/v2:python.install>` will automatically upgrade every dependency to its most recent version in case they aren'tpinned by the package definition.
357
+
To ensure proper installation of a Python package, the ``pip`` :ref:`install method <config-file/v2:python.install>` will automatically upgrade every dependency to its most recent version in case they aren't:term:`pinned <pinning>` by the package definition.
358
358
If instead you'd like to pin your dependencies outside the package, you can add this line to your requirements or environment file (if you are using Conda).
Copy file name to clipboardExpand all lines: docs/user/guides/reproducible-builds.rst
+4-5
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ How to create reproducible builds
2
2
=================================
3
3
4
4
Your documentation depends on a number of dependencies to be built.
5
-
If your docs don't have reproducible builds,
5
+
If your docs don't have :term:`reproducible` builds,
6
6
an update in a dependency can break your builds when least expected,
7
7
or make your docs look different from your local version.
8
8
This guide will help you to keep your builds working over time,
@@ -15,7 +15,6 @@ so that you can focus on content.
15
15
Use a ``.readthedocs.yaml`` configuration file
16
16
----------------------------------------------
17
17
18
-
19
18
We recommend using a :doc:`configuration file </config-file/v2>` to manage your documentation.
20
19
Our config file *provides you per version settings*,
21
20
and *those settings live in your Git repository*.
@@ -26,7 +25,7 @@ and ensures that all your versions can be rebuilt from a reproducible configurat
26
25
Use a requirements file for Python dependencies
27
26
-----------------------------------------------
28
27
29
-
We recommend using a Pip :ref:`requirements file <pip:requirements-file-format>` or Conda :ref:`environment file <config-file/v2:conda.environment>` to pin Python dependencies.
28
+
We recommend using a Pip :ref:`requirements file <pip:requirements-file-format>` or Conda :ref:`environment file <config-file/v2:conda.environment>` to :term:`pin <pinning>` Python dependencies.
30
29
This ensures that top-level dependencies and extensions don't change.
31
30
32
31
A configuration file with explicit dependencies looks like this:
@@ -66,7 +65,7 @@ A configuration file with explicit dependencies looks like this:
66
65
Pin your transitive dependencies
67
66
--------------------------------
68
67
69
-
Once you have pinned your own dependencies,
68
+
Once you have :term:`pinned <pinning>` your own dependencies,
70
69
the next things to worry about are the dependencies of your dependencies.
71
70
These are called *transitive dependencies*,
72
71
and they can upgrade without warning if you do not pin these packages as well.
0 commit comments