Open Terms Archive documentation.
This website is built using Hugo, a static website editor, and uses Node.js.
To build it, install Hugo and Node.js, and then:
git clone https://github.com/OpenTermsArchive/docs
cd docs
hugo
npm installhugoThe website will be built in the public directory.
For development purposes:
npm run start:devTo lint the Markdown files use the following command:
npm run lint:markdownTo apply automatic corrections use the following command:
npm run lint:markdown -- --fixTo lint the CSS files use the following command:
npm run lint:cssTo apply automatic corrections use the following command:
npm run lint:css -- --fixTo lint the JavaScript files use the following command:
npm run lint:jsTo automatically fix, where possible, problems reported:
npm run lint:js -- --fixThis work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
This means you are free to share (copy and redistribute the material in any medium or format) and adapt (remix, transform, and build upon the material for any purpose, even commercially) as long as you credit “Open Terms Archive contributors” as original author, provide a link to the license, and indicate which changes were made; and distribute your contributions under the same license as the original.