Skip to content

Commit

Permalink
chore: tweak the version string for the docs
Browse files Browse the repository at this point in the history
A pre-release version string like "0.0.post331+gf384f61" can confuse the
spellchecker (complains that "gf" is not a word).
  • Loading branch information
tigarmo committed Nov 3, 2023
1 parent e7e3091 commit 2ae4796
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@

# The full version, including alpha/beta/rc tags
release = rockcraft.__version__
if ".post" in release:
# The commit hash in the dev release version confuses the spellchecker
release = release[0 : release.find(".post")]

# Update with the favicon for your product
html_favicon = "_static/favicon.png"
Expand Down

0 comments on commit 2ae4796

Please sign in to comment.