Skip to content

Commit 2aba3e0

Browse files
committed
Updates to documentation
Updates to conf.py, added the tutorial notebook, and added packages to requirements.txt.
1 parent cfbc77e commit 2aba3e0

File tree

6 files changed

+12613
-64
lines changed

6 files changed

+12613
-64
lines changed

docs/README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11

22
# Documentation Site Using Sphinx
33

4-
Guide to rendering the documentation site using Sphinx.
5-
64
This document includes:
75
- [The Sphinx local directory structure](#local-directory-structure)
86
- [Sphinx commands](#sphinx-commands)
@@ -56,22 +54,22 @@ The `conf.py` file is the central configuration file for Sphinx and it determine
5654

5755
### Pages
5856

59-
To update pages navigate to `docs/source/`, all .rst and .md files live here. Here a reference of the main pages used for the documentation site.
57+
To update pages navigate to `docs/source/`, all .rst and .md files live here. Here is a reference of the main pages used for the documentation site. The tutorial page consists if the docsite_tutorial.ipynb converted to an html. The notebook lives in `docs/source/_notebooks/` and is converted to an html during the build process based on code within `conf.py`.
6058

6159
| Page | File Name | Content |
6260
| -----------------| ----------------------------------------------------------------------- | ------------------------------ |
6361
| Home Page | index.rst | Introduction and Install |
6462
| Usage | usage.md | API and CLI |
65-
| API Reference | APIreference.rst | Sphinx autogenerated docstrings|
66-
| Datasets | datasets_included.rst | Datasets overview table |
67-
| Tutorial | tutorials.rst | Deep Learning Tutorial |
63+
| API Reference | APIreference.rst | Autogenerated documentation from docstrings|
64+
| Datasets | datasets_included.rst | Datasets overview |
65+
| Tutorial | tutorials.rst *includes docsite_tutorial.ipynb* | Deep Learning Tutorial |
6866
| Contributing | contribution_guide.rst *includes contribution.md and add_code_guide.md* | Contribution Guide |
6967

7068
**Note:** When adding pages, reStructuredText files are the most sphinx friendly and allow for use of helpful directives. However, Markdown files can be used and will render properly when the myst-parser extension is used.
7169

7270
### Images and Graphics
7371

74-
To add any new images they will live in `docs/source/_static/`. The coderdata_header.png was made using [canva](https://www.canva.com/) and coderdata_1 was made using biorender.
72+
To add any new images they will live in `docs/source/_static/`. The coderdata_header.jpg was made using [canva](https://www.canva.com/) and coderdata_1.jpg was made using biorender.
7573

7674
### Site Theme and Design
7775

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ myst-parser
33
sphinx-design
44
nbconvert
55
nbsphinx
6+
notebook<7
67
sphinx_tabs
78
numpy
89
pandas

docs/source/APIreference.rst

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ API Reference
44
:maxdepth: 2
55

66

7-
87
CoderData Object
98
^^^^^^^^^^^^^^^^
109

@@ -15,6 +14,13 @@ CoderData Object
1514

1615
.. automodule:: coderdata.utils.utils
1716
:members: version, list_datasets
17+
:undoc-members:
18+
:show-inheritance:
19+
20+
.. automodule:: coderdata.utils.stats
21+
:members: summarize_response_metric, plot_response_metric, plot_2D_respones_metric
22+
:undoc-members:
23+
:show-inheritance:
1824

1925
.. automodule:: coderdata.cli
2026
:members: info, check_folder
@@ -33,25 +39,3 @@ Dataset Object
3339
:members: load, format, train_test_validate, split_train_other, split_train_test_validate
3440
:undoc-members:
3541
:show-inheritance:
36-
37-
.. Hidden
38-
.. ^^^^^^
39-
.. .. automodule:: coderdata.dataset.dataset
40-
:members: _split_two_way, _create_classes, _balance_data, _filter, _determine_delimiter, _load_file
41-
:undoc-members:
42-
:show-inheritance:
43-
44-
.. Build
45-
.. ^^^^^
46-
47-
.. .. automodule:: build.build_dataset
48-
:members: process_drugs, process_samples, process_omics, process_experiments, process_misc, process_genes, run_docker_cmd, process_docker, run_docker_validate_cmd, run_schema_checker
49-
:undoc-members:
50-
:show-inheritance:
51-
52-
.. .. autoclass:: coderdata.build.build_dataset.process_genes
53-
54-
.. .. automodule:: build.beatAML.GetBeatAML
55-
:members: generate_samples_file
56-
:undoc-members:
57-
:show-inheritance:

0 commit comments

Comments
 (0)