Skip to content

Commit 1352a65

Browse files
committed
chore: Template upgrade
1 parent 1e7b869 commit 1352a65

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 0.16.3
2+
_commit: 0.16.5
33
_src_path: gh:pawamoy/copier-pdm
44
author_email: pawamoy@pm.me
55
author_fullname: Timothée Mazzucotelli

duties.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ def merge(d1: Any, d2: Any) -> Any: # noqa: D103
4848

4949

5050
def mkdocs_config() -> str: # noqa: D103
51-
from mkdocs import utils
51+
import mergedeep
5252

53-
# patch YAML loader to merge arrays
54-
utils.merge = merge
53+
# force YAML loader to merge arrays
54+
mergedeep.merge = merge
5555

5656
if "+insiders" in pkgversion("mkdocs-material"):
5757
return "mkdocs.insiders.yml"

mkdocs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ watch: [mkdocs.yml, README.md, CONTRIBUTING.md, CHANGELOG.md, src/griffe]
88
copyright: Copyright © 2021 Timothée Mazzucotelli
99
edit_uri: edit/main/docs/
1010

11+
validation:
12+
omitted_files: warn
13+
absolute_links: warn
14+
unrecognized_links: warn
15+
1116
nav:
1217
- Home:
1318
- Overview: index.md

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ docs = [
6565
"black>=23.1",
6666
"markdown-callouts>=0.2",
6767
"markdown-exec>=0.5",
68-
"mkdocs>=1.3",
68+
"mkdocs>=1.5",
6969
"mkdocs-coverage>=0.2",
7070
"mkdocs-gen-files>=0.3",
7171
"mkdocs-git-committers-plugin-2>=1.1",

0 commit comments

Comments
 (0)