Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: update links to new docs & futher iteration #37

Merged
merged 5 commits into from
Feb 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.4'
tools: composer:v2

- name: Install Dependencies
38 changes: 38 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"default": true,
"MD013": false,
"MD024": false,
"MD033": {
"allowed_elements": [
"br",
"img",
"video",
"details",
"summary"
]
},
"no-inline-html": {
"allowed_elements": [
"br",
"kbd",
"sup"
]
},
"first-line-h1": false,
"commands-show-output": false,
"code-block-style": false,
"no-duplicate-heading": {
"siblings_only": true
},
"no-trailing-punctuation": {
"punctuation": ".,;:!"
},
"ol-prefix": {
"style": "ordered"
},
"fenced-code-language": true,
"ignores": [
"vendor/**",
"node_modules/**"
]
}
16 changes: 13 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -16,12 +16,22 @@
"require-dev": {
"wp-coding-standards/wpcs": "^3.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"sirbrillig/phpcs-changed": "^2.11"
"sirbrillig/phpcs-changed": "^2.11",
"nikic/php-parser": "^4.0",
"symfony/finder": "^5.0|^6.0"
},
"scripts": {
"docs-manifest": "php docs/bin/generate-manifest.php",
"docs:manifest": "php docs/bin/generate-manifest.php",
"docs:links": "php docs/bin/update-markdown-links.php",
"docs:parse": "php docs/bin/generate-parsed-md.php --output=${DOCS_OUTPUT_DIR:-docs/code-reference}",
"docs:fix": "npm run fix:md",
"docs:lint": "npm run lint:md",
"docs": [
"@docs-manifest"
"@docs:parse",
"@docs:links",
"@docs:fix",
"@docs:lint",
"@docs:manifest"
]
}
}
122 changes: 121 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading