Skip to content

Conversation

@EMaksy
Copy link
Member

@EMaksy EMaksy commented Nov 18, 2025

Description

This pr helps contributors quickly to preview their new changes to the antora page without setting up antora dependencies on your host.
If you have podman/docker installed just run docker-compose up and it will build the the documentation page for your selected branch

I think this is easier then having to install dependencies every time on a new host, like in this guide
https://www.trento-project.io/docs/developer/trento-docs-site/README.html#_1_clone_the_repository

Demo

Screencast.From.2025-11-18.16-09-03.mp4

@EMaksy EMaksy self-assigned this Nov 18, 2025
@EMaksy EMaksy added the enhancement New feature or request label Nov 18, 2025
trento-docs:
image: node:20-bullseye
volumes:
- .:/workspace:z
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added :z for selinux enforcing issues


. **Start the Preview**
+
Navigate to the root directory of the repository and run the following command. This starts the build process inside a container:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Navigate to the root directory of the repository and run the following command. This starts the build process inside a container:
To start the build process inside a container, navigate to the root directory of the repository and run the following command:

Copy link
Collaborator

@abravosuse abravosuse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on what I see in the video, it LGTM!

Copy link
Contributor

@jagabomb jagabomb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! This works for better for me on a mac. 😄

Copy link
Member

@nelsonkopliku nelsonkopliku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@EMaksy EMaksy merged commit 2fe5eab into main Nov 19, 2025
1 check passed
@EMaksy EMaksy deleted the antora-docker-setup branch November 19, 2025 09:07
EMaksy added a commit that referenced this pull request Nov 28, 2025
* Add local docs build

* Fix selinux permission

* Add workflow guide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

7 participants