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
Copy file name to clipboardexpand all lines: {{cookiecutter.project_name}}/docs/template_usage.md
+51-51
Original file line number
Diff line number
Diff line change
@@ -169,13 +169,13 @@ We recommend using [readthedocs.org][] (RTD) to build and host the documentation
169
169
To enable readthedocs, head over to [their website][readthedocs.org] and sign in with your GitHub account.
170
170
On the RTD dashboard choose "Import a Project" and follow the instructions to add your repository.
171
171
172
-
- Make sure to choose the correct name of the default branch.
173
-
On GitHub, the name of the default branch should be `main` (it has recently changed from `master` to `main`).
174
-
- We recommend enabling documentation builds for pull requests (PRs).
175
-
This ensures that a PR doesn't introduce changes that break the documentation.
176
-
To do so, got to `Admin -> Advanced Settings`, check the `Build pull requests for this projects` option, and click `Save`.
177
-
For more information, please refer to the [official RTD documentation][rtd-prs].
178
-
- If you find the RTD builds are failing, you can disable the `fail_on_warning` option in `.readthedocs.yaml`.
172
+
- Make sure to choose the correct name of the default branch.
173
+
On GitHub, the name of the default branch should be `main` (it has recently changed from `master` to `main`).
174
+
- We recommend enabling documentation builds for pull requests (PRs).
175
+
This ensures that a PR doesn't introduce changes that break the documentation.
176
+
To do so, got to `Admin -> Advanced Settings`, check the `Build pull requests for this projects` option, and click `Save`.
177
+
For more information, please refer to the [official RTD documentation][rtd-prs].
178
+
- If you find the RTD builds are failing, you can disable the `fail_on_warning` option in `.readthedocs.yaml`.
179
179
180
180
If your project is private, there are ways to enable docs rendering on [readthedocs.org][] but it is more cumbersome and requires a different subscription for read the docs.
181
181
See a guide [here](https://docs.readthedocs.io/en/stable/guides/importing-private-repositories.html).
@@ -260,44 +260,44 @@ Once authorized, pre-commit.ci should automatically be activated.
260
260
261
261
The following pre-commit hooks are for code style and format:
0 commit comments