muffinresearch / cog-style-guide Goto Github PK
View Code? Open in Web Editor NEWCOG static, living styleguide generator
License: Other
COG static, living styleguide generator
License: Other
I can imagine both wanting to group collections of pages (use dirs?) or just simply order pages in a different order to how they naturally appear based on the iteraction over the .md files in the dir.
Currently the paths are expressed from / which means:
The builder needs a lot more tests to cover everything it does.
This will allow a desktop only page to start in the correct size.
I can see a need to categorize the pages in the styleguide so instead of a nav that's a flat list like so:
You can have:
Index
Doing this could be based on putting the markdown in dirs. This way the dirs could inform the categories. Underscores and hyphens could be converted to spaces in the titles.
If nesting is used the lookup of templates / config files should at the following paths in order:
So you can optionally nest everything or just the markdown. This would also then mean you can have the same baseName in multiple places if you really wanted to.
Currently there's a single template render function. This can be overridden but this would then mean you'd be overriding the renderer for cog as well as the renderer for the iframed templates.
For most use-cases if a different template system is required it's going to just be a case of changing the iframe generation template renderer. Let's make that easier.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.