Change notes: Jekyll to Astro
All changes and outstanding items to know about for the Jekyll to Astro migration
Completed
Section titled “Completed”- Removed all
{: .no_toc },{% include toc.md %}because ToC is now on the sidebar - Removed all H1’s, they are at the top of each page now based on the title field of the frontmatter
- A route is setup that redirects
/docs/to/to keep all old links working - Replaced callouts to “Alerts”
- Danger is now Caution
- Tip was added
- Success was changed to Tip
- Frontmatter
- New
- description
- This will be displayed on the “card” for a note on its Index page and under the page title
- description
- Replaced
nav_exclude: falsetosidebar:\n hidden: falsenav_exclude: truetosidebar:\n hidden: truenav_ordertoorderunder thesidebarattributepermalinktoslugsearch_exclude: falsetopagefind: truesearch_exclude: truetopagefind: falselayout: default\nremoved
- Notes
parentandhas_childrenno longer usedlast_modified_dateno longer used, dates are pulled from Git history
- New
- All image paths must now be relative. Absolute would require the linked files to be in
/public - Embeds have a new format, see Contributing.
- Scripts are imported using a new method, as described here and implemented in Extend-WinRE.
- The “gotchya” in this is that your script ends with
?rawto import otherwise Astro tries to parse it as JS.
- The “gotchya” in this is that your script ends with
- Contributors list re-worked, use this method (modified) https://starlight-examples.netlify.app/examples/git-authors/
- The “index” notes “recommendations.md” are now index.mdx and are hidden from the sidebar but are searchable. They present a directory listing of their respective notes.
- Redirect_from frontmatter does not work, this is now configured in
astro.config.mjsbut should really be deprecated entirely.- Need to audit for Bookstack links that still exist,
/docsto/is already being handled and that is all we will support
- Need to audit for Bookstack links that still exist,
/assets/has been deprecated. Markdown files in astro can only use relative paths to images so/src/assetswill be used.- rules page has been updated
- Includes are broken
- Terms
- Move menu to left of icon in m
- Clicking a header should change the URL (make them hrefs)