Skip to content

Commit

Permalink
Documentation: Add source files for GitHub Pages
Browse files Browse the repository at this point in the history
These were previously stored in the `gh-pages` branch (last commit: 9d2b904 ).
  • Loading branch information
2xB authored Oct 26, 2023
1 parent 8b2911d commit 64f9c04
Show file tree
Hide file tree
Showing 92 changed files with 26,561 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Documentation/gh-pages/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build
HTMLDIR = docs

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

github:
@make html
@rm -rf "$(HTMLDIR)"
@mv "$(BUILDDIR)/html" "$(HTMLDIR)"
@touch "$(HTMLDIR)/.nojekyll"

.PHONY: help github Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
10 changes: 10 additions & 0 deletions Documentation/gh-pages/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Kassiopeia documentation
========================

This uses Sphinx. The provided Makefile rebuilds the GitHub HTML pages:

make github

The used Sphinx theme is 'Read the Docs'. It can be installed via:

pip install sphinx_rtd_theme
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12,192 changes: 12,192 additions & 0 deletions Documentation/gh-pages/source/_images/bindings_full.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/gh-pages/source/_images/toric.png
20 changes: 20 additions & 0 deletions Documentation/gh-pages/source/authors.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.. _authors-label:

Authors
*******

Authors of Kassiopeia include individuals from the following institutions:

- Karlsruhe Institute of Technology
- Lawrence Berkeley National Laboratory
- Massachusetts Institute of Technology
- Max Planck Institute for Physics
- University of California, Santa Barbara
- University of Mainz
- University of Manitoba
- University of Muenster
- University of North Carolina, Chapel Hill
- University of Washington
- University of Wuppertal

Additional contributions were made by various GitHub users. Than you for your support!
52 changes: 52 additions & 0 deletions Documentation/gh-pages/source/bindings.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
.. _bindings-label:

Bindings Documentation
**********************

This section provides documentation for the **XML bindings**. Many Kasper
modules can parse XML files during intialization; the bindings classes define
the available XML elements, their attributes and their relation to C++ classes.

.. contents:: On this page
:local:
:depth: 2

Overview
========

The files below show the allowed *elements* and *attributes* that can be used
in Kasper XML files; according to the syntax:

.. code-block:: xml
<element attribute_1="value_1" attribute_2="value_2">
<child_element attribute_3="value_3" />
</element>
Elements can be nested according to what is shown here, and each element can
have a number of attributes. Note that in some cases, certain child elements
and attributes are required; in other cases, they are mutually exclusive. Note
that this information is not represented here in the documentation.

Additional documentation on the XML bindings is available on GitHub:
`Documentation/Bindings <https://github.com/KATRIN-Experiment/Kassiopeia/blob/main/Documentation/Bindings/>`_.

Bindings graph
==============

The graphs shows the relation between the available XML elements.

.. image:: _images/bindings_full.svg
:width: 1000px
:alt: XML bindings graph

List of bindings
================

The tables below show the child elements and attributes along with their type for each XML element.
Note that the column pairs *child element / child type* and *attribute / attribute type* are linked: each listed type
corresponds to the item on the left. The list of attributes is independent to the list of child elements. For many
elements the child elements and attributes cannot be freely combined (e.g. some are mutually exclusive), but this is
not reflected here.

.. include:: ./bindings_full.rst
8,039 changes: 8,039 additions & 0 deletions Documentation/gh-pages/source/bindings_full.rst

Large diffs are not rendered by default.

Loading

0 comments on commit 64f9c04

Please sign in to comment.