Changeset 11713 for NEMO/trunk/doc/rst/source/conf.py
- Timestamp:
- 2019-10-17T17:49:19+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/rst/source/conf.py
r11706 r11713 26 26 # Add any Sphinx extension module names here, as strings. They can be extensions 27 27 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. 28 extensions = ['sphinx.ext.extlinks', 'sphinxcontrib.bibtex', 'sphinx.ext.todo' ]28 extensions = ['sphinx.ext.extlinks', 'sphinxcontrib.bibtex', 'sphinx.ext.todo', 'sphinxmark'] 29 29 30 30 # Add any paths that contain templates here, relative to this directory. … … 251 251 # Link aliases 252 252 extlinks = { 253 'doi' : ('https://doi.org/%s' , None),254 'forge' : ('https://forge.ipsl.jussieu.fr/nemo/%s' , None),255 'github' : ('https://github.com/%s' , None),256 'xios' : ('https://forge.ipsl.jussieu.fr/ioserver/%s', None),257 'website': ('https://www.nemo-ocean.eu/%s' , None),258 'zenodo' : ('https://zenodo.org/publication/%s' , None)253 'doi' : ('https://doi.org/%s' , 'doi:'), 254 'forge' : ('https://forge.ipsl.jussieu.fr/nemo/%s' , None), 255 'github' : ('https://github.com/%s' , None), 256 'xios' : ('https://forge.ipsl.jussieu.fr/ioserver/%s', None), 257 'website': ('https://www.nemo-ocean.eu/%s' , None), 258 'zenodo' : ('https://zenodo.org/publication/%s' , None) 259 259 } 260 260 … … 266 266 revision = subprocess.check_output("svnversion").decode("utf-8") 267 267 rst_prolog = '.. |revision| replace:: %s' % revision 268 269 # Todo 270 if tags.has('draft'): 271 sphinxmark_enable = True 272 todo_include_todos = True 273 todo_emit_warnings = True
Note: See TracChangeset
for help on using the changeset viewer.