Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs site shows outdated version 0.0.1 #80

Open
cbm755 opened this issue Jul 7, 2024 · 2 comments
Open

docs site shows outdated version 0.0.1 #80

cbm755 opened this issue Jul 7, 2024 · 2 comments
Milestone

Comments

@cbm755
Copy link
Collaborator

cbm755 commented Jul 7, 2024

The title of the page mentions 0.0.1:

image

Something to fixup on next release?

@cbm755 cbm755 added this to the v0.3 milestone Jul 7, 2024
@cbm755
Copy link
Collaborator Author

cbm755 commented Jul 7, 2024

Yeah its hardcoded in docs/sources/conf.py:

project = "req2flatpak"
copyright = "2022, johannesjh"  # pylint: disable=redefined-builtin
author = "johannesjh"
release = "0.0.1"

cbm755 added a commit to cbm755/req2flatpak that referenced this issue Jul 7, 2024
Fixes Issue johannesjh#80.  Add comments to keep them in-sync but maybe we prefer
a technical solution.
@johannesjh
Copy link
Owner

It would alternatively also be possible to overwrite the html title, see https://stackoverflow.com/a/62182881. That would be simpler. (I think I'd prefer the simpler solution. My experience with such mechanisms in general that try to retrieve the current version number from somewhere, was that they were rather brittle, i.e., they stopped working when refactoring, worked locally but not in CI etc, that's why)

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

No branches or pull requests

2 participants