Closed gazhands closed 8 years ago
Dan W. and I are pairing on this.
Deployment is set up:
develop
branch: http://dto-design-guide-develop.apps.staging.digital.gov.au/master
branch: http://dto-design-guide.apps.staging.digital.gov.au/ (not up yet since I haven’t pushed that branch yet).Brendan and Dan helped me: we modified the styleguide.data
gulp task to nest subsections in the JSON output.
the examples
gulp task appears broken however.
For personal referencing: https://kss-node.github.io/kss-node/api/master/module-kss.KssStyleGuide.html
- Styleguide sections are split out individually and need to be combined in a custom template
- Get tags to show up in guide from KSS comments
Done!
- Guide-specific styles (e.g. for colour swatches) need to be reapplied
Done.
Git flow is implied with the branch names (I’ve been naughty so far, just working in develop
straight at the moment).
(A) What’s left now
examples
) that builds these is broken in the UI-Kit repo at the moment and I’m unsure why. :S(B) Additional things we probably should do
accordions.md
in say, _patterns/accordions.md
) such that the content contained therein is intermixed with the content pulled from the uikit’s SASS source (via JSON).(C) To go live
(B) 1 needs to be addressed when we decide on the IA, but I can make headway here in the interim since we already know we want to be able to add ad-hoc pages and have them sit in the “guide”, and for those sections where we have living style guide SASS comments we want to be able to have this content automatically mixed and presented on the same page.
From a technical angle, I was thinking of using Jekyll Collections to achieve this — we’d have at least 3 collections (Foundations, Components, Patterns).
Please discuss ^
@klepas are we removing the Google Analytics as discussed, until we have the privacy policy sorted?
@joolswood Yup, I’ve already commented it out of _config.yml
.
Hey @klepas from what you've explained of how Jekyll Collections work it sounds like the best route.
We also need to resolve the (potential) problem of confusion arising from KSS guidance comments being presented in code block as well as md guidance.
I'm hoping to be able to jump on to C1 in next sprint. Part of the issue is not being able to as yet host local builds with a working nav. I could work on it without it, but so much easier if I can prototype the content with real navigation in place.
Do you need anything else for now @klepas ?
@klepas will split this work into individual issues
I have split the remaining items here up into:
As a proof of concept I've (re)created the Design Guide in Jekyll. The new site is close to production-ready.
Done
Not yet done
To go live
GitHub https://github.com/AusDTO/dto-design-guide
Handy links