New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 11907 – NEMO

Changeset 11907


Ignore:
Timestamp:
2019-11-14T18:15:03+01:00 (4 years ago)
Author:
nicolasmartin
Message:

Implementation of syntax highlighting for inline code

Location:
NEMO/trunk/doc/rst/source
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/rst/source/conf.py

    r11780 r11907  
    230230texinfo_documents = [ 
    231231  ('guide', 'NEMO', u'NEMO Documentation', 
    232    u'NEMO System Team', 'NEMO', 'One line description of project.', 
     232   u'NEMO System Team', 'NEMO', 'Community Ocean Model', 
    233233   'Miscellaneous'), 
    234234] 
  • NEMO/trunk/doc/rst/source/global.rst

    r11735 r11907  
    1 .. Roles (custom styles related to CSS classes in 'source/_static/style.css') 
     1.. Roles 
     2 
     3.. custom styles related to CSS classes in './_static/style.css' 
    24 
    35.. role:: blue 
     
    57.. role:: grey 
    68.. role:: greysup(sup) 
     9 
     10.. inline code snippets 
     11 
     12.. role:: python(code) 
     13   :language: python 
     14   :class: highlight 
     15 
     16.. role:: fortran(code) 
     17   :language: fortran 
     18   :class: highlight 
     19 
     20.. role:: console(code) 
     21   :language: console 
     22   :class: highlight 
    723 
    824.. Substitutions 
Note: See TracChangeset for help on using the changeset viewer.