Skip to content

Commit

Permalink
Merge pull request #36 from mmcdermott/docs
Browse files Browse the repository at this point in the history
Docs
  • Loading branch information
Oufattole authored Jul 3, 2024
2 parents cfba4ae + 7fe635a commit 9f4dde8
Show file tree
Hide file tree
Showing 51 changed files with 1,516 additions and 605 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ instance/

# Sphinx documentation
docs/_build/
docs/source/_autosummary/
docs/source/api/
docs/source/bin/

# PyBuilder
.pybuilder/
Expand Down Expand Up @@ -158,3 +161,5 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

docs/source/generated
7 changes: 7 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ build:
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
- docs

sphinx:
configuration: docs/source/conf.py
# Optionally build your docs in additional formats such as PDF
formats:
- pdf
564 changes: 498 additions & 66 deletions README.md

Large diffs are not rendered by default.

Binary file added docs/assets/dark_purple_meds_tab.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 docs/assets/light_purple_meds_tab.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 docs/assets/main_fig.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 docs/assets/pivot.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 docs/assets/white_meds_tab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions docs/generate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# bash generate.sh

set -e

rm -rf build
make html
cd build/html
python -m http.server
8 changes: 4 additions & 4 deletions docs/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ if "%SPHINXBUILD%" == "" (
set SOURCEDIR=source
set BUILDDIR=build

if "%1" == "" goto help

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
Expand All @@ -19,17 +21,15 @@ if errorlevel 9009 (
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.https://www.sphinx-doc.org/
echo.http://sphinx-doc.org/
exit /b 1
)

if "%1" == "" goto help

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%

:end
popd
popd
5 changes: 2 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
sphinx==7.1.2
sphinx-rtd-theme==1.3.0rc1
sphinx-collections
recommonmark
piccolo_theme
sphinx_immaterial
sphinx_subfigure
nbsphinx
myst_parser
pypandoc
linkify-it-py
ipykernel
omegaconf
ipywidgets
ipykernel
ipython
pydata-sphinx-theme
12 changes: 12 additions & 0 deletions docs/source/_static/switcher.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"version": "dev",
"url": "https://meds-tab.readthedocs.io/en/latest/"
},
{
"name": "0.0.2 (stable)",
"version": "v0.0.2",
"url": "https://meds-tab.readthedocs.io/en/stable/",
"preferred": true
}
]
8 changes: 0 additions & 8 deletions docs/source/api.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/computational-performance.rst

This file was deleted.

Loading

0 comments on commit 9f4dde8

Please sign in to comment.