Skip to content

jenkins-infra/docs.jenkins.io

Jenkins Documentation

This repository hosts parts of the documentation of jenkins.io.

  • Developer Guide

  • User Guide

  • Tutorials

  • Solutions Pages

  • Books

How to Build the Versioned Documentation Locally with Antora

The documentation site for Jenkins is split into two parts:

  1. Version-controlled documentation (managed using Antora)

  2. Non-versioned documentation (using Vite.js for rendering the non-versioned portion of the static website)

This guide focuses on building the version-controlled documentation using Antora.

Installing the Prerequisites

  1. Install Node.js and npm

    It is recommended to install Node.js and npm using the Node Version Manager (nvm): * NVM repository: [https://github.com/nvm-sh/nvm](https://github.com/nvm-sh/nvm)

    + Alternatively, you can download and install Node.js from the official Node.js website:

  2. Install Antora CLI

    Antora is used for generating versioned documentation. Install it globally via npm:

    npm install -g @antora/cli @antora/site-generator-default

Installing Project Dependencies

Once Node.js, npm, and Antora are installed, install the dependencies by running the following command at the root of the repository:

npm i

Building the Versioned Docs

To build and serve the site locally, use the provided Makefile. Run this command at the root of the repository:

make all

Once the site is up and running, it should be available locally at:

Documentation Structure

  • Antora Documentation: This version-controlled documentation covers different guides (e.g., Developer Guide, User Guide).

For more details on running the project, refer to the detailed documentation in the README.md file:

Contributing

If you have any queries or contributions or updates for the documentation, feel free to create an issue and/or submit a pull request.

About

Versioned docs of jenkins.io under development

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors