Enhancing the ability of disaster managers in the Pacific region to prepare for and respond to disasters, and to reduce the impacts of disasters on the local population and infrastructure.
Sphinx
v1.4.8 or latersphinx_rtd_theme
v0.2.4 or later
The intention is to maintain materials for individual workshops in separate sub-directories. This is because the PacSAFE training material is tailored to the country audience, because the scenarios packaged with the application are tailored to each country.
Currently images are stored in a single folder at the top level. This presently is easiest to manage, but as additional workshops are compiled, it is likely we'll need to create a sub-directory structure similar to the source files.
Simply run make html
in the parent directory. This will build the html pages under _build/html
. Opening the index.html
file will open the page in a browser window and allow you to navigate the complete documentation for PacSAFE.
- Try to avoid using image files like .ico, or the generic .* directive in the RST files.
- copy the /images folder to the training workshop directory
- copy Makefile, make.bat and conf.py to the same directory
- Run
make latex
to generate the latex file. The output will be created in_build/latex
- Use TeXworks or another latex compiler to build the PDF (should be pacsafe-doc.tex).
- Move the completed PDF file somewhere safe (called pacsafe-doc.pdf)
- Run
make clean
to clear the _build directory - Remove the /images subdirectory, and the Makefile, make.bat, conf.py
Ⓒ 2017 - GA, SPC
Community Safety and Earth Monitoring Division, Geoscience Australia (GA) Geoscience Division, Pacific Commuity (SPC)