Wykres commitów

11 Commity (f2be5d12b38455d8dfff49beaf61a7c5abc0af20)

Autor SHA1 Wiadomość Data
Atul Varma 3e1b66a984
Add support for TOML symbol metadata. (#33)
This fixes #20 by adding support for TOML-based metadata for symbols.

There's now a template TOML file in `svg/_template.toml` that documents all the different metadata properties.  The file can be copied to match the name of an SVG file (but with a `.toml` extension) and it will be processed by the vocabulary builder when the site is generated.

Currently there are only two properties documented, `always_nest` and `always_be_nested` (as per the needs outlined in https://github.com/toolness/mystic-symbolic/issues/17#issuecomment-786696966), but they don't actually do anything yet (actual support for _using_ the metadata will come in another file).

Right now the TOML files are validated quite stringently: if a file contains the name of a property it doesn't understand, or the type of the property is wrong, it will raise an error. We can revisit this if it becomes burdensome.
2021-02-26 21:30:38 -05:00
Atul Varma 6dfa738548 Add test suite. 2021-02-16 06:21:51 -05:00
Atul Varma 11c27b905f Make attachment point code more DRY. 2021-02-15 09:13:00 -05:00
Atul Varma b441b10493 Add typecheck script. 2021-02-13 19:27:25 -05:00
Atul Varma 67d8c8f3e2 Clear dist dir before building for deploy. 2021-02-03 20:35:19 -05:00
Atul Varma 72505ac1ff Add deploy script. 2021-02-03 20:08:18 -05:00
Atul Varma ac11ec8227 add 'npm run build' script. 2021-02-03 20:06:35 -05:00
Atul Varma f0960d4280 use react. 2021-02-03 19:11:34 -05:00
Atul Varma a4a1013a8c Add more stuff. 2021-02-02 20:09:49 -05:00
Atul Varma e507f6311d remove fill, stroke attrs 2021-02-02 19:40:56 -05:00
Atul Varma 1a4c8adc41 Origination. 2021-02-02 19:26:40 -05:00