Sleek, intuitive, and powerful front-end framework for faster and easier web development.
Explore WebDocument docs »
Report bug
·
Request feature
- Running documentation locally
- Modify to yourself project document
- Publish to github
- Copyright and license
- From
- Denote
- Run through the tooling setup to install Jekyll (the site builder) and other Ruby dependencies with
bundle install. - Run
npm installto install Node.js dependencies. - Run
npm run distto generate dist directory. - Run
npm run test(or a specific NPM script) to rebuild distributed CSS and JavaScript files, as well as our docs assets. - From the root
/WebDocumentdirectory, runnpm run docs-servein the command line. - Open
http://localhost:9001in 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.
- Replace
docs/66.6text to your version name in global,docs/1.0for example, and then modify directory namedocs/66.6last. - Replace
docs_version: 66.6todocs_version: 1.0in_config.yml. - Replace
webdocument.marstau.comtext to your websitedoc.abc.comin global. - Replace
marstau/WebDocumentto your project nameyourname/yourPojectDocNamein global. - Replace
WebDocumentto your project nameyourPojectDocNamein global.
- Create and push to gh-pages.
git subtree push --prefix=build origin gh-pages
-
Compile project, run
npm run dist, then runnpm run docs-compile. -
Push sub directory
_gh_pagesto 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.