Skip to content
Snippets Groups Projects
Commit 656b9df6 authored by Tomas Lovato's avatar Tomas Lovato
Browse files

define coderepo extlink to point at tag code on gitlab

parent 68b81c91
No related branches found
No related tags found
1 merge request!2Fix several wrong linkages
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
......@@ -12,10 +12,12 @@ project = 'NEMO'
author = 'NEMO System Team'
# The short X.Y version
version = '4.2'
version = '4.2.0'
# The full version, including alpha/beta/rc tags
release = 'release-4.2.0'
code_repo='https://forge.nemo-ocean.eu/nemo/nemo/-/tree/' + version
# -- General configuration ---------------------------------------------------
......@@ -98,14 +100,16 @@ copyright = '2008-' + str( year ) + ', NEMO Consortium'
# Link aliases
extlinks = {
'doi' : ('https://doi.org/%s' , None),
'forge' : ('https://forge.ipsl.jussieu.fr/nemo/%s' , None),
'github' : ('https://github.com/NEMO-ocean/%s' , None),
'xios' : ('https://forge.ipsl.jussieu.fr/ioserver/%s', None),
'website': ('https://www.nemo-ocean.eu/%s' , None),
'gitlab' : ('https://forge.nemo-ocean.eu/nemo/core' , None),
'zenodo' : ('https://zenodo.org/publication/%s' , None)
'doi' : ('https://doi.org/%s' , None),
'forge' : ('https://forge.ipsl.jussieu.fr/nemo/%s' , None),
'github' : ('https://github.com/NEMO-ocean/%s' , None),
'xios' : ('https://forge.ipsl.jussieu.fr/ioserver/%s', None),
'website' : ('https://www.nemo-ocean.eu/%s' , None),
'gitlab' : ('https://forge.nemo-ocean.eu/nemo/core' , None),
'zenodo' : ('https://zenodo.org/publication/%s' , None),
'coderepo': (code_repo + '%s' , None),
}
# Include common directives for every rst file
rst_epilog = open('global.rst', 'r').read()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment