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 install
hugo
The website will be built in the public
directory.
For development purposes:
npm run start:dev
To lint the Markdown files use the following command:
npm run lint:markdown
To apply automatic corrections use the following command:
npm run lint:markdown -- --fix
To lint the CSS files use the following command:
npm run lint:css
To apply automatic corrections use the following command:
npm run lint:css -- --fix
To lint the JavaScript files use the following command:
npm run lint:js
To automatically fix, where possible, problems reported:
npm run lint:js -- --fix
This 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.