Aalto scientific computing guide: former Triton user guide + more info
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
_static Allow tables to wrap Sep 23, 2017
data data/plans.rst: Add permanent link to dmp section Sep 24, 2018
images Add gif for JupyterHub demo Apr 9, 2018
meta Add Aalto logo to template Feb 6, 2018
scicomp Fix typo Aug 2, 2018
training Misc ReStructuredText fixups Oct 19, 2018
triton triton/apps/keras.rst: Add keras docs Oct 19, 2018
.gitignore Remove .DS_Store and add to .gitignore Jun 11, 2018
Dockerfile Fixed the Dockerfile to include necessary stuff. Nov 17, 2017
Makefile Add Necessary config for own builds Nov 27, 2017
README.rst README.rst: update syntax, note ` vs `` Dec 19, 2017
conf.py triton/apps/TEMPLATE.rst: add template for new apps (needs more work) Jul 19, 2018
index.rst index.html: Bugfix: Link to new cheatsheet Sep 27, 2018


About these docs

These docs originally came from the Triton User Guide, but now serves as a general Aalto scientific computing guide. The intention is a good central resources for researchers, kept up to date by the whole community.


This documentation is Open Source (CC-BY 4.0), and we welcome contributions from the Aalto community. The project is run on Github (https://github.com/AaltoScienceIT/triton-docs).

To contribute, you can always use the normal Github contribution mechanims: make a pull request or comments. If you are at Aalto, you can also get direct write access. Make a github issue, then contact us in person/by email for us to confirm.

The worst contribution is one that isn't made. Don't worry about making things perfect: since this is in version control, we track all changes and will just fix anything that's not perfect. This is also true for formatting errors - if you can't do ReStructudedText perfectly, just do your best (and pretend it's markdown because all the basics are similar).

Contributing gives consent to use content under the licenses (CC-BY 4.0 or CC0 for examples).

Requirements and building

The only software needed is Sphinx: Debian package python-sphinx, : PyPI: python-sphinx. It is already installed on Aalto workstations.

To build the docs, run make html.

HTML output is in _build/html/index.html, and other output formats are available as well.


Look at examples and copy. To add sections, add a new page in a subfolder. Link it from the main Table of Contents (toctree) in index.rst to have the document appear and be cross-referenced.

You can see a complete example from UiT: source and compiled HTML.

ReStructured text

ReStructured Text is similar to markdown for basics, but has a more strictly defined syntax and more higher level structure. This allows more semantic markup, more power to compile into different formats (since there isn't embedded HTML), and advanced things like indexing, permanent references, etc.

Restructured text home and quick reference.

Note: Literal inline text uses `` instead of a single ` (second works but gives warning).

A very quick guide is below.

Inline code/monospace, emphasis, strong emphasis

``Inline code/monospace``, *emphasis*, **strong emphasis**

Block quote
Block quote

  Block quote
  Block quote

Block quotes can also start with paragraph ending in double colon, like this:

Block quote
Block quotes can also start with paragraph ending in double colon,
like this::

    Block quote

Inline link, or anonymous, or separate, or different text links. Trailing underscores indicate links.

Inline `link <http://python.org>`_, or
anonymous__, or
separate_, or
`different text <separate_>`_ links.
Trailing underscores indicate links.

__ http://python.org

.. _separate: http://python.org

Linking to the web. If possible use a permanent reference (next section), but you can also refer to specific files by name. Note, that for internal links there are no trailing underscores:

:doc:`../tut/interactive.rst`  (recommended)
`../tut/interactive.rst`       (short, no warning if link breaks)

With different text:
:doc:`Text <../tut/interactive.rst>`  (recommended)
`Text <../tut/interactive.rst>`       (short, no warning if link breaks)

Internal links. Permanent references across files

Label things this way (note only one colon):

.. _label-name:

Reference them this way:

:ref:`label-name`     (recommended)
`label-name`          (short, no warning if link breaks)
`Text <label-name>`   (short, no warning if link breaks)

Notes, warnings, etc.


This is a note


This is a warning

.. note::

  This is a note

.. warning::

  This is a warning