Skip to content

Commit

Permalink
Fixed branch not found bug when selecting branches
Browse files Browse the repository at this point in the history
  • Loading branch information
devanshshukla99 committed Mar 7, 2024
1 parent 8f6b7f4 commit 95863ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_versioned/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def main(
:class:`sphinx_versioned.build.VersionedDocs`
"""
if select_branches:
select_branches = re.split(",|\ ", select_branches)
select_branches = re.split("[,|\ ]+", select_branches)

EventHandlers.RESET_INTERSPHINX_MAPPING = reset_intersphinx_mapping

Expand Down

0 comments on commit 95863ba

Please sign in to comment.