目录

DEPRECATED!!!

** PLEASE SEE https://github.com/jenkins-x/jx-docs **

Develop

Install the dependencies with Bundler:

$ bundle install

Run jekyll commands through Bundler to ensure you’re using the right versions:

$ bundle exec jekyll serve

Editing

Documentation pages

  • Add, update or remove a documentation page in the Documentation collection.
  • Change the category of a documentation page to move it to another section in the navigation.
  • Documentation pages are organised in the navigation by category, with URLs based on the path inside the _docs folder.
  • Add excluded_in_search: true to any documentation page’s front matter to exclude that page in the search results.

Table of contents

  • Add toc: true to any documentation page’s to include a table of contents for the page
  • Change site.show_full_navigation to control all or only the current navigation group being open.

Docker

The Dockerfile provided captures the static website generated in /_site and serves it using Nginx.

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

Credits

Thank you to CloudCannon for the template we are using for the Jenkins X documentation. You are awesome!

邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号