Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct inconsistent indentation of YAML #7459

Merged
merged 2 commits into from
Oct 26, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 31 additions & 31 deletions docs/config-file/v2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,16 @@ Configuration of the Python environment to be used.
version: 2

python:
version: 3.7
install:
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
- docs
- method: setuptools
path: another/package
system_packages: true
version: 3.7
install:
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
- docs
- method: setuptools
path: another/package
system_packages: true

python.version
``````````````
Expand Down Expand Up @@ -165,10 +165,10 @@ Example:
version: 2

python:
version: 3.7
install:
- requirements: docs/requirements.txt
- requirements: requirements.txt
version: 3.7
install:
- requirements: docs/requirements.txt
- requirements: requirements.txt

.. warning::

Expand Down Expand Up @@ -213,14 +213,14 @@ Example:
version: 2

python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- docs
- method: setuptools
path: package
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- docs
- method: setuptools
path: package

With the previous settings, Read the Docs will execute the next commands:

Expand Down Expand Up @@ -400,8 +400,8 @@ VCS submodules configuration.

submodules:
include:
- one
- two
- one
- two
recursive: true

submodules.include
Expand Down Expand Up @@ -465,9 +465,9 @@ Settings for more control over :doc:`/server-side-search`.
version: 2

search:
ranking:
api/v1/*: -1
api/v2/*: 4
ranking:
api/v1/*: -1
api/v2/*: 4

search.ranking
``````````````
Expand Down Expand Up @@ -495,15 +495,15 @@ Note that 0 means *normal rank*, not *no rank*.
version: 2

search:
ranking:
ranking:
# Match a single file
tutorial.hml: 2
tutorial.hml: 2

# Match all files under the api/v1 directory
api/v1/*: -5
api/v1/*: -5

# Match all files that end with tutorial.html
*/tutorial.html: 3
'*/tutorial.html': 3

.. note::

Expand Down