Skip to content

Commit

Permalink
Merge pull request #3360 from flairNLP/fix_doc_build
Browse files Browse the repository at this point in the history
fix tags pattern and update version
  • Loading branch information
alanakbik authored Oct 27, 2023
2 parents bce1ef9 + 5a9c9ab commit ceea719
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# -- Project information -----------------------------------------------------
from sphinx_github_style import get_linkcode_resolve

version = "0.12.2"
release = "0.12.2"
version = "0.13.0"
release = "0.13.0"
project = "flair"
author = importlib_metadata.metadata(project)["Author"]
copyright = f"2023 {author}"
Expand Down Expand Up @@ -113,7 +113,7 @@ def linkcode_resolve(*args):
smv_latest_version = importlib_metadata.version(project)

# Whitelist pattern for tags (set to None to ignore all tags)
smv_tag_whitelist = r"^\d+\.\d+\.\d+$"
smv_tag_whitelist = r"^v\d+\.\d+\.\d+$"

# Whitelist pattern for branches (set to None to ignore all branches)
smv_branch_whitelist = r"^master$"
Expand All @@ -122,7 +122,7 @@ def linkcode_resolve(*args):
smv_remote_whitelist = r"^origin$"

# Pattern for released versions
smv_released_pattern = r"^refs/tags/\d+\.\d+\.\d+$"
smv_released_pattern = r"^refs/tags/v\d+\.\d+\.\d+$"

# Format for versioned output directories inside the build directory
smv_outputdir_format = "{ref.name}"
Expand Down

0 comments on commit ceea719

Please sign in to comment.