Roles¶
-
:version-ref:¶ version-reftakes its argument, replaces all occurrences of{version}in it by the string set by theversionconfiguration variable and similarly for all occurrences of{release}. Then it will proces its argument as if it were a normal URI.Example
Some text in which I would like to reference to this specific version's repository :version-ref:`See version {version} here! <https://github.com/max-sn/sphinx_version_ref/tree/{release}>`Some text in which I would like to reference to this specific version’s repository See version 0.2 here!