GithubHelp home page GithubHelp logo

alexxnica / docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dat-ecosystem-archive/docs

0.0 0.0 0.0 4.99 MB

Documentation resources for dat and the surrounding ecosystem

Home Page: http://docs.datproject.org/

CSS 79.03% JavaScript 11.31% Shell 9.66%

docs's Introduction

Dat Project Documentation

Repository for the documentation of the Dat Project ecosystem. View the docs at docs.dat-data.com.

#dat IRC channel on freenode datproject/discussions docs

Writing & Editing Docs

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.

Development

This documentation uses minidocs for layout, ecosystem-docs to get documentation from other modules, and ideas from pull-stream-docs for auto travis deployment.

Viewing Docs Locally

  1. Clone Repository
  2. npm install
  3. npm run build:local to build the docs for local viewing
  4. npm run update to update external modules
  5. npm run start to view the docs in browser

Deployment

This repository uses netlify for deployment. Deployment will happen automatically.

It works this way:

  • Git webhook tells netlify there is new content
  • netlify pulls latest repo
  • netlify automatically runs npm install
  • netlify runs the build script sh scripts/netlify.sh, which:
    • sets git config so we can use ecosystem-docs and pull latests readme files
    • runs npm run netlify which updates remote repos and builds.
  • deploys /dist to the web

NPM Commands

Local Docs Preview:

  • npm update: update external module readme files
  • npm run build:local: build app & css for local viewing
  • npm start: start budo server to view locally

Other commands:

  • npm run build:css: build css, runs with both build commands
  • npm run watch:css: watch css live and build:local with changes
  • npm run paper: create the paper with pandoc

License

ISC

docs's People

Contributors

balupton avatar clkao avatar emilbayes avatar gesslerpd avatar joehand avatar jonahgeorge avatar juliangruber avatar karissa avatar mafintosh avatar maxogden avatar okdistribute avatar olizilla avatar pfrazee avatar sethvincent avatar zeke avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.