Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
- 'bin/build-docs-bundle.sh'
- 'bin/build-reference.py'
- 'bin/_docs_components.py'
- 'bin/_docs_components/**'
- 'bin/_load_catalog.py'
- 'composer.json'
- 'composer.lock'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/snippet-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Verify docs snippets

# Runs every PHP snippet declared in bin/_docs_components/<slug>.md against
# Runs every PHP snippet declared in components/<Name>/README.md against
# the local toolkit and compares stdout to the expected-output block stored
# next to the snippet in markdown. Anything that drifts fails CI; anything
# that errors out also fails CI.
Expand All @@ -14,7 +14,6 @@ on:
paths:
- 'components/**'
- 'bin/_docs_components.py'
- 'bin/_docs_components/**'
- 'bin/_load_catalog.py'
- 'bin/run-snippets.py'
- 'composer.json'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ docs/reference/zip.html

# Bundled toolkit source for WordPress Playground — regenerated on every deploy.
docs/assets/php-toolkit.zip
docs-changes.md
10 changes: 6 additions & 4 deletions bin/_docs_components.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Component catalog for the runnable docs site.
#
# Per-component content (lede, sections, snippets, credit callouts,
# see-also links, expected snippet outputs) is sourced from
# bin/_docs_components/<slug>.md — see bin/_load_catalog.py for the format.
# That keeps the docs source in plain markdown with code-fence snippets,
# editable in any text editor and renderable as-is on github.com.
# see-also links, expected snippet outputs) is sourced from each
# components/<Name>/README.md — see bin/_load_catalog.py for the format.
# The README *is* the catalog source: GitHub and Packagist render it as
# a normal README (frontmatter is hidden by GitHub's renderer); the
# build pipeline parses the frontmatter + snippet metadata blocks to
# generate the docs site and run snippets in CI.
#
# This file still owns the small global metadata that doesn't belong in any
# single component's markdown: the landing-page starter paths and the
Expand Down
131 changes: 0 additions & 131 deletions bin/_docs_components/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions bin/_docs_components/_order.txt

This file was deleted.

Loading
Loading