Skip to content

Commit c51e5b7

Browse files
authored
Merge pull request #55 from daisybio/chore/documentation
commit documentation draft
2 parents f2674ca + b97ded5 commit c51e5b7

23 files changed

+1327
-0
lines changed

docs/API.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
.. module:: drevalpy
2+
3+
.. automodule:: drevalpy
4+
:noindex:
5+
6+
API
7+
===
8+
9+
Import DrEvalPy using
10+
11+
.. code-block:: python
12+
13+
import drevalpy as dep
14+
15+
..
16+
Models module: :code:`models`
17+
-------------------------
18+
19+
.. module:: devalpy.models
20+
21+
.. currentmodule:: drevalpy
22+
23+
Available models
24+
~~~~~~~~~~~~~~~~
25+
26+
.. autosummary::
27+
:toctree: api/models
28+
29+
models.baselines
30+
models.BiGDRP

docs/Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Minimal makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line.
5+
SPHINXOPTS =
6+
SPHINXBUILD = python -msphinx
7+
SPHINXPROJ = drevalpy
8+
SOURCEDIR = .
9+
BUILDDIR = _build
10+
11+
# Put it first so that "make" without argument is like "make help".
12+
help:
13+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14+
15+
.PHONY: help Makefile
16+
17+
# Catch-all target: route all unknown targets to Sphinx using the new
18+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19+
%: Makefile
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

docs/_key_contributors.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.. sidebar:: Key Contributors
2+
3+
* `Judith Bernett <https://github.com/JudithBernett>`_: developer, maintainer
4+
* `Pascal Iversen <https://github.com/PascalIversen>`_: developer, maintainer
5+
* `Mario Picciani <https://github.com/picciama>`_: developer
6+
* `Markus List <https://github.com/mlist>`_: advisor and PI of daisybio
7+
* `Katharina Baum <https://github.com/kathbaum>`_: advisor and PI of DILiS
8+
* `Mathias Wilhelm <https://github.com/mwilhelm42>`_: advisor and PI of wilhelmlab

docs/_static/custom_cookietemple.css

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
@import "basic.css";
2+
3+
.wy-nav-content {
4+
max-width: 1200px;
5+
}
6+
7+
.wy-side-nav-search {
8+
background-color: inherit;
9+
}
10+
11+
table.align-default {
12+
text-align: left;
13+
}
14+
15+
.autosummary th:first-child,
16+
.autosummary td:first-child {
17+
min-width: 250px;
18+
}
19+
20+
.autosummary th:first-child,
21+
.autosummary td:first-child {
22+
min-width: 400px;
23+
}
24+
25+
.autosummary th:last-child,
26+
.autosummary td:last-child {
27+
width: 100%;
28+
}
29+
30+
.fixed-table {
31+
margin-left: 0;
32+
}
33+
34+
.wy-table-responsive table th p,
35+
.wy-table-responsive table td p {
36+
white-space: normal;
37+
}
38+
39+
.autosummary {
40+
margin-left: 0 !important;
41+
}
42+
43+
.date {
44+
font-size: 50%;
45+
}

docs/_static/img/drevalpy.pdf

145 KB
Binary file not shown.

docs/_static/img/drevalpy.png

45.6 KB
Loading

docs/_static/img/drevalpy.svg

Lines changed: 641 additions & 0 deletions
Loading

docs/_templates/autosummary/base.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
:github_url: {{ fullname | modurl }}
2+
3+
{% extends "!autosummary/base.rst" %}
4+
5+
.. http://www.sphinx-doc.org/en/stable/ext/autosummary.html#customizing-templates
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
drevalpy.models.BiGDRP
2+
======================
3+
4+
.. automodule:: drevalpy.models.BiGDRP
5+
6+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
drevalpy.models.baselines
2+
=========================
3+
4+
.. automodule:: drevalpy.models.baselines
5+
6+

0 commit comments

Comments
 (0)