We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d14754 commit 2baf31dCopy full SHA for 2baf31d
docs/source/conf.py
@@ -80,9 +80,19 @@ def setup(app):
80
# built documents.
81
#
82
# The short X.Y version.
83
-version = '0.1'
+import repo2docker
84
+version = repo2docker.__version__
85
# The full version, including alpha/beta/rc tags.
-release = '0.1'
86
+release = version
87
+
88
+from repo2docker.buildpacks.conda import CondaBuildPack
89
90
+default_python = CondaBuildPack.major_pythons['3']
91
92
+rst_prolog = """
93
+.. |default_python| replace:: **Python {default_python}**
94
+.. |default_python_version| replace:: {default_python}
95
+""".format(default_python=default_python)
96
97
# The language for content autogenerated by Sphinx. Refer to documentation
98
# for a list of supported languages.
0 commit comments