Commit 5940431e authored by Victor Zverovich's avatar Victor Zverovich

Don't exclude the current version from dropdown menu

parent 15008bf0
...@@ -92,7 +92,7 @@ def build_docs(version='dev', **kwargs): ...@@ -92,7 +92,7 @@ def build_docs(version='dev', **kwargs):
if p.returncode != 0: if p.returncode != 0:
raise CalledProcessError(p.returncode, cmd) raise CalledProcessError(p.returncode, cmd)
html_dir = os.path.join(work_dir, 'html') html_dir = os.path.join(work_dir, 'html')
versions = [v for v in ['3.0.0', '2.0.0', '1.1.0'] if v != version] versions = ['3.0.0', '2.0.0', '1.1.0']
check_call(['sphinx-build', check_call(['sphinx-build',
'-Dbreathe_projects.format=' + os.path.abspath(doxyxml_dir), '-Dbreathe_projects.format=' + os.path.abspath(doxyxml_dir),
'-Dversion=' + version, '-Drelease=' + version, '-Dversion=' + version, '-Drelease=' + version,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment