Files
rocket/TODO.md
2022-06-23 14:09:11 +02:00

1.2 KiB

TODO

  • 404 page background images are not being loaded
  • sitemap.xml not deployed on netlify

Features

  • recursive rendering of lit / html / and markdown
    • "import" markdown with frontmatter
  • mdjs update to unified v10 AND go esm only (only cjs pkg we have now)

Nice to have

  • Add "menuExclude" => to actually exclude the menu item

Bugs

  • write to _site-dev instead of _site while using rocket start
  • nested recursive.data.js do not overwrite the parent data
  • support in markdown

Error Handling

  • make error nice for parent page not found in index => auto generate page? 🤔

Examples

  • docs site, blog (simple), blog (complex), minimal

  • add stackblitz/codesandbox examples => does not work because of @parcel/watcher https://github.com/parcel-bundler/watcher/issues/99

  • Example: export variable and use it in rendering

  • Example: fetch data from an api and display it

  • Example: usage of image

later

  • support @change in markdown
  • support "hey ${foo.map(f => ${f} + 1)}"
  • ENGINE: Rename "options.docsDir" to "options.inputDir"

consider

  • Replace magic "resolve:pkg/foo.css" with a directive ${resolve()}?