Skip to content

doc: Add GitHub Pages and streamline python package version management#1

Open
John15321 wants to merge 1 commit intomainfrom
john15321/add-pages
Open

doc: Add GitHub Pages and streamline python package version management#1
John15321 wants to merge 1 commit intomainfrom
john15321/add-pages

Conversation

@John15321
Copy link
Copy Markdown
Member

dd GitHub Pages deployment for Sphinx docs with versioned URLs (dev from main, /stable/ and /X.Y.Z/ from release tags), remove the unused __main__.py module, and switch __version__ in __init__.py to use importlib.metadata so the package version is sourced from pyproject.toml instead of being hardcoded, keeping it in sync with the semantic-release pipeline. The docs workflow preserves previously deployed versions across builds and generates a root redirect to the latest stable release.

Signed-off-by: Jan Bronicki <janbronicki@gmail.com>
@John15321 John15321 changed the title doc: Add GitHub Pages and streamline python package version mngmnt doc: Add GitHub Pages and streamline python package version management Apr 3, 2026
@John15321
Copy link
Copy Markdown
Member Author

When it comes to the github pages docs: Im not sure as for the GitHub Pages deployment, as I havent done that with Sphinx previously (the code is mainly from online sources and copilot)

@John15321 John15321 marked this pull request as ready for review April 3, 2026 13:14
@John15321 John15321 requested a review from a team as a code owner April 3, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant