Skip to content

Commit

Permalink
feat: support rc version
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Jan 30, 2024
1 parent a27a793 commit e099545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def get_doc_description(doc):


def get_doc_version(doc):
pattern = r'/v(\d+\.\d+)/'
pattern = r'/v(\d+\.\d+)(rc)?/'
match = re.search(pattern, doc.metadata['source'])

if match:
Expand Down

0 comments on commit e099545

Please sign in to comment.