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

Add automatic version number to documentation #129

Merged
merged 2 commits into from
Feb 12, 2019

Conversation

heinovski
Copy link
Contributor

@heinovski heinovski commented Feb 12, 2019

This PR adds an automatically generated version number to the generated documentation. The version number is generated from the git tag, or, if no tag is available, from the commit hash.

I unit-tested the script with directories which are not a git repository as well as without or with other tags. In all test cases it worked well. It should even work without having git installed.

@heinovski heinovski mentioned this pull request Feb 12, 2019
@sommer sommer merged commit d81b4a1 into sommer:master Feb 12, 2019
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.

3 participants