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 install
to install Node.js dependencies. - Run
npm run dist
to 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
/WebDocument
directory, runnpm run docs-serve
in the command line. - 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.
- Replace
docs/66.6
text to your version name in global,docs/1.0
for example, and then modify directory namedocs/66.6
last. - Replace
docs_version: 66.6
todocs_version: 1.0
in_config.yml
. - Replace
webdocument.marstau.com
text to your websitedoc.abc.com
in global. - Replace
marstau/WebDocument
to your project nameyourname/yourPojectDocName
in global. - Replace
WebDocument
to your project nameyourPojectDocName
in 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_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.