craftcms / docs

Documentation for Craft CMS, Craft Commerce, and other official products.
https://craftcms.com/docs
39 stars 150 forks source link

External Artifacts #552

Closed AugustMiller closed 10 months ago

AugustMiller commented 1 year ago

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 the markdown-it-include library to inline them at build time.

Required Changes

Cautionary Notes

netlify[bot] commented 1 year ago

Deploy Preview for craft-docs ready!

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

AugustMiller commented 10 months ago

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.