sprblm / dots-patterns

Patterns for decentralized protocols and applications.
108 stars 11 forks source link

Prepare directory structure for illustrations #53

Closed cafca closed 3 years ago

cafca commented 3 years ago

To make a space for assets related to each pattern, e.g. the main illustration, I am moving each pattern into a subdirectory.

All markdown files are now named index.md. If this creates usability issues for library editors it's possible to find a solution for this later. For now, I suggest to do it like this.

Illustrations can now be added to each pattern just by adding a file named illustration.svg into the folder of a pattern. C.f. example in social-radius-slider.

edit: I squeezed in something else here: links to patterns in the markdown files that are formatted like [[wiki links]] will be turned into links to the respective patterns and appear in the "related patterns" section in https://github.com/simplysecure/dots-website/pull/79.