Changeset 10790


Ignore:
Timestamp:
2019-03-21T17:47:24+01:00 (19 months ago)
Author:
nicolasmartin
Message:

Add revision number to the guide homepage and limite verbosity of LaTeX compilation

Location:
NEMO/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/README.rst

    r10638 r10790  
    1 :Release: |version| 
    2 :Date:    |today| 
     1:Release:      |version| 
     2:Date:         |today| 
     3:SVN revision: |svn_revision| 
    34 
    45NEMO_ for **Nucleus for European Modelling of the Ocean** is a state-of-the-art modelling framework for 
  • NEMO/trunk/doc/PDF_creation.sh

    r10610 r10790  
    11#!/bin/sh 
    22 
    3 export opts='-shell-escape -pdf' 
     3export opts='-shell-escape -pdf -quiet' 
    44model='NEMO' 
    55 
  • NEMO/trunk/doc/rst/source/conf.py

    r10600 r10790  
    9292# -- Customisation ----------------------------------------------------------- 
    9393 
     94# Timestamping 
    9495import datetime 
    9596year = datetime.date.today().year 
     
    108109# Include common directives for every rst file 
    109110rst_epilog = open('global.rst', 'r').read() 
     111 
     112# SVN revision 
     113import subprocess 
     114revision = subprocess.check_output("svnversion") 
     115rst_prolog = '.. |svn_revision| replace:: %s' % revision 
Note: See TracChangeset for help on using the changeset viewer.