Commit eca46867 authored by garciadeblas's avatar garciadeblas
Browse files

Updated tox and conf to generate develop and latest versions of documentation


Signed-off-by: garciadeblas's avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent a9f75085
Pipeline #11822 failed with stages
in 20 seconds
......@@ -97,13 +97,13 @@ html_logo = 'assets/osm_logo.svg'
smv_current_version = 'latest'
#smv_tag_whitelist = None
#smv_tag_whitelist = r'^v\d+\.\d+$'
smv_tag_whitelist = 'latest'
smv_tag_whitelist = r'(latest|develop)'
#smv_branch_whitelist = None
#smv_branch_whitelist = r'^v\d+\.\d+$'
smv_branch_whitelist = r'(v13|v12|v11|v10)'
smv_branch_whitelist = r'(v14|v13|v12|v11|v10)'
#smv_remote_whitelist = 'None'
smv_remote_whitelist = r'(origin)'
smv_released_pattern = r'(latest|v13|v12|v11|v10)'
smv_released_pattern = r'(latest|v14|v13|v12|v11|v10|develop)'
#smv_outputdir_format = 'versions/{config.release}' # Use "versions" as parent directory and the "release" variable from conf.py
#smv_outputdir_format = 'versions/{ref.name}'
......@@ -50,12 +50,19 @@ commands =
[testenv:build]
deps = {[testenv]deps}
commands =
- git tag -d latest
- git tag -d develop
git tag latest v14
git tag develop master
rm -rf _build/html
sphinx-multiversion . _build/html
sh -c 'sphinx-multiversion . _build/html'
sh -c './fix_cross_references.sh'
git tag -d latest
git tag -d develop
allowlist_externals =
sh
rm
git
#######################################################################################
[testenv:run]
......
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