WebDocument

Sleek, intuitive, and powerful front-end framework for faster and easier web development.
Explore WebDocument docs »

Report bug · Request feature


Table of contents

Running documentation locally

  1. Run through the tooling setup to install Jekyll (the site builder) and other Ruby dependencies with bundle install.
  2. Run npm install to install Node.js dependencies.
  3. Run npm run dist to generate dist directory.
  4. Run npm run test (or a specific NPM script) to rebuild distributed CSS and JavaScript files, as well as our docs assets.
  5. From the root /WebDocument directory, run npm run docs-serve in the command line.
  6. Open http://localhost:9001 in your browser, and voilà.

caution: if run bundle install occurs error, use sudo bundle install instead.

Learn more about using Jekyll by reading its documentation.

Modify to yourself project document

  1. Replace docs/66.6 text to your version name in global, docs/1.0 for example, and then modify directory name docs/66.6 last.
  2. Replace docs_version: 66.6 to docs_version: 1.0 in _config.yml .
  3. Replace webdocument.marstau.com text to your website doc.abc.com in global.
  4. Replace marstau/WebDocument to your project name yourname/yourPojectDocName in global.
  5. Replace WebDocument to your project name yourPojectDocName in global.

Publish to github

  1. Create and push to gh-pages.
git subtree push --prefix=build origin gh-pages
  1. Compile project, run npm run dist, then run npm run docs-compile.

  2. Push sub directory _gh_pages to gh-pages branch.

Code and documentation copyright 2011-2018 Bootstrap Authors and Twitter, Inc. Code released under the MIT License. Docs released under Creative Commons.

From

Denote

jekyll logo

Want a Jekyll website built?

Hire a Jekyll developer