← Winnitude! Search  ·  Reader Mode (2037 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 96 LINKS

GitHub - stackabletech/documentation: Stackable's central documentation repository built on Antora

Repository navigation

documentation
Public

About

Stackable's central documentation repository built on Antora

docs.stackable.tech

Topics

documentation

Resources

Readme Apache-2.0 license Activity Custom properties

Stars

13 stars

Watchers

5 watching

Forks

14 forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


610 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.agents/ skills/ documentation-reviewer .agents/ skills/ documentation-reviewer    
.github .github    
lib lib    
modules modules    
scripts scripts    
supplemental-ui supplemental-ui    
ui ui    
.gitignore .gitignore    
.gitpod.Dockerfile .gitpod.Dockerfile    
.gitpod.yml .gitpod.yml    
.markdownlint.yaml .markdownlint.yaml    
.nvmrc .nvmrc    
.pre-commit-config.yaml .pre-commit-config.yaml    
.yamllint.yaml .yamllint.yaml    
AGENTS.md AGENTS.md    
LICENSE LICENSE    
Makefile Makefile    
README.adoc README.adoc    
antora-playbook.yml antora-playbook.yml    
antora.yml antora.yml    
generate_site.sh generate_site.sh    
gulpfile.js gulpfile.js    
local-antora-playbook.yml local-antora-playbook.yml    
netlify.toml netlify.toml    
only-dev-antora-playbook.yml only-dev-antora-playbook.yml    
package-lock.json package-lock.json    
package.json package.json    
renovate.json renovate.json    
truly-local-playbook.yml truly-local-playbook.yml    
typos.toml typos.toml    

Repository files navigation

Stackable Documentation

This is the main repository for the documentation of the Stackable platform. Have a look at the live version and the current nightly live version .

The documentation is built with Antora . This repository hosts the Antora playbook file as well as platform documentation. Other Stackable repos contain docs directories which are pulled in by this repo.

Repository structure

  • The antora.yml file defines the main home Component .

  • The various *-playbook.yml files are Antora playbook files used to build the docs, either locally or for production. The playbooks link to all the other repositories that contain content.

  • The modules directory contains the platform level documentation content.

Building locally

Dependencies : make, npm.

To build the site, install dependencies and run make:

$ npm ci
$ make
Note Antora caches the external content repos in the cache directory (configured to be ./cache). It will not automatically update those. Use the --fetch flag (make ANTORAFLAGS=--fetch) to update all sources, or use make clean to delete the cache and build directory.

Production deployment

The documentation is deployed by Netlify on a regular basis or when something is pushed to the main branch. To trigger an out of band deployment, use the Build and deploy production site GitHub action (internal contributors only).

Regular (nightly) deployments are run to pick up changes in the operator repositories. These repositories are not watched by Netlify and thus any changes to the documentation there would be ignored.

Netlify configuration

Netlify is configured with the netlify.toml file inside of the documentation repo. In there, the command make netlify-build is configured as the build command. Further documentation of the build process can then be found in the Makefile .

The build process creates a static site in build/site which is then published (as it is configured in the netlify.toml).

Development

Generating the documentation

During development, it can be helpful to use a playbook local-antora-playbook.yml which uses content from the local directory instead of the remote git repository. The playbook used by the Makefile can be overridden using the PLAYBOOK variable (run make PLAYBOOK=my-local-playbook.yml).

content:
  sources:
  - url: ./
    branches: HEAD

The design & layout lives in the ui/ directory of this repository.

To see UI changes rendered with real content, rebuild with make build-truly-local.

More useful links

About

Stackable's central documentation repository built on Antora

docs.stackable.tech

Topics

documentation

Resources

Readme Apache-2.0 license Activity Custom properties

Stars

13 stars

Watchers

5 watching

Forks

14 forks Report repository

Sponsor this project

Used by

Contributors

Languages