Commit graph

10 commits

Author SHA1 Message Date
Yann Bertrand
98ca96c17b 🔥 Keep the production build folder only 2022-08-18 11:08:08 +02:00
Cameron Little
32cf426956 Add support for spaces (and other specials) in keys
Currently, page url generation (slugification) is just toLowerCase. In https://github.com/yannbertrand/macos-defaults/pull/146 I add some defaults that contain keys with spaces, which currently breaks.

This pulls in `slugify` to add support, and shell escapes keys in examples.
2021-04-06 20:53:41 +02:00
Yann Bertrand
7cb2d44377 🐛 Fix meta tags double quotes escaping 2021-04-05 20:10:03 +02:00
Cameron Little
2bc15fe0de 🩹 Improve markdown support
This improves markdown support within descriptions. Currently, adding multiline text blocks in the defaults.yml file breaks, because the generated head meta tags content includes that whitespace as is and breaks the generated yaml contents. Now, meta tag content is stringified
as JSON, which is yaml compliant. The final html meta tag contains the markdown as is. Also currently, markdown descriptions inserted into the
content can interact with subsequent content (if you end with a list it'll cause funky interaction with the following content). That's fixed by inserting a "break" between (done on categores and pages).
2021-04-05 20:10:03 +02:00
Yann Bertrand
39cc31f013 💄 Use better template semantics and add new capabilities
* Document requirements in schema
* Add support for non-generated example titles
* Escape example values for use in shell
* Rename "delete current value" to "reset to default value" to better explain what it does
2021-04-04 13:19:49 +02:00
Yann Bertrand
71eb300dd6
Allow to display a delete alert message 2020-11-13 12:22:04 +01:00
Yann Bertrand
3a65f06188
🔖 Set netlify production URL 2020-09-26 20:24:54 +02:00
Yann Bertrand
3eb3fa5605
♻️ Normalize templates
- Allow special chars in category name and page title
- Improve HTML image attributes readibility
- Prod: allow double quotes in category and page descriptions
2020-09-26 20:24:54 +02:00
Yann Bertrand
d7287ed5e5
🔍 Add social meta tags 2020-09-20 20:15:19 +02:00
Yann Bertrand
4978266d5a
🚚 Copy the vuepress folder to the production one 2020-09-20 20:00:59 +02:00