All Projects β†’ jenkins-x β†’ jx-docs

jenkins-x / jx-docs

Licence: Apache-2.0 license
Source code used to build the Jenkins X documentation and website

Programming Languages

HTML
75241 projects
SCSS
7915 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to jx-docs

docs
Altinn documentation.
Stars: ✭ 17 (-80.23%)
Mutual labels:  docs, hugo
cpeditor.github.io
The official website of CP Editor πŸ“
Stars: ✭ 17 (-80.23%)
Mutual labels:  docs, hugo
yard-junk
Get rid of the junk in your YARD docs
Stars: ✭ 61 (-29.07%)
Mutual labels:  docs
hugo-zen
Hugo Zen is a minimal hugo theme.
Stars: ✭ 90 (+4.65%)
Mutual labels:  hugo
kata-platform-docs
Documentations for the Kata Platform.
Stars: ✭ 56 (-34.88%)
Mutual labels:  docs
roll.urown.net
How to roll your own private self-hosted internet services.
Stars: ✭ 63 (-26.74%)
Mutual labels:  docs
bulma
Bulma is a simple and a responsive Hugo theme that offers a traditional blog mixed with a landing page designed to bootstrap your frontend!.
Stars: ✭ 41 (-52.33%)
Mutual labels:  hugo
hugo-theme-fluency
A fluent hugo theme.
Stars: ✭ 48 (-44.19%)
Mutual labels:  hugo
exitwp-for-hugo
Exitwp is tool primarily aimed for making migration from one or more Wordpress blogs to the Hugo blog engine as easy as possible.
Stars: ✭ 43 (-50%)
Mutual labels:  hugo
collective
How the unified collective is governed
Stars: ✭ 41 (-52.33%)
Mutual labels:  docs
hugo-bin
Binary wrapper for Hugo
Stars: ✭ 74 (-13.95%)
Mutual labels:  hugo
docs
Documentation site for LFE
Stars: ✭ 23 (-73.26%)
Mutual labels:  docs
coopcycle-website
The coopcycle.org website.
Stars: ✭ 14 (-83.72%)
Mutual labels:  hugo
verto-docs
Verto jQuery library documentation.
Stars: ✭ 49 (-43.02%)
Mutual labels:  docs
readme-in-static-site
πŸ’Ž Transform and insert your GitHub readme in your static site.
Stars: ✭ 24 (-72.09%)
Mutual labels:  hugo
blog
Personal blog on computer science and software engineering.
Stars: ✭ 18 (-79.07%)
Mutual labels:  hugo
hugo-notice
A Hugo theme component to display nice notices
Stars: ✭ 138 (+60.47%)
Mutual labels:  hugo
thelounge.github.io
🌍 β€Ž The official website for The Lounge
Stars: ✭ 33 (-61.63%)
Mutual labels:  docs
awesome-docs
A curated list of awesome documentation tools
Stars: ✭ 163 (+89.53%)
Mutual labels:  docs
resharper-devguide
Developer guide for the ReSharper Platform
Stars: ✭ 65 (-24.42%)
Mutual labels:  docs

δΈ­ζ–‡ Gitpod ready-to-code

Jenkins X Docs

This repository contains the source files for jenkins-x.io

NOTE: Please browse these docs on jenkins-x.io. Not all links work when browsing the Markdown files inside this repository.



Building the docs

Preparing the sources

To edit the docs locally, you need to clone this repository:

git clone  --recurse-submodules --depth 1 https://github.com/jenkins-x/jx-docs.git

Git submodules

Notice the use of --recurse-submodules in the clone command above. This option will pull in two git submodules, namely
docsy and labs-enhancements. If you already have a git clone without the submodules checked out you can run:

git submodule update --init --recursive

In subsequent updates of the sources via git pull also remember to pull the changes from the submodules:

git pull --recurse-submodules

you can view the commit sha of the sub-modules via:

git submodule status --recursive

Downloading npm modules

After getting all the sources, you need to install npm and make sure the required npm modules are installed:

npm install

Running Hugo

The site itself is built with Hugo and configured in config.toml. You have two options to run Hugo, either directly on your machine or via Docker Compose. The following two sections describe the two alternatives in more detail.

NOTE: Hugo renders the site in memory in development mode. Per default, no content is written to disk.

Locally

If you want to build the site locally on your machine, you need to install Hugo. Check the Makefile for the latest recommended version use and check whether the environment variables of Golang are set. Set the env variable HUGO_GH_ACCESS_TOKEN to a github token that can read from jenkins-x/jx repo to allow the contributors plugin to run.

Once installed, you can run:

make server

You can now access the site under localhost:1313.

Dockerized

Instead of installing Hugo locally, you can use the provided docker-compose.yml to spin up the Hugo server in a containerized environment. Make sure you have Docker installed.

make compose-up

You can now access the site under localhost:1313. The Hugo server is running in the background. You can stop it via:

make compose-down

Common Workflows

Running spell check

We are not all masters of spelling, so luckily there are tools to help us fix that. We are using node-markdown-spellcheck to run through all our markdown files and list any spelling issue or unknown word.

To make this as simple as possible, just run the following command:

make spellcheck

The report likely includes words that are spelt correctly, but that just means the spell checker is not aware of the correct spelling (happens a lot for technical terms, commands, etc.). Please edit .spelling and add the unknown word. Also, please try and keep the list alphabetically sorted, which makes it easier to navigate.

Checking links, images, etc

To get help in checking all the links, we'll use htmlproofer.

make linkcheck

NOTE: The initial run is really slow (due to external link checks) and that the cache is only build up when it finishes.

NOTE:: It's safe to ignore the ... x509: certificate ... errors for now

Adding redirects

If you move a page to a different location you can add a redirect via using an aliases entry in the header of the page:

aliases:
  - /some/old/path
  - /another/path

Upgrading the enhancements content

To upgrade to a new enhancements commit - we'll hopefully automate this soon!

cd content/en/docs/labs/enhancements
git checkout master
git pull
cd ..
git add enhancements
git commit -m "move to latest enhancements"

Upgrading docsy

Docsy is added to the jx-docs repository as a submodule under the themes directory. To update docsy, run the following commands:

cd themes/docsy
git pull origin master
git submodule update --init --recursive

Localization

To let more people know Jenkins X better, localization is essential and meaningful. And we should keep some rules about this, please read related languages below:

Contributing

Please refer to the documentation contributing guide available at Jenkins X website.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].