Skip to content

Commit

Permalink
fix(style): move "build" to readthedocs.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoliwa committed Nov 12, 2023
1 parent 0b779d9 commit 676ac24
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 17 deletions.
2 changes: 0 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,6 @@ python
- `Read the Docs <https://github.com/readthedocs/readthedocs.org>`_
* - `py://nitpick/resources/python/sonar-python <src/nitpick/resources/python/sonar-python.toml>`_
- `SonarQube Python plugin <https://github.com/SonarSource/sonar-python>`_
* - `py://nitpick/resources/python/stable <src/nitpick/resources/python/stable.toml>`_
- Current stable Python version
* - `py://nitpick/resources/python/tox <src/nitpick/resources/python/tox.toml>`_
- `tox <https://github.com/tox-dev/tox>`_

Expand Down
2 changes: 0 additions & 2 deletions docs/library.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ python
- `Read the Docs <https://github.com/readthedocs/readthedocs.org>`_
* - :gitref:`py://nitpick/resources/python/sonar-python <src/nitpick/resources/python/sonar-python.toml>`
- `SonarQube Python plugin <https://github.com/SonarSource/sonar-python>`_
* - :gitref:`py://nitpick/resources/python/stable <src/nitpick/resources/python/stable.toml>`
- Current stable Python version
* - :gitref:`py://nitpick/resources/python/tox <src/nitpick/resources/python/tox.toml>`
- `tox <https://github.com/tox-dev/tox>`_

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ line-length = 120
style = [
"nitpick-style",
"py://nitpick/resources/python/38.toml",
"py://nitpick/resources/python/stable.toml",
]

[tool.poetry]
Expand Down
6 changes: 6 additions & 0 deletions src/nitpick/resources/python/readthedocs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ url = "https://github.com/readthedocs/readthedocs.org"
version = 2
formats = "all"

[".readthedocs.yaml".build]
os = "ubuntu-22.04"

[".readthedocs.yaml".build.tools]
python = "3.11"

[".readthedocs.yaml".sphinx]
configuration = "docs/conf.py"

Expand Down
8 changes: 0 additions & 8 deletions src/nitpick/resources/python/stable.toml

This file was deleted.

4 changes: 4 additions & 0 deletions tests/test_builtin/python/readthedocs/.readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
version: 2
formats: all
build:
os: ubuntu-22.04
tools:
python: '3.11'
sphinx:
configuration: docs/conf.py
python:
Expand Down
4 changes: 0 additions & 4 deletions tests/test_builtin/python/stable/.readthedocs.yaml

This file was deleted.

0 comments on commit 676ac24

Please sign in to comment.