datproject / docs
- суббота, 27 мая 2017 г. в 03:11:40
TeX
Documentation resources for dat and the surrounding ecosystem
Repository for the documentation of the Dat Project ecosystem. View the docs at docs.datproject.org.
See docs folder for information on editing and adding docs. Once you finish editing the docs, send a PR to the deploy branch to get the edits automatically deployed.
See this gist for more information on how the paper is created with a basic example.
To generate the paper again, make sure you have pandoc and pandoc-citeproc:
brew install pandoc pandoc-citeproc
Then run the npm script:
npm run paper
This documentation uses minidocs for layout, ecosystem-docs to get documentation from other modules, and ideas from pull-stream-docs for auto travis deployment.
npm installnpm run build:local to build the docs for local viewingnpm run update to update external modulesnpm run start to view the docs in browserThis repository uses netlify for deployment. Deployment will happen automatically.
It works this way:
npm installsh scripts/netlify.sh, which:
ecosystem-docs and pull latests readme filesnpm run netlify which updates remote repos and builds./dist to the webnpm update: update external module readme filesnpm run build:local: build app & css for local viewingnpm start: start budo server to view locally