fix(doc): Fixing default url of the documentation

This commit is contained in:
Quentin Bourgerie
2022-01-11 15:16:16 +01:00
committed by Ayoub Benaissa
parent 810f1ee9a3
commit f1db1755b9

View File

@@ -26,7 +26,7 @@ project = 'Concrete Compiler'
copyright = '2021, Zama'
author = 'Zama'
description = 'Concrete Compiler is part of Zama Concrete Framework that help you turn any program into its homomorphic equivalent.'
root_url = os.environ.get("DOC_ROOT_URL", "")
root_url = os.environ.get("DOC_ROOT_URL", "/concrete-compiler")
root_url = root_url if root_url.endswith('/') else root_url + '/'
# The full version, including alpha/beta/rc tags