Skip to content

Commit 8a27cd9

Browse files
committed
first draft for the documentation
1 parent c66e9b4 commit 8a27cd9

36 files changed

Lines changed: 2390 additions & 6 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dist/
2222
sg_execution_times.rst
2323

2424
# Allow scatterkit share text files
25-
!scatterkit/share/*.dat
25+
!src/scatterkit/share/*.dat
2626

2727
# editors and IDEs
2828
*.sw[a-z]

README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.rst

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
Scatterkit
2+
==========
3+
4+
|tests| |codecov| |docs-stable| |docs-latest| |mdanalysis|
5+
6+
.. inclusion-readme-intro-start
7+
8+
Scatterkit does SAXS analysis of molecular dynamics simulations.
9+
10+
.. inclusion-readme-intro-end
11+
12+
Documentation
13+
=============
14+
15+
For details, tutorials, and examples, visit our official `documentation`_. We also
16+
provide the `latest documentation`_ for the current development version of MAICoS.
17+
18+
.. _`documentation`: https://maicos-analysis.org
19+
.. _`latest documentation`: https://maicos-analysis.org/latest
20+
21+
.. inclusion-readme-installation-start
22+
23+
Installation
24+
============
25+
26+
Install Scatterkit using `pip`_::
27+
28+
pip install scatterkit
29+
30+
Or with `conda`_ from conda-forge::
31+
32+
conda install -c conda-forge scatterkit
33+
34+
.. _`pip`: https://pip.pypa.io
35+
.. _`conda`: https://www.anaconda.com
36+
37+
.. inclusion-readme-installation-end
38+
39+
List of Analysis Modules
40+
========================
41+
42+
.. inclusion-marker-modules-start
43+
44+
Currently, Scatterkit supports the following analysis modules (alphabetically):
45+
46+
.. list-table::
47+
:widths: 25 50
48+
:header-rows: 1
49+
50+
* - Module
51+
- Description
52+
* - SAXS
53+
- Small angle X-ray scattering
54+
55+
.. inclusion-marker-modules-end
56+
57+
Contributors
58+
============
59+
60+
Thanks to all contributors who make **Scatterkit** possible:
61+
62+
.. image:: https://contrib.rocks/image?repo=maicos-devel/maicos
63+
:target: https://github.com/maicos-devel/maicos/graphs/contributors
64+
65+
.. |tests| image:: https://github.com/maicos-devel/maicos/workflows/Tests/badge.svg
66+
:alt: GitHub Actions Tests Job Status
67+
:target: https://github.com/maicos-devel/maicos/actions?query=branch%3Amain
68+
69+
.. |codecov| image:: https://codecov.io/gh/maicos-devel/maicos/graph/badge.svg?token=9AXPLF6CR3
70+
:alt: Code coverage
71+
:target: https://codecov.io/gh/maicos-devel/maicos
72+
73+
.. |docs-stable| image:: https://img.shields.io/badge/📚_Documentation-stable-success
74+
:alt: Documentation of stable released version
75+
:target: `documentation`_
76+
77+
.. |docs-latest| image:: https://img.shields.io/badge/📒_Documentation-latest-yellow.svg
78+
:alt: Documentation of latest unreleased version
79+
:target: `latest documentation`_
80+
81+
.. |mdanalysis| image:: https://img.shields.io/badge/powered%20by-MDAnalysis-orange.svg?logoWidth=16&logo=data:image/x-icon;base64,AAABAAEAEBAAAAEAIAAoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJD+XwCY/fEAkf3uAJf97wGT/a+HfHaoiIWE7n9/f+6Hh4fvgICAjwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACT/yYAlP//AJ///wCg//8JjvOchXly1oaGhv+Ghob/j4+P/39/f3IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJH8aQCY/8wAkv2kfY+elJ6al/yVlZX7iIiI8H9/f7h/f38UAAAAAAAAAAAAAAAAAAAAAAAAAAB/f38egYF/noqAebF8gYaagnx3oFpUUtZpaWr/WFhY8zo6OmT///8BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgICAn46Ojv+Hh4b/jouJ/4iGhfcAAADnAAAA/wAAAP8AAADIAAAAAwCj/zIAnf2VAJD/PAAAAAAAAAAAAAAAAICAgNGHh4f/gICA/4SEhP+Xl5f/AwMD/wAAAP8AAAD/AAAA/wAAAB8Aov9/ALr//wCS/Z0AAAAAAAAAAAAAAACBgYGOjo6O/4mJif+Pj4//iYmJ/wAAAOAAAAD+AAAA/wAAAP8AAABhAP7+FgCi/38Axf4fAAAAAAAAAAAAAAAAiIiID4GBgYKCgoKogoB+fYSEgZhgYGDZXl5e/m9vb/9ISEjpEBAQxw8AAFQAAAAAAAAANQAAADcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjo6Mb5iYmP+cnJz/jY2N95CQkO4pKSn/AAAA7gAAAP0AAAD7AAAAhgAAAAEAAAAAAAAAAACL/gsAkv2uAJX/QQAAAAB9fX3egoKC/4CAgP+NjY3/c3Nz+wAAAP8AAAD/AAAA/wAAAPUAAAAcAAAAAAAAAAAAnP4NAJL9rgCR/0YAAAAAfX19w4ODg/98fHz/i4uL/4qKivwAAAD/AAAA/wAAAP8AAAD1AAAAGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALGxsVyqqqr/mpqa/6mpqf9KSUn/AAAA5QAAAPkAAAD5AAAAhQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADkUFBSuZ2dn/3V1df8uLi7bAAAATgBGfyQAAAA2AAAAMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB0AAADoAAAA/wAAAP8AAAD/AAAAWgC3/2AAnv3eAJ/+dgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9AAAA/wAAAP8AAAD/AAAA/wAKDzEAnP3WAKn//wCS/OgAf/8MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIQAAANwAAADtAAAA7QAAAMAAABUMAJn9gwCe/e0Aj/2LAP//AQAAAAAAAAAA
82+
:alt: Powered by MDAnalysis
83+
:target: https://www.mdanalysis.org

docs/requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
furo
2+
setuptools # required for sphinxcontrib-bibtex together with Python 3.12
3+
sphinx>=7.2.2
4+
sphinx-gallery
5+
sphinxcontrib-bibtex
6+
sphinx-toggleprompt
7+
tomli

docs/src/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
examples
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
.. _userdoc-analysis-modules:
2+
3+
Analysis modules
4+
################
5+
6+
This is a list of all analysis modules provided by MAICoS. Note that we do not have an
7+
example section for each module. Instead, we refer to :ref:`userdoc-how-to`.
8+
Once you understand the basic structure taught there, you can
9+
work with all modules. If not, feel free to raise an issue in GitHub_ or ask us on
10+
Discord_.
11+
12+
.. _`GitHub`: https://github.com/maicos-devel/scatterkit/issues
13+
.. _`Discord`: https://discord.gg/mnrEQWVAed
14+
15+
.. toctree::
16+
:maxdepth: 1
17+
:glob:
18+
19+
./*

docs/src/analysis-modules/saxs.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.. _Saxs:
2+
3+
Saxs
4+
####
5+
6+
.. autoclass:: maicos.Saxs
7+
:members: +run, save
8+
:undoc-members:
9+
:show-inheritance:
10+
11+
12+
.. footbibliography::
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.. _userdoc_api-documentation:
2+
3+
API documentation
4+
#################
5+
6+
The API documentation gives details on how the additional *functions* and classes can be
7+
used.
8+
9+
.. toctree::
10+
:maxdepth: 2
11+
12+
lib

docs/src/api-documentation/lib.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.. _library_functions:
2+
3+
Library functions
4+
#################
5+
6+
.. automodule:: maicos.lib
7+
8+
.. toctree::
9+
:titlesonly:
10+
:maxdepth: 4
11+
:caption: Library functions
12+
13+
math
14+
util
15+
tables
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.. _mathematical_helper_functions:
2+
3+
Mathematical helper functions
4+
#############################
5+
6+
.. automodule:: maicos.lib.math
7+
:members:
8+
:undoc-members:
9+
:show-inheritance:
10+
11+
.. automodule:: maicos.lib._cmath
12+
:members:
13+
:undoc-members:
14+
:show-inheritance:

0 commit comments

Comments
 (0)