-
Notifications
You must be signed in to change notification settings - Fork 9
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
Change the documentation URL on GitHub to point to the stable version #102
Comments
Fixed Thanks @ocefpaf |
Thanks! That was fast. BTW, I'm not an expert on poetry and poetry's way of handling version but I noticed two things:
I can fix that if you choose to move to setuptools_scm but I bet a poetry expert can easily fix this here without the need to move to another way of handling versions. |
As far as __version__ = importlib.metadata.version(__name__) This wouldn't help someone who just browses the code, but you could use Regardless of that, we are using a poetry plugin for handling the versions: https://pypi.org/project/poetry-dynamic-versioning/ I am quite familiar with poetry, but It's the first time I use this plugin so I wouldn't call myself an expert on it. Anyhow, the idea is that the version gets generated dynamically depending on the number of commits that have passed since the latest tag. For example:
Which means that the current master is 8 commits after the 0.3.5 tag. Now the Line 74 in 07ab9ed
I will check it out. |
+1 Importlib metadata is for devs. Users still rely on the recorded dunder version a lot. |
Hi folks, please ignore if pointing to the latest is by design but it is probably easier for end user if the default doc URL, shown in the image below, points to the stable version at https://searvey.readthedocs.io/en/stable/
The text was updated successfully, but these errors were encountered: