Skip to content

Commit

Permalink
docs: standardize .reathedocs.yml to .readthedocs.yaml (#361)
Browse files Browse the repository at this point in the history
* Typo fix from .reathedocs.yml to .readthedocs.yaml

* style: pre-commit fixes

* fix: move remaining readthedocs to yaml ext

Signed-off-by: Henry Schreiner <[email protected]>

---------

Signed-off-by: Henry Schreiner <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <[email protected]>
  • Loading branch information
3 people authored Jan 24, 2024
1 parent 4aaa0c4 commit 0bfc28b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/pages/guides/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ from cog_helpers import code_fence, render_cookie, Matcher
with render_cookie() as package:
docs_conf_py = package.joinpath("docs/conf.py").read_text(encoding="utf-8").strip()
docs_index_md = package.joinpath("docs/index.md").read_text(encoding="utf-8").strip()
readthedocs_yaml = package.joinpath(".readthedocs.yml").read_text(encoding="utf-8").strip()
readthedocs_yaml = package.joinpath(".readthedocs.yaml").read_text(encoding="utf-8").strip()
noxfile = Matcher.from_file(package / "noxfile.py")
]]] -->
<!-- [[[end]]] -->
Expand Down Expand Up @@ -235,7 +235,8 @@ plugins and try to build against an uninstalled version of your project.
### .readthedocs.yaml

In order to use <https://readthedocs.org> to build, host, and preview your
documentation, you must have a `.reathedocs.yml` file {% rr RTD100 %} like this:
documentation, you must have a `.readthedocs.yaml` file {% rr RTD100 %} like
this:

<!-- [[[cog
with code_fence("yaml"):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ graft src
graft tests

include LICENSE README.md pyproject.toml setup.py setup.cfg .git_archival.txt
exclude .readthedocs.yml
exclude .readthedocs.yaml
global-exclude __pycache__ *.py[cod] .venv

0 comments on commit 0bfc28b

Please sign in to comment.