nathan d15c63198c Docs: Get the ETemplate2 webComponent widets working on doc site
Sort of.  This breaks shoelace images due to them not being imported / copied, and not using the CDN
2023-10-27 11:50:51 -06:00
..
2017-09-15 10:51:45 +02:00
2020-06-03 13:20:09 +02:00
2023-09-11 08:45:04 +02:00
2020-06-03 13:20:09 +02:00
2021-06-15 13:34:03 +02:00
2021-08-11 15:38:13 +02:00
2023-06-09 16:37:58 +02:00

Notes on automatic documentation

This is a project in itself. Here's how the pieces fit together:

  • build:dev package script calls /doc/scripts/build.mjs which is responsible for calling the individual pieces. We pass files to the subprocesses, but options are set in a separate config file.
  • /doc/scripts/metadata.mjs extracts the component information using CEM, and stores it to /doc/dist/custom-elements.json
  • /doc/scripts/etemplate2/eleventy.config.cjs uses 11ty to build a documentation site, from the subdirectories in /doc/etemplate2, and stores it to /doc/dist/site

If a component doesn't show up, it's probably not in the manifest.