Skip to content

Commit 67c86c8

Browse files
authored
Docs: update links to new docs & futher iteration (#37)
* Docs: update links to work on DevHub * Docs: add additional fields * Remove link to release post * Docs: try auto-generation of docblock files * Rename landing page to attempt to work around issue with devhub
1 parent 6cd5e74 commit 67c86c8

File tree

192 files changed

+9779
-365
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+9779
-365
lines changed

.github/workflows/phpcs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup PHP
1515
uses: shivammathur/setup-php@v2
1616
with:
17-
php-version: '8.1'
17+
php-version: '8.4'
1818
tools: composer:v2
1919

2020
- name: Install Dependencies

.markdownlint.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"default": true,
3+
"MD013": false,
4+
"MD024": false,
5+
"MD033": {
6+
"allowed_elements": [
7+
"br",
8+
"img",
9+
"video",
10+
"details",
11+
"summary"
12+
]
13+
},
14+
"no-inline-html": {
15+
"allowed_elements": [
16+
"br",
17+
"kbd",
18+
"sup"
19+
]
20+
},
21+
"first-line-h1": false,
22+
"commands-show-output": false,
23+
"code-block-style": false,
24+
"no-duplicate-heading": {
25+
"siblings_only": true
26+
},
27+
"no-trailing-punctuation": {
28+
"punctuation": ".,;:!"
29+
},
30+
"ol-prefix": {
31+
"style": "ordered"
32+
},
33+
"fenced-code-language": true,
34+
"ignores": [
35+
"vendor/**",
36+
"node_modules/**"
37+
]
38+
}

composer.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,22 @@
1616
"require-dev": {
1717
"wp-coding-standards/wpcs": "^3.0",
1818
"phpcompatibility/phpcompatibility-wp": "^2.1",
19-
"sirbrillig/phpcs-changed": "^2.11"
19+
"sirbrillig/phpcs-changed": "^2.11",
20+
"nikic/php-parser": "^4.0",
21+
"symfony/finder": "^5.0|^6.0"
2022
},
2123
"scripts": {
22-
"docs-manifest": "php docs/bin/generate-manifest.php",
24+
"docs:manifest": "php docs/bin/generate-manifest.php",
25+
"docs:links": "php docs/bin/update-markdown-links.php",
26+
"docs:parse": "php docs/bin/generate-parsed-md.php --output=${DOCS_OUTPUT_DIR:-docs/code-reference}",
27+
"docs:fix": "npm run fix:md",
28+
"docs:lint": "npm run lint:md",
2329
"docs": [
24-
"@docs-manifest"
30+
"@docs:parse",
31+
"@docs:links",
32+
"@docs:fix",
33+
"@docs:lint",
34+
"@docs:manifest"
2535
]
2636
}
2737
}

composer.lock

Lines changed: 121 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)