Skip to content

Commit 8410593

Browse files
committed
chore: Template upgrade
1 parent c5efc65 commit 8410593

File tree

7 files changed

+25
-8
lines changed

7 files changed

+25
-8
lines changed

.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.2
2+
_commit: 0.16.5
33
_src_path: gh:pawamoy/copier-pdm
44
author_email: pawamoy@pm.me
55
author_fullname: Timothée Mazzucotelli

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.DEFAULT_GOAL := help
22
SHELL := bash
33
DUTY := $(if $(VIRTUAL_ENV),,pdm run) duty
4-
export PDM_MULTIRUN_VERSIONS ?= 3.8 3.9 3.10 3.11
4+
export PDM_MULTIRUN_VERSIONS ?= 3.8 3.9 3.10 3.11 3.12
55

66
args = $(foreach a,$($(subst -,_,$1)_args),$(if $(value $a),$a="$($a)"))
77
check_quality_args = files

docs/insiders/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ by the [ISC License][license]. However, we kindly ask you to respect our
220220
[goals completed]: #goals-completed
221221
[github sponsor profile]: https://github.com/sponsors/pawamoy
222222
[billing cycle]: https://docs.github.com/en/github/setting-up-and-managing-billing-and-payments-on-github/changing-the-duration-of-your-billing-cycle
223-
[license]: ../license/
223+
[license]: ../license.md
224224
[private forks]: https://docs.github.com/en/github/setting-up-and-managing-your-github-user-account/removing-a-collaborator-from-a-personal-repository
225225

226226
<script src="../js/insiders.js"></script>

docs/insiders/installation.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ you need to [become an eligible sponsor] of @pawamoy on GitHub.
1313

1414
## Installation
1515

16+
### with PyPI Insiders
17+
18+
[PyPI Insiders](https://pawamoy.github.io/pypi-insiders/)
19+
is a tool that helps you keep up-to-date versions
20+
of Insiders projects in the PyPI index of your choice
21+
(self-hosted, Google registry, Artifactory, etc.).
22+
23+
See [how to install it](https://pawamoy.github.io/pypi-insiders/#installation)
24+
and [how to use it](https://pawamoy.github.io/pypi-insiders/#usage).
25+
1626
### with pip (ssh/https)
1727

1828
*mkdocstrings-python Insiders* can be installed with `pip` [using SSH][using ssh]:
@@ -97,7 +107,7 @@ or installing a package (with pip), and depending on the registry you are using
97107
Please check the documentation of your registry to learn how to configure your environment.
98108

99109
**We kindly ask that you do not upload the distributions to public registries,
100-
as it is against our [Terms of use](../#terms).**
110+
as it is against our [Terms of use](index.md#terms).**
101111

102112
>? TIP: **Full example with `pypiserver`**
103113
> In this example we use [pypiserver] to serve a local PyPI index.

duties.py

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

5454

5555
def mkdocs_config() -> str: # noqa: D103
56-
from mkdocs import utils
56+
import mergedeep
5757

58-
# patch YAML loader to merge arrays
59-
utils.merge = merge
58+
# force YAML loader to merge arrays
59+
mergedeep.merge = merge
6060

6161
if "+insiders" in pkgversion("mkdocs-material"):
6262
return "mkdocs.insiders.yml"

mkdocs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ repo_name: "mkdocstrings/python"
66
site_dir: "site"
77
watch: [mkdocs.yml, README.md, CONTRIBUTING.md, CHANGELOG.md, src/mkdocstrings_handlers]
88
copyright: Copyright &copy; 2021 Timothée Mazzucotelli
9+
edit_uri: edit/main/docs/
10+
11+
validation:
12+
omitted_files: warn
13+
absolute_links: warn
14+
unrecognized_links: warn
915

1016
nav:
1117
- Home:

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
"Programming Language :: Python :: 3.9",
2222
"Programming Language :: Python :: 3.10",
2323
"Programming Language :: Python :: 3.11",
24+
"Programming Language :: Python :: 3.12",
2425
"Topic :: Documentation",
2526
"Topic :: Software Development",
2627
"Topic :: Software Development :: Documentation",
@@ -61,7 +62,7 @@ docs = [
6162
"black>=23.1",
6263
"markdown-callouts>=0.2",
6364
"markdown-exec>=0.5",
64-
"mkdocs>=1.3",
65+
"mkdocs>=1.5",
6566
"mkdocs-coverage>=0.2",
6667
"mkdocs-gen-files>=0.3",
6768
"mkdocs-git-committers-plugin-2>=1.1",

0 commit comments

Comments
 (0)