forked from KATRIN-Experiment/Kassiopeia
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation: Add source files for GitHub Pages
- Loading branch information
Showing
93 changed files
with
26,604 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Build GitHub Pages website | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install dependencies | ||
run: pip install sphinx_rtd_theme | ||
|
||
- name: Build target "build" | ||
run: cd Documentation/gh-pages && make github | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: 'Documentation/gh-pages/docs' | ||
|
||
# As documented on https://github.com/actions/deploy-pages | ||
deploy: | ||
needs: build | ||
|
||
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment | ||
permissions: | ||
pages: write # to deploy to Pages | ||
id-token: write # to verify the deployment originates from an appropriate source | ||
|
||
# Deploy to the github-pages environment | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
# Specify runner + deployment step | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Binary file added
BIN
+20.5 KB
Documentation/gh-pages/source/_images/KassiopeiaLogo_1_cropped_bb.png
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
12,192
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.
Binary file added
BIN
+45.8 KB
Documentation/gh-pages/source/_images/kgeobag_annulus_surface_model.png
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
BIN
+85.6 KB
...on/gh-pages/source/_images/kgeobag_conic_section_port_housing_surface_model.png
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
BIN
+58.4 KB
Documentation/gh-pages/source/_images/kgeobag_cut_cone_space_model.png
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
BIN
+56.6 KB
Documentation/gh-pages/source/_images/kgeobag_cut_cone_surface_model.png
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
BIN
+65.5 KB
Documentation/gh-pages/source/_images/kgeobag_cut_cone_tube_space_model.png
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
BIN
+62.2 KB
Documentation/gh-pages/source/_images/kgeobag_cut_torus_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+61.3 KB
Documentation/gh-pages/source/_images/kgeobag_cylinder_space_model.png
Oops, something went wrong.
Binary file added
BIN
+81.2 KB
Documentation/gh-pages/source/_images/kgeobag_cylinder_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+102 KB
Documentation/gh-pages/source/_images/kgeobag_cylinder_tube_space_model.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+34.9 KB
Documentation/gh-pages/source/_images/kgeobag_extruded_circle_space_model.png
Oops, something went wrong.
Binary file added
BIN
+49 KB
Documentation/gh-pages/source/_images/kgeobag_extruded_poly_loop_space_model.png
Oops, something went wrong.
Binary file added
BIN
+115 KB
Documentation/gh-pages/source/_images/kgeobag_extruded_poly_loop_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+74.7 KB
Documentation/gh-pages/source/_images/kgeobag_extruded_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+44.1 KB
Documentation/gh-pages/source/_images/kgeobag_flattened_circle_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+34.5 KB
...mentation/gh-pages/source/_images/kgeobag_flattened_poly_loop_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+23.8 KB
Documentation/gh-pages/source/_images/kgeobag_multicut_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+41.8 KB
Documentation/gh-pages/source/_images/kgeobag_port_housing_surface_model.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+54 KB
Documentation/gh-pages/source/_images/kgeobag_rotated_arc_segment_space_model.png
Oops, something went wrong.
Binary file added
BIN
+74.1 KB
...mentation/gh-pages/source/_images/kgeobag_rotated_arc_segment_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+95.1 KB
Documentation/gh-pages/source/_images/kgeobag_rotated_circle_space_model.png
Oops, something went wrong.
Binary file added
BIN
+106 KB
Documentation/gh-pages/source/_images/kgeobag_rotated_circle_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+8.28 KB
Documentation/gh-pages/source/_images/kgeobag_rotated_line_segment_space_model.png
Oops, something went wrong.
Binary file added
BIN
+71.5 KB
...entation/gh-pages/source/_images/kgeobag_rotated_line_segment_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+78.6 KB
Documentation/gh-pages/source/_images/kgeobag_rotated_poly_line_space_model.png
Oops, something went wrong.
Binary file added
BIN
+89.2 KB
Documentation/gh-pages/source/_images/kgeobag_rotated_poly_line_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+99.2 KB
Documentation/gh-pages/source/_images/kgeobag_rotated_poly_loop_space_model.png
Oops, something went wrong.
Binary file added
BIN
+85.9 KB
Documentation/gh-pages/source/_images/kgeobag_rotated_poly_loop_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+66.6 KB
Documentation/gh-pages/source/_images/kgeobag_rotated_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+26.3 KB
Documentation/gh-pages/source/_images/kgeobag_shell_arc_segment_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+49.7 KB
Documentation/gh-pages/source/_images/kgeobag_shell_circle_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+32.6 KB
Documentation/gh-pages/source/_images/kgeobag_shell_line_segment_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+39.1 KB
Documentation/gh-pages/source/_images/kgeobag_shell_poly_line_surface_model.png
Oops, something went wrong.
Binary file added
BIN
+66.1 KB
Documentation/gh-pages/source/_images/kgeobag_shell_poly_loop_surface_model.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+97.1 KB
Documentation/gh-pages/source/_images/kgeobag_torus_surface_model.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.