Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

philips-forks/antora-site-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Antora Site GitHub Action

GitHub action that can be used to generate the Antora site.

It supports as opt-in the Lunr index generator for documentation search, and includes support for rendering PlantUML by default.

Parameters

The action accepts the following parameters:

  • antora_playbook — that specifies the Antora playbook path within the repository

  • site_sources_path — the path within $GITHUB_WORKSPACE from where to run the site generation

  • antora_generator — Select antora generator for site

  • antora_docsearch_enabled — Flag for enabling antora docsearch

  • antora_docsearch_index_version — Select the document version to be indexed

How to add to your action

name: "Generate site using antora site action"
uses: kameshsampath/antora-site-action@v0.3.0
with:
    antora_playbook: antora-playbook.yml
    # optional path within the repo, defaults to ${{github.workspace}}
    site_sources_path: 'site-sources-folder'

A complete example is available here.

How to add to your action for Lunr documentation search index

name: "Generate site and doc search index using antora site action"
uses: kameshsampath/antora-site-action@v0.3.0
with:
    antora_playbook: antora-playbook.yml
    # optional path within the repo, defaults to ${{github.workspace}}
    site_sources_path: 'site-sources-folder'
    antora_generator: 'antora-site-generator-lunr'
    antora_docsearch_enabled: 'true'

A complete example using Lunr is available here.

About

Antora Site generator GitHub action

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 71.0%
  • Dockerfile 29.0%