Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
⚡️ Move docs to docs/ and add Makefile back
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhessey committed Jul 27, 2022
1 parent ae27992 commit 1c7b7d0
Show file tree
Hide file tree
Showing 187 changed files with 35,312 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ build:
python: miniconda3-4.7

sphinx:
configuration: sphinx-docs/source/conf.py
configuration: docs/source/conf.py

python:
install:
- requirements: sphinx-docs/requirements.txt
- requirements: docs/requirements.txt

conda:
environment: environment.yml
20 changes: 20 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 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

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help 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)
12 changes: 12 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Building docs for InnerEye-DeepLearning

1. First, make sure you have all the packages necessary for InnerEye.
1. Install pip dependencies from sphinx-docs/requirements.txt:

```shell
pip install -r requirements.txt
```

1. Run `make html` from the `docs` folder. This will create html files under docs/build/html.
1. From the `docs/build/html` folder, run `python -m http.server 8080` to host the docs locally.
1. From your browser, navigate to `http:https://localhost:8080` to view the documentation.
Binary file added docs/build/doctrees/docs/CHANGELOG.doctree
Binary file not shown.
Binary file added docs/build/doctrees/docs/WSL.doctree
Binary file not shown.
Binary file not shown.
Binary file added docs/build/doctrees/docs/building_models.doctree
Binary file not shown.
Binary file added docs/build/doctrees/docs/contributing.doctree
Binary file not shown.
Binary file added docs/build/doctrees/docs/creating_dataset.doctree
Binary file not shown.
Binary file not shown.
Binary file added docs/build/doctrees/docs/deploy_on_aml.doctree
Binary file not shown.
Binary file added docs/build/doctrees/docs/environment.doctree
Binary file not shown.
Binary file added docs/build/doctrees/docs/fastmri.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added docs/build/doctrees/docs/move_model.doctree
Binary file not shown.
Binary file added docs/build/doctrees/docs/pull_requests.doctree
Binary file not shown.
Binary file added docs/build/doctrees/docs/releases.doctree
Binary file not shown.
Binary file added docs/build/doctrees/docs/sample_tasks.doctree
Binary file not shown.
Binary file not shown.
Binary file added docs/build/doctrees/docs/setting_up_aml.doctree
Binary file not shown.
Binary file added docs/build/doctrees/docs/testing.doctree
Binary file not shown.
Binary file added docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file added docs/build/doctrees/index.doctree
Binary file not shown.
Binary file not shown.
Binary file added docs/build/doctrees/rst/api/ML/configs.doctree
Binary file not shown.
Binary file added docs/build/doctrees/rst/api/ML/index.doctree
Binary file not shown.
Binary file not shown.
Binary file added docs/build/doctrees/rst/api/ML/pipelines.doctree
Binary file not shown.
Binary file added docs/build/doctrees/rst/api/ML/runner.doctree
Binary file not shown.
Binary file added docs/build/doctrees/rst/api/index.doctree
Binary file not shown.
4 changes: 4 additions & 0 deletions docs/build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 900492d52b06307a7fb0eddba23873a7
tags: 645f666f9bcd5a90fca523b33c5a78b7

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

935 changes: 935 additions & 0 deletions docs/build/html/_modules/InnerEye/ML/config.html

Large diffs are not rendered by default.

482 changes: 482 additions & 0 deletions docs/build/html/_modules/InnerEye/ML/photometric_normalization.html

Large diffs are not rendered by default.

219 changes: 219 additions & 0 deletions docs/build/html/_modules/InnerEye/ML/pipelines/ensemble.html

Large diffs are not rendered by default.

462 changes: 462 additions & 0 deletions docs/build/html/_modules/InnerEye/ML/pipelines/inference.html

Large diffs are not rendered by default.

314 changes: 314 additions & 0 deletions docs/build/html/_modules/InnerEye/ML/pipelines/scalar_inference.html

Large diffs are not rendered by default.

585 changes: 585 additions & 0 deletions docs/build/html/_modules/InnerEye/ML/runner.html

Large diffs are not rendered by default.

131 changes: 131 additions & 0 deletions docs/build/html/_modules/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &mdash; InnerEye-DeepLearning 1.0.0 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
<script src="../_static/jquery.js"></script>
<script src="../_static/underscore.js"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js"></script>
<script src="../_static/doctools.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
</head>

<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="../index.html" class="icon icon-home"> InnerEye-DeepLearning
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../docs/innereye_deeplearning.html">InnerEye-DeepLearning</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/WSL.html">How to use the Windows Subsystem for Linux (WSL2) for development</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/environment.html">Set up InnerEye-DeepLearning</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/setting_up_aml.html">How to setup Azure Machine Learning for InnerEye</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/creating_dataset.html">Dataset Creation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/building_models.html">Building Models</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/sample_tasks.html">Sample Tasks</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/debugging_and_monitoring.html">Debugging and Monitoring Jobs</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Further reading for contributors</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../docs/pull_requests.html">Suggested Workflow for Pull Requests</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/testing.html">Pytest and testing on CPU and GPU machines</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/contributing.html">Contributing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/hello_world_model.html">Training a Hello World segmentation model</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/deploy_on_aml.html">Model Deployment</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/bring_your_own_model.html">Bring Your Own PyTorch Lightning Model</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/fastmri.html">Working with FastMRI models</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/innereye_as_submodule.html">Using the InnerEye code as a git submodule of your project</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/model_diagnostics.html">Model Diagnostics</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/move_model.html">Move a model to other workspace</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/releases.html">Releases</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/self_supervised_models.html">Training of self-supervised models</a></li>
<li class="toctree-l1"><a class="reference internal" href="../docs/CHANGELOG.html">Changelog</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">API documentation (🚧 Work In Progress 🚧)</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../rst/api/ML/index.html">Machine learning</a></li>
</ul>

</div>
</div>
</nav>

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">InnerEye-DeepLearning</a>
</nav>

<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
<li>Overview: module code</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http:https://schema.org/Article">
<div itemprop="articleBody">

<h1>All modules for which code is available</h1>
<ul><li><a href="InnerEye/ML/augmentations/augmentation_for_segmentation_utils.html">InnerEye.ML.augmentations.augmentation_for_segmentation_utils</a></li>
<li><a href="InnerEye/ML/augmentations/image_transforms.html">InnerEye.ML.augmentations.image_transforms</a></li>
<li><a href="InnerEye/ML/augmentations/transform_pipeline.html">InnerEye.ML.augmentations.transform_pipeline</a></li>
<li><a href="InnerEye/ML/config.html">InnerEye.ML.config</a></li>
<li><a href="InnerEye/ML/photometric_normalization.html">InnerEye.ML.photometric_normalization</a></li>
<li><a href="InnerEye/ML/pipelines/ensemble.html">InnerEye.ML.pipelines.ensemble</a></li>
<li><a href="InnerEye/ML/pipelines/inference.html">InnerEye.ML.pipelines.inference</a></li>
<li><a href="InnerEye/ML/pipelines/scalar_inference.html">InnerEye.ML.pipelines.scalar_inference</a></li>
<li><a href="InnerEye/ML/runner.html">InnerEye.ML.runner</a></li>
</ul>

</div>
</div>
<footer>

<hr/>

<div role="contentinfo">
<p>&#169; Copyright Microsoft Corporation.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="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/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.


</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>

</body>
</html>
Loading

0 comments on commit 1c7b7d0

Please sign in to comment.