Skip to content

Commit 0ad1b62

Browse files
committed
Merge branch 'main' of github.com:readthedocs/readthedocs.org into humitos/allow-any-filename-pdf-epub
2 parents fd209e1 + 488d50d commit 0ad1b62

File tree

239 files changed

+18845
-16011
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+18845
-16011
lines changed

.readthedocs.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ formats:
66

77
sphinx:
88
configuration: docs/conf.py
9-
fail_on_warning: true
9+
10+
# Disabled due to temporary issue with Django docs
11+
fail_on_warning: false
1012

1113
python:
1214
install:
@@ -31,6 +33,12 @@ build:
3133
exit 183;
3234
fi
3335
36+
# Install our Sphinx Theme version that uses the Addons CustomEvent to generate the integrated flyout
37+
# TODO: this custom installation once a new release has been done
38+
post_install:
39+
- pip uninstall --yes sphinx-rtd-theme
40+
- pip install git+https://github.com/readthedocs/sphinx_rtd_theme.git@humitos/addons-flyout#egg=sphinx-rtd-theme
41+
3442
search:
3543
ranking:
3644
# Deprecated content

CHANGELOG.rst

Lines changed: 195 additions & 0 deletions
Large diffs are not rendered by default.

README.rst

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,54 +6,52 @@ Welcome to Read the Docs
66
Purpose
77
-------
88

9-
`Read the Docs`_ hosts documentation for the open source community. It supports
10-
Sphinx_ docs written with reStructuredText_, and can pull from your Subversion_,
11-
Bazaar_, Git_, and Mercurial_ repositories.
9+
`Read the Docs`_ hosts documentation for the open source community.
10+
It supports many documentation tools
11+
(e.g. Sphinx_ docs written with reStructuredText_, MkDocs_ docs written with markdown_, among others),
12+
and can pull Git_ repositories.
1213
Then we build documentation and host it for you.
13-
Think of it as *Continuous Documentation*.
14+
Think of it as *Continuous Documentation*, or Docs as Code.
1415

1516
.. _Read the docs: https://readthedocs.org/
1617
.. _Sphinx: http://www.sphinx-doc.org/
1718
.. _reStructuredText: http://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html
18-
.. _Subversion: http://subversion.tigris.org/
19-
.. _Bazaar: http://bazaar.canonical.com/
2019
.. _Git: http://git-scm.com/
21-
.. _Mercurial: https://www.mercurial-scm.org/
20+
.. _MkDocs: https://www.mkdocs.org/
21+
.. _markdown: https://daringfireball.net/projects/markdown/
2222

23-
Documentation for RTD
24-
---------------------
23+
Documentation for Read the Docs
24+
-------------------------------
2525

26-
You will find complete documentation for setting up your project at `the Read
27-
the Docs site`_.
26+
You will find complete documentation for setting up your project at `the Read the Docs site`_.
2827

2928
.. _the Read the Docs site: https://docs.readthedocs.io/
3029

3130
Get in touch
3231
------------
3332

34-
You can find information about getting in touch with Read the Docs at our `Contribution page <https://docs.readthedocs.io/en/latest/contribute.html#get-in-touch>`_.
33+
You can find information about getting in touch with Read the Docs at our
34+
`Contribution page <https://docs.readthedocs.io/en/latest/contribute.html#get-in-touch>`_.
3535

3636
Contributing
3737
------------
3838

39-
You can find information about contributing to Read the Docs at our `Contribution page <https://docs.readthedocs.io/en/latest/contribute.html>`_.
39+
You can find information about contributing to Read the Docs at our
40+
`Contribution page <https://docs.readthedocs.io/en/latest/contribute.html>`_.
4041

4142
Quickstart for GitHub hosted projects
4243
-------------------------------------
4344

44-
By the end of this quickstart, you will have a new project automatically updated
45-
when you push to GitHub.
45+
By the end of this quickstart, you will have a new project automatically updated when you push to GitHub.
4646

47-
#. Create an account on `Read the Docs`_. You will get an email verifying your
48-
email address which you should accept within 7 days.
49-
50-
#. Log in and click on "Import a Project".
51-
52-
#. Click "Connect to GitHub" in order to connect your account's repositories to GitHub.
47+
#. Create an account on `Read the Docs`_ by signing up with GitHub.
5348

5449
#. When prompted on GitHub, give access to your account.
5550

56-
#. Click "Import a Repository" and select any desired repository.
51+
#. Log in and click on "Add project".
52+
53+
#. Start typing the name of your repository and select it from the list,
54+
and click "Continue".
5755

5856
#. Change any information if desired and click "Next".
5957

docker-compose.override.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
# instead we need to hit NGINX's IP (this is used on Embed API from
1111
# -ext for example) Setting a static IP for NGINX, allow us to
1212
# override /etc/hosts with this IP.
13-
version: '3'
14-
1513
networks:
1614
readthedocs:
1715
driver: bridge

dockerfiles/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ RUN apt-get -y install \
3333
npm \
3434
rclone
3535

36+
# Dependencies for django-allauth SAML support.
37+
# See:
38+
# - https://github.com/SAML-Toolkits/python3-saml#installation
39+
# - https://github.com/xmlsec/python-xmlsec#linux-debian
40+
RUN apt-get -y install \
41+
pkg-config \
42+
libxml2-dev \
43+
libxmlsec1-dev \
44+
libxmlsec1-openssl
45+
3646
# Gets the MinIO mc client used to add buckets upon initialization
3747
# If this client should have issues running inside this image, it is also
3848
# fine to defer it to a separate image.

dockerfiles/docker-compose-assets.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3'
2-
31
services:
42
assets:
53
image: node:8.16

dockerfiles/nginx/proxito.conf.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ server {
132132
proxy_set_header Host $http_host;
133133
proxy_set_header X-Real-IP $remote_addr;
134134
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
135-
proxy_set_header X-Forwarded-Host $host;
136135
add_header X-Served Proxito-404-Fallback always;
137136
}
138137

docs/_static/js/readthedocs-doc-diff.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/_templates/ethicalads.html

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/_templates/layout.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,3 @@
77
<script defer data-domain="{{ plausible_domain }}" src="https://plausible.io/js/script.js"></script>
88
{% endif %}
99
{% endblock extrahead %}
10-
11-
{% block document %}
12-
{{ super() }}
13-
14-
{% include "ethicalads.html" %}
15-
{% endblock document %}

docs/conf.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"notfound.extension",
2525
"sphinx_copybutton",
2626
"sphinx_design",
27-
"sphinx_search.extension",
2827
"sphinx_tabs.tabs",
2928
"sphinx-prompt",
3029
"sphinx.ext.autodoc",
@@ -77,7 +76,7 @@
7776

7877
master_doc = "index"
7978
copyright = "Read the Docs, Inc & contributors"
80-
version = "10.21.0"
79+
version = "11.0.0"
8180
release = version
8281
exclude_patterns = ["_build", "shared", "_includes"]
8382
default_role = "obj"
@@ -160,9 +159,6 @@
160159
html_css_files = ["css/custom.css", "css/sphinx_prompt_css.css"]
161160
html_js_files = ["js/expand_tabs.js"]
162161

163-
if os.environ.get("READTHEDOCS_VERSION_TYPE") == "external":
164-
html_js_files.append("js/readthedocs-doc-diff.js")
165-
166162
html_logo = "img/logo.svg"
167163
html_theme_options = {
168164
"logo_only": True,

docs/user/api/v3.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,10 @@ Project details
258258
"translation_of": null,
259259
"urls": {
260260
"documentation": "http://pip.pypa.io/en/stable/",
261-
"home": "https://pip.pypa.io/"
261+
"home": "https://readthedocs.org/projects/pip/",
262+
"downloads": "https://readthedocs.org/projects/pip/downloads/",
263+
"builds": "https://readthedocs.org/projects/pip/builds/",
264+
"versions": "https://readthedocs.org/projects/pip/versions/",
262265
},
263266
"tags": [
264267
"distutils",
@@ -556,6 +559,7 @@ Version detail
556559
"ref": "19.0.2",
557560
"built": true,
558561
"active": true,
562+
"aliases": ["VERSION"],
559563
"hidden": false,
560564
"type": "tag",
561565
"last_build": "{BUILD}",

docs/user/build-customization.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,33 @@ Take a look at the following example:
356356
configuration: docs/conf.py
357357
358358
359+
Install dependencies with ``uv``
360+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
361+
362+
Projects can use `uv <https://github.com/astral-sh/uv/>`__,
363+
to install Python dependencies, usually reducing the time taken to install compared to pip.
364+
Take a look at the following example:
365+
366+
367+
.. code-block:: yaml
368+
:caption: .readthedocs.yaml
369+
370+
version: 2
371+
372+
build:
373+
os: "ubuntu-22.04"
374+
tools:
375+
python: "3.10"
376+
commands:
377+
- asdf plugin add uv
378+
- asdf install uv latest
379+
- asdf global uv latest
380+
- uv venv
381+
- uv pip install .[docs]
382+
- .venv/bin/python -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
383+
384+
You can use ``-r docs/requirements.txt``, etc. instead as needed. MkDocs projects could use ``NO_COLOR=1 .venv/bin/mkdocs build --strict --site-dir $READTHEDOCS_OUTPUT/html`` instead.
385+
359386
Update Conda version
360387
^^^^^^^^^^^^^^^^^^^^
361388

docs/user/commercial/single-sign-on.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,21 @@ permissions are managed by the :ref:`internal Read the Docs's teams <commercial/
4444
This feature is only available on the **Pro plan** and above.
4545
Learn how to configure this SSO method with our :doc:`/guides/setup-single-sign-on-google-email`.
4646

47+
SSO with SAML
48+
-------------
49+
50+
.. note::
51+
52+
This feature is in beta, and will be available for **Enterprise** plans only.
53+
Contact :doc:`support </support>` to enable this feature for your organization.
54+
55+
**At the moment only Okta is supported as a SAML identity provider.**
56+
57+
This feature allows you to easily manage access to users that are part of your identity provider.
58+
As SAML doesn't provide information about which projects a user has access to,
59+
permissions are managed by the :ref:`internal Read the Docs's teams <commercial/organizations:Team Types>` authorization system.
60+
Learn how to configure this SSO method with our :doc:`guide </guides/set-up-single-sign-on-saml>`.
61+
4762
Requesting additional providers
4863
-------------------------------
4964

docs/user/commercial/subscriptions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ Billing information
4242

4343
We provide both monthly and annual subscriptions for all plans.
4444
Annual plans are given a 2 month discount compared to monthly billing.
45-
We only support credit card billing for our Basic and Advanced plans.
46-
For our Pro and Enterprise users, we support invoice-based and PO billing.
45+
We support credit card billing for all plans.
46+
Pro and Enterprise plans can use invoice-based and PO billing for annual subscriptions.
4747

4848
.. tip::
4949
We recommend paying by credit card for all users,

docs/user/config-file/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ you should define the Python version in ``build.tools.python``.
128128
The ``python`` key contains a list of sub-keys,
129129
specifying the requirements to install.
130130

131-
- Use ``python.install.package`` to install the project itself as a Python package using pip
131+
- Use ``python.install.path`` to install the project itself as a Python package using pip
132132
- Use ``python.install.requirements`` to install packages from a requirements file
133133
- Use ``build.jobs`` to install packages using Poetry or PDM
134134

docs/user/config-file/v2.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,11 @@ You can use several interpreters and versions, from CPython, Miniconda, and Mamb
330330
- ``3.12``
331331
- ``latest`` (alias for the latest version available on Read the Docs)
332332
- ``miniconda3-4.7``
333+
- ``miniconda3-3.12-24.1``
333334
- ``miniconda-latest`` (alias for the latest version available on Read the Docs)
334335
- ``mambaforge-4.10``
335336
- ``mambaforge-22.9``
337+
- ``mambaforge-23.11``
336338
- ``mambaforge-latest`` (alias for the latest version available on Read the Docs)
337339

338340
build.tools.nodejs
@@ -371,6 +373,7 @@ Rust version to use.
371373
- ``1.64``
372374
- ``1.70``
373375
- ``1.75``
376+
- ``1.78``
374377
- ``latest`` (alias for the latest version available on Read the Docs)
375378

376379
build.tools.golang
@@ -385,6 +388,7 @@ Go version to use.
385388
- ``1.19``
386389
- ``1.20``
387390
- ``1.21``
391+
- ``1.22``
388392
- ``latest`` (alias for the latest version available on Read the Docs)
389393

390394
build.apt_packages

0 commit comments

Comments
 (0)