Skip to content

Commit

Permalink
Reuse version doc
Browse files Browse the repository at this point in the history
  • Loading branch information
adferrand committed Jan 17, 2022
1 parent 4e6743c commit 5d922ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@

lexicon_version = [package for package in poetry_lock["package"] if package["name"] == "dns-lexicon"][0]["version"]
intersphinx_mapping = {
'lexicon': (f'https://dns-lexicon.readthedocs.io/en/latest/', None),
'lexicon': (f'https://dns-lexicon.readthedocs.io/en/v{lexicon_version}/', None),
}

0 comments on commit 5d922ba

Please sign in to comment.