/[escript]/trunk/doc/sphinx_api/SConscript
ViewVC logotype

Contents of /trunk/doc/sphinx_api/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4107 - (show annotations)
Thu Dec 13 05:54:03 2012 UTC (6 years, 4 months ago) by jfenwick
File size: 1182 byte(s)
Now building doc using sphinx. Doc builds will fail until I get stuff installed on savanna
1
2 ##############################################################################
3 #
4 # Copyright (c) 2012 by University of Queensland
5 # http://www.uq.edu.au
6 #
7 # Primary Business: Queensland, Australia
8 # Licensed under the Open Software License version 3.0
9 # http://www.opensource.org/licenses/osl-3.0.php
10 #
11 # Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 # Development since 2012 by School of Earth Sciences
13 #
14 ##############################################################################
15
16 import os
17 Import('*')
18
19 epy_dir=os.path.join(release_dir, 'sphinx_api')
20 env.Command(epy_dir, [], [Mkdir(epy_dir)])
21
22 int_dir=os.path.join(env['BUILD_DIR'], 'sphinx_int')
23 env.Command(int_dir, [], [Mkdir(int_dir)])
24
25 env.Alias(os.path.join(int_dir,'index.rst'),[env['pyinstall'], int_dir],'doc/sphinx_api/genrst.py ./esys esys '+int_dir)
26
27 env.Alias('sphinxdoc', [epy_dir, int_dir], 'doc/sphinx_api/genrst.py ./esys esys '+int_dir+" && sphinx-build -b html -d "+int_dir+"/tree -c doc/sphinx_api "+int_dir+" "+epy_dir)
28
29 # This will need to be here at least until the output of api_epydoc properly
30 # depends on the libraries it uses as input
31 env.AlwaysBuild('sphinxdoc')
32

  ViewVC Help
Powered by ViewVC 1.1.26