Skip to content

Commit 689726d

Browse files
authored
Update JSONSchema (#257)
1 parent c3bfd0a commit 689726d

File tree

4 files changed

+41
-16
lines changed

4 files changed

+41
-16
lines changed

.github/workflows/ci.yml

+16
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,22 @@ jobs:
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828

29+
lychee:
30+
name: Check URLs
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v4
34+
- name: Restore lychee cache
35+
uses: actions/cache@v4
36+
with:
37+
path: .lycheecache
38+
key: cache-lychee-${{ github.sha }}
39+
restore-keys: cache-lychee-
40+
- name: Run Lychee
41+
uses: lycheeverse/lychee-action@v2
42+
with:
43+
args: --cache --max-cache-age 1d .
44+
2945
test:
3046
name: Test
3147
runs-on: ${{ matrix.platform }}

.pre-commit-config.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,3 @@ repos:
109109
- mkdocs>=1.6.0,<1.7.0
110110
- platformdirs
111111
- wcmatch
112-
- repo: https://github.com/mondeja/rust-pc-hooks
113-
rev: v1.3.0
114-
hooks:
115-
- id: lychee

pyproject.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mkdocs-include-markdown-plugin"
3-
version = "7.1.2"
3+
version = "7.1.3"
44
description = "Mkdocs Markdown includer plugin."
55
readme = "README.md"
66
license = "Apache-2.0"
@@ -104,9 +104,9 @@ targets = [{ file = "pyproject.toml" }]
104104
[tool.project-config]
105105
cache = "2 days"
106106
style = [
107-
"gh://mondeja/project-config-styles@v5.4/base/pre-commit/md2po2md.json5",
108-
"gh://mondeja/project-config-styles@v5.4/python/base.json5",
109-
"gh://mondeja/project-config-styles@v5.4/python/mypy.json5",
107+
"gh://mondeja/project-config-styles@v5.5/base/pre-commit/md2po2md.json5",
108+
"gh://mondeja/project-config-styles@v5.5/python/base.json5",
109+
"gh://mondeja/project-config-styles@v5.5/python/mypy.json5",
110110
]
111111

112112
[tool.coverage.run]

schema.json

+21-8
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
"type": "object",
1515
"properties": {
1616
"opening_tag": {
17-
"markdownDescription": "https://github.com/mondeja/mkdocs-include-markdown-plugin#config_tags",
17+
"markdownDescription": "https://github.com/mondeja/mkdocs-include-markdown-plugin?tab=readme-ov-file#opening_tag-and-closing_tag",
1818
"type": "string",
1919
"default": "{%"
2020
},
2121
"closing_tag": {
22-
"markdownDescription": "https://github.com/mondeja/mkdocs-include-markdown-plugin#config_tags",
22+
"markdownDescription": "https://github.com/mondeja/mkdocs-include-markdown-plugin?tab=readme-ov-file#opening_tag-and-closing_tag",
2323
"type": "string",
2424
"default": "%}"
2525
},
@@ -68,22 +68,35 @@
6868
"type": "string",
6969
"default": "<!--end-->"
7070
},
71+
"recursive": {
72+
"markdownDescription": "https://github.com/mondeja/mkdocs-include-markdown-plugin#include_recursive",
73+
"type": "boolean",
74+
"default": true
75+
},
7176
"exclude": {
72-
"markdownDescription": "https://github.com/mondeja/mkdocs-include-markdown-plugin#include-markdown_exclude",
77+
"markdownDescription": "https://github.com/mondeja/mkdocs-include-markdown-plugin?tab=readme-ov-file#exclude",
7378
"type": "array",
7479
"items": {
7580
"type": "string"
7681
}
7782
},
7883
"cache": {
79-
"markdownDescription": "https://github.com/mondeja/mkdocs-include-markdown-plugin#configuration",
84+
"markdownDescription": "https://github.com/mondeja/mkdocs-include-markdown-plugin?tab=readme-ov-file#cache",
8085
"type": "integer",
8186
"default": 0
8287
},
83-
"recursive": {
84-
"markdownDescription": "https://github.com/mondeja/mkdocs-include-markdown-plugin#include_recursive",
85-
"type": "boolean",
86-
"default": true
88+
"cache_dir": {
89+
"markdownDescription": "https://github.com/mondeja/mkdocs-include-markdown-plugin?tab=readme-ov-file#cache_dir",
90+
"type": "string",
91+
"default": ".mkdocs-include-markdown-cache"
92+
},
93+
"directives": {
94+
"markdownDescription": "https://github.com/mondeja/mkdocs-include-markdown-plugin?tab=readme-ov-file#directives",
95+
"type": "object",
96+
"default": {
97+
"include": "include",
98+
"include-markdown": "include-markdown"
99+
}
87100
}
88101
},
89102
"additionalProperties": false

0 commit comments

Comments
 (0)