Iceberg is The University of Sheffield's High Performance Computing cluster. The current official documentation for it is at https://www.shef.ac.uk/cics/research.
This repository contains a proposed replacement for the page linked to above. It makes use of Sphinx to build the results and represents a move to a more open, collaborative way of working.
For a guide on the rst file format see this document.
Two versions of the documentation are currently automatically built from this repository:
To contribute to this documentation, first you have to fork it on GitHub and clone it to your machine, see Fork a Repo for the GitHub documentation on this process.
Once you have the git repository locally on your computer, you will need to install sphinx
and sphinx_bootstrap_theme
to be able to build the documentation. See the instructions below for how to achieve this.
Once you have made your changes and updated your Fork on GitHub you will need to Open a Pull Request. All changes to the repository should be made through Pull Requests, including those made by the people with direct push access.
Install the following:-
Install the following modules
pip install sphinx sphinx_bootstrap_theme
To build the HTML documentation run:
make html
Or if you don't have make then build with sphinx directly
sphinx-build . ./html
If you want to build the PDF documentation you will need:
Then from the command line, the following will build the .pdf file
make latexpdf
On first run, MikTeX will prompt you to install various extra LaTeX packages.
Install the following Python modules
pip install sphinx sphinx_bootstrap_theme
Then run
make html
For the HTML documentation you will need sphinx
and sphinx_bootstrap_theme
. If you do not already have a python distribution installed, we recommend you install Anaconda Python.
Then once installed, install the following module
pip install sphinx_bootstrap_theme
To build the HTML documentation run:
make html
The documentation consists of a series of reStructured Text files which have the .rst
extension.
These files are then automatically converted to HTMl and combined into the web version of the documentation by sphinx.
It is important that when editing the files the syntax of the rst files is followed.
If there are any errors in your changes the build will fail and the documentaion will not update, you can test your build locally by running make html
.
The easiest way to learn what files should look like is to read the rst
files already in the repository.