Skip to content

Make documentation building more deterministic#4862

Open
LecrisUT wants to merge 1 commit into
teemtee:mainfrom
LecrisUT:docs/deterministic
Open

Make documentation building more deterministic#4862
LecrisUT wants to merge 1 commit into
teemtee:mainfrom
LecrisUT:docs/deterministic

Conversation

@LecrisUT
Copy link
Copy Markdown
Member

@LecrisUT LecrisUT commented May 6, 2026

I don't really think we have useful usecases for this and it would be better to be able to replicate the exact documentation state we see in RTD. If the user wants to play around with the themes, they should do it by changing the dependencies, files live.

Signed-off-by: Cristian Le <git@lecris.dev>
@LecrisUT LecrisUT added the ci | full test Pull request is ready for the full test execution label May 6, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request simplifies the documentation configuration by removing dynamic theme loading, environment variable overrides for styles, and the readthedocs-sphinx-ext dependency. Feedback indicates that removing the sys.path modification may break autodoc and local extension discovery if the package is not pre-installed in the build environment.

I am having trouble creating individual review comments. Click here to see my feedback.

docs/conf.py (93)

high

Removing sys.path.insert breaks autodoc and local extension discovery if the package is not installed in the environment. Ensure tmt and tmt_setup remain importable in the build environment, or consider keeping the path manipulation for local development convenience.

@thrix thrix added this to planning May 13, 2026
@github-project-automation github-project-automation Bot moved this to backlog in planning May 13, 2026
@thrix thrix moved this from backlog to implement in planning May 13, 2026
@thrix thrix moved this from implement to review in planning May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci | full test Pull request is ready for the full test execution

Projects

Status: review

Development

Successfully merging this pull request may close these issues.

2 participants