updated jx commands from 1.0.113
** PLEASE SEE https://github.com/jenkins-x/jx-docs **
Install the dependencies with Bundler:
$ bundle install
Run jekyll commands through Bundler to ensure you’re using the right versions:
jekyll
$ bundle exec jekyll serve
_docs
excluded_in_search: true
toc: true
site.show_full_navigation
The Dockerfile provided captures the static website generated in /_site and serves it using Nginx.
/_site
To build the container:
bundle exec jekyll build docker build -t jenkinsx/docs .
To run the container:
docker run -itd --name jenkinsxdocs --publish 8080:80 jenkinsx/docs
Thank you to CloudCannon for the template we are using for the Jenkins X documentation. You are awesome!
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
DEPRECATED!!!
** PLEASE SEE https://github.com/jenkins-x/jx-docs **
Develop
Install the dependencies with Bundler:
Run
jekyllcommands through Bundler to ensure you’re using the right versions:Editing
Documentation pages
_docsfolder.Search
excluded_in_search: trueto any documentation page’s front matter to exclude that page in the search results.Table of contents
toc: trueto any documentation page’s to include a table of contents for the pageNavigation
site.show_full_navigationto control all or only the current navigation group being open.Docker
The Dockerfile provided captures the static website generated in
/_siteand serves it using Nginx.To build the container:
To run the container:
Credits
Thank you to CloudCannon for the template we are using for the Jenkins X documentation. You are awesome!