Closed ernilambar closed 2 months ago
The handbook should only contain documentation for bundled commands. scaffold-package-tests
isn't bundled, so it shouldn't be mentioned in commands-manifest.json
.
But we have included other non bundled commands like profile
, admin
, etc. Those are kept in the manifest and pages are also populated as expected. Eg: https://developer.wordpress.org/cli/commands/profile/
Hmm interesting. I don't know where the line was drawn there 🤷
cc @danielbachhuber @schlessera
I'm open to including the others if we communicate that the package needs to be installed independently.
Depends upon https://github.com/wp-cli/handbook/issues/507
This is now unblocked by https://github.com/wp-cli/handbook/issues/507
It seems those missing scaffold package markdown files are ignored in .gitignore
.
commands/scaffold/package*
Ref: https://github.com/wp-cli/handbook/blob/main/.gitignore#L12
Bug Report
Describe the current, buggy behavior
In
commands-manifest.json
, fewmarkdown_source
URLs are not working. Eg:https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/commands\/scaffold\/package-tests.md
Refhttps:\/\/github.com\/wp-cli\/handbook\/blob\/main\/commands\/scaffold\/package-readme.md
RefIs this the reason pages like
https://developer.wordpress.org/cli/commands/scaffold/package-tests/
not showing the docs properly?Describe what you would expect as the correct outcome
Handbook pages should display correct and full command docs.