Changeset 518 for trunk/docs


Ignore:
Timestamp:
04/13/12 15:05:27 (12 years ago)
Author:
pinsard
Message:

consolidation of doc dev.

Location:
trunk/docs/docs_dev
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/docs_dev/Makefile

    r517 r518  
    2525# logo 
    2626# 
    27 # update whith new sphinx backend 
    2827# 
    2928# EVOLUTIONS 
     
    3332# 
    3433# $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/fptools/svn/trunk/docs/docs_dev/Makefile $ 
     34# 
     35# - fplod 20120413 
     36# 
     37#   * update whith new sphinx backend 
    3538# 
    3639# - fplod 20120413T082638Z cratos (Linux) 
     
    4447SPHINXBUILD   = sphinx-build 
    4548PAPER         = 
    46 BUILDDIR      = _build 
     49BUILDDIR      = ../../doc/ 
    4750 
    4851# Internal variables. 
     
    5154ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source 
    5255 
    53 .PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest 
     56.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest 
    5457 
    5558help: 
    5659        @echo "Please use \`make <target>' where <target> is one of" 
    57         @echo "  html      to make standalone HTML files" 
    58         @echo "  dirhtml   to make HTML files named index.html in directories" 
    59         @echo "  pickle    to make pickle files" 
    60         @echo "  json      to make JSON files" 
    61         @echo "  htmlhelp  to make HTML files and a HTML help project" 
    62         @echo "  qthelp    to make HTML files and a qthelp project" 
    63         @echo "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter" 
    64         @echo "  changes   to make an overview of all changed/added/deprecated items" 
    65         @echo "  linkcheck to check all external links for integrity" 
    66         @echo "  doctest   to run all doctests embedded in the documentation (if enabled)" 
     60        @echo "Please use \`make <target>' where <target> is one of" 
     61        @echo "  html       to make standalone HTML files" 
     62        @echo "  dirhtml    to make HTML files named index.html in directories" 
     63        @echo "  singlehtml to make a single large HTML file" 
     64        @echo "  pickle     to make pickle files" 
     65        @echo "  json       to make JSON files" 
     66        @echo "  htmlhelp   to make HTML files and a HTML help project" 
     67        @echo "  qthelp     to make HTML files and a qthelp project" 
     68        @echo "  devhelp    to make HTML files and a Devhelp project" 
     69        @echo "  epub       to make an epub" 
     70        @echo "  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter" 
     71        @echo "  latexpdf   to make LaTeX files and run them through pdflatex" 
     72        @echo "  text       to make text files" 
     73        @echo "  man        to make manual pages" 
     74        @echo "  changes    to make an overview of all changed/added/deprecated items" 
     75        @echo "  linkcheck  to check all external links for integrity" 
     76        @echo "  doctest    to run all doctests embedded in the documentation (if enabled)" 
    6777 
    6878clean: 
     
    8191        @echo 
    8292        @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." 
     93 
     94singlehtml: 
     95        @make -f makefile_non_sphinx all 
     96        $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml 
     97        @echo 
     98        @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." 
    8399 
    84100pickle: 
     
    110126        @echo "To view the help file:" 
    111127        @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/VARAMMA.qhc" 
     128devhelp: 
     129        @make -f makefile_non_sphinx all 
     130        $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp 
     131        @echo 
     132        @echo "Build finished." 
     133        @echo "To view the help file:" 
     134        @echo "# mkdir -p $$HOME/.local/share/devhelp/TROPFLUX" 
     135        @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/TROPFLUX" 
     136        @echo "# devhelp" 
     137 
     138epub: 
     139        @make -f makefile_non_sphinx all 
     140        $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub 
     141        @echo 
     142        @echo "Build finished. The epub file is in $(BUILDDIR)/epub." 
    112143 
    113144latex: 
     
    118149        @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \ 
    119150              "run these through (pdf)latex." 
     151 
     152latexpdf: 
     153        @make -f makefile_non_sphinx all 
     154        $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex 
     155        @echo "Running LaTeX files through pdflatex..." 
     156        make -C $(BUILDDIR)/latex all-pdf 
     157        @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." 
     158 
     159text: 
     160        @make -f makefile_non_sphinx all 
     161        $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text 
     162        @echo 
     163        @echo "Build finished. The text files are in $(BUILDDIR)/text." 
     164 
     165man: 
     166        @make -f makefile_non_sphinx all 
     167        $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man 
     168        @echo 
     169        @echo "Build finished. The manual pages are in $(BUILDDIR)/man." 
    120170 
    121171changes: 
  • trunk/docs/docs_dev/makefile_non_sphinx

    r517 r518  
    291291 
    292292LIST_SRCFERRET = \ 
    293 $(shell find $(DIRSRC) -name "*.jnl" | sort) 
     293$(shell find ../.. ! \( -name '.svn' -prune \) -name "*.jnl" | sort) 
    294294 
    295295LIST_SRCFERRET_RST = \ 
  • trunk/docs/docs_dev/source/conf.py

    r517 r518  
    233233# (source start file, target name, title, author, documentclass [howto/manual]). 
    234234latex_documents = [ 
    235   ('index', 'VARAMMA.tex', u'VARAMMA Documentation', 
     235  ('index', 'varamma_dev.tex', u'VARAMMA developpers documentation', 
    236236   u'CNRS', 'manual'), 
    237237] 
  • trunk/docs/docs_dev/source/index.rst

    r516 r518  
    2525.. only:: html 
    2626 
    27    **Download** offline version (`.pdf <../../pdf/sphinx/VARAMMA.pdf>`__) 
     27   **Download** offline version (`.pdf <../latex/varamma_dev.pdf>`__) 
    2828 
    2929.. toctree:: 
Note: See TracChangeset for help on using the changeset viewer.