Build with Bridgetown Static Site Generator (SSG).
- page content is written in Markdown or HTML
- templating is written with Liquid language (could be ERB / Haml / Slim)
- style is written in Sass
src/_docscontains the documentation content tree. Order is given by theorderFront Matter value at the top of each filesrc/assetscontains all the assets (svg, images, files, etc...) used inside pagessrc/_componentscontains Liquid Components wich can be used inside layout or even Markdown contentfrontendcontains the JS and Sass files bundled by webpackersrc/_data,src/_layoutshould be self explanatory and is detailed in the Bridgetown documentation
Trigerring deployement to DSIN server should be provided.
A Github Action is set to build & deploy the static site to https://parisnumerique.github.io/design-system on any commit to master branch.
Deploying to Netlify allow us not to change url and baseurl config. Hence, the static site deployed is identical to the one run in local.
Deployment is automated by a push to the following Gitlab repo : acekat/design-system
Live site can be reached there : https://paris-design-system.netlify.app/