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
* `@stsewd <https://github.com/stsewd>`__: Tests: be explicit about the privacy level (`#10273 <https://github.com/readthedocs/readthedocs.org/pull/10273>`__)
12
+
* `@stsewd <https://github.com/stsewd>`__: Fix typo in tests (`#10271 <https://github.com/readthedocs/readthedocs.org/pull/10271>`__)
13
+
* `@stsewd <https://github.com/stsewd>`__: Update docs about setuptools dependency (`#10270 <https://github.com/readthedocs/readthedocs.org/pull/10270>`__)
14
+
* `@stsewd <https://github.com/stsewd>`__: Build: Pin setuptools only when required (`#10268 <https://github.com/readthedocs/readthedocs.org/pull/10268>`__)
15
+
* `@github-actions[bot] <https://github.com/github-actions[bot]>`__: Dependencies: all packages updated via pip-tools (`#10267 <https://github.com/readthedocs/readthedocs.org/pull/10267>`__)
16
+
* `@benjaoming <https://github.com/benjaoming>`__: Backend: Make Features ordered in a nice way (`#10262 <https://github.com/readthedocs/readthedocs.org/pull/10262>`__)
17
+
* `@stsewd <https://github.com/stsewd>`__: Proxito: allow overlapping public and external version domains (`#10260 <https://github.com/readthedocs/readthedocs.org/pull/10260>`__)
* `@stsewd <https://github.com/stsewd>`__: Test explicitly without organizations (`#10258 <https://github.com/readthedocs/readthedocs.org/pull/10258>`__)
* `@stsewd <https://github.com/stsewd>`__: Tests: set production domain explicitly (`#10253 <https://github.com/readthedocs/readthedocs.org/pull/10253>`__)
* `@benjaoming <https://github.com/benjaoming>`__: Docs: New entries to glossary (`#10249 <https://github.com/readthedocs/readthedocs.org/pull/10249>`__)
24
+
* `@stsewd <https://github.com/stsewd>`__: Proxito: handle http to https redirects for all requests (`#10199 <https://github.com/readthedocs/readthedocs.org/pull/10199>`__)
25
+
* `@ericholscher <https://github.com/ericholscher>`__: Fix checking of PR status (`#10085 <https://github.com/readthedocs/readthedocs.org/pull/10085>`__)
Copy file name to clipboardExpand all lines: docs/user/build-customization.rst
+16-5
Original file line number
Diff line number
Diff line change
@@ -360,14 +360,25 @@ Where to put files
360
360
~~~~~~~~~~~~~~~~~~
361
361
362
362
It is your responsibility to generate HTML and other formats of your documentation using :ref:`config-file/v2:build.commands`.
363
-
The contents of the ``_readthedocs/<format>/`` directory will be hosted as part of your documentation.
363
+
The contents of the ``$READTHEDOCS_OUTPUT/<format>/`` directory will be hosted as part of your documentation.
364
+
365
+
We store the the base folder name ``_readthedocs/`` in the environment variable ``$READTHEDOCS_OUTPUT`` and encourage that you use this to generate paths.
364
366
365
367
Supported :ref:`formats <downloadable-documentation:accessing offline formats>` are published if they exist in the following directories:
366
368
367
-
* ``_readthedocs/html/`` (required)
368
-
* ``_readthedocs/htmlzip/``
369
-
* ``_readthedocs/pdf/``
370
-
* ``_readthedocs/epub/``
369
+
* ``$READTHEDOCS_OUTPUT/html/`` (required)
370
+
* ``$READTHEDOCS_OUTPUT/htmlzip/``
371
+
* ``$READTHEDOCS_OUTPUT/pdf/``
372
+
* ``$READTHEDOCS_OUTPUT/epub/``
373
+
374
+
.. note::
375
+
376
+
Remember to create the folders before adding content to them.
377
+
You can ensure that the output folder exists by adding the following command:
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