Skip to content

Commit 23d93de

Browse files
authored
Merge branch 'main' into patch-9
2 parents a3599b1 + 681b256 commit 23d93de

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[pyOpenSci Community Code of Conduct](https://github.com/pyOpenSci/handbook/blob/main/CODE_OF_CONDUCT.md)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ later can protect your example from future modifications to the code.
313313
`:end-at:` options. And if the example code is Python, `:pyobject:` can be an even more future-proof way to keep the
314314
same documentation content even through code refactors.
315315

316-
If you need example code that doesn't yet exist in `examples/` see creating code for documentation](#creating-code-for-documentation).
316+
If you need example code that doesn't yet exist in `examples/` see [creating code for documentation](#creating-code-for-documentation).
317317
318318
(creating-code-for-documentation)=
319319
#### Creating code for documentation

TRANSLATING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ You can also build a live version of the guide that updates automatically as you
236236
nox -s docs-live-lang -- es
237237
```
238238

239-
Note the `--` before the language code, it indicates that the following arguments should be passed into the nox session and not be interpreted directly by nox. If you forget the `--`, nox will look instead for a session named 'es' and complain that it does not exist.
239+
Note the `--` before the language code, it indicates that the following arguments should be passed into the nox session and not be interpreted directly by nox. If you forget the `--`, nox will look instead for a session named 'es' and raise an error that it does not exist.
240240

241241
This command will use `sphinx-autobuild` to launch a local web server where you can access the translated version of the guide. You can open the guide in your browser by navigating to `http://localhost:8000`.
242242

conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
"styles/*",
137137
".pytest_cache/README.md",
138138
"vale-styles/*",
139+
"CODE_OF_CONDUCT.md",
139140
]
140141

141142
# For sitemap generation

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def clean_dir(session):
139139
if content.is_dir():
140140
shutil.rmtree(content)
141141
else:
142-
os.remove(content)
142+
pathlib.Path(content).unlink()
143143

144144

145145
@nox.session(name="update-translations")

0 commit comments

Comments
 (0)