Documentation Page

This directory builds and publishes the Trento project’s unified documentation site using Antora.

The actual documentation content is maintained in separate upstream repositories:

How to Build and Preview the Site

1. Clone the Repository

git clone git@github.com:trento-project/docs.git;
cd docs/trento-docs-site

2. Install Dependency

npm i -D -E antora

3. Build Antora page

npx antora antora-playbook.yml

This will generate the site into the trento-docs-site-public/ folder.

4. Preview Locally

To preview the generated site in your browser, start a local static web server:

npx http-server trento-docs-site-public/ -c-1 -p 3000
  • -c-1: Disables caching

  • -p 3000: Runs the server on port 3000

Open your browser and visit: localhost at port 3000