Closed AugustMiller closed 10 months ago
Name | Link |
---|---|
Latest commit | 946e9c702aec8ffcf49d7e72485fa57aa64655da |
Latest deploy log | https://app.netlify.com/sites/craft-docs/deploys/6571ec3cd6d73800086b7f5b |
Deploy Preview | https://deploy-preview-552--craft-docs.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Updating Craft CMS artifacts to use a cms
subpath to agree with the commerce
subpath. This is a change I would like to make for the main docsets, at some point—but it would be too disruptive to routing, at the moment.
We often get contributions to files that are partially or entirely generated from source code (like the list of console controllers, or element query params). This seeks to make it clearer what pages (or parts of pages) rely on generated content, by relocating them to a new
.artifacts/
directory and using themarkdown-it-include
library to inline them at build time.Required Changes
$ws/docs/docs/.artifacts/4.x
(or3.x
) for the--docs-path
argument$ws/docs/docs/.artifacts/commerce/4.x
, etc.tryPaths
can be eliminated, as the paths no longer need to differ between versions:config-general.md
within the--docs-path
above (corresponding to the version);config-db.md
within the--docs-path
above (corresponding to the version);config.md
within the--docs-path
above (corresponding to the version);docubot/gql/generate --targetFile=$ws/docs/docs/.artifacts/4.x
;docubot/commands --targetFile=$ws/docs/docs/.artifacts/4.x
;docubot/event-dumper --targetFile=$ws/docs/docs/.artifacts/4.x
;Cautionary Notes
ElementQuery
subclasses have a@doc-path
tag that we probably shouldn't touch at this stage. It would be nice if there was zero outside influence on where these things ended up, but there is some precedent with config setting groups.