Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make documentation part of the repository #26

Merged
merged 10 commits into from
Mar 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,12 @@ ruptures.sublime-workspace
test.ipynb
ruptures/detection/.circleci/run-build-locally.sh
.circleci/run-build-locally.sh

# OS generated files
.DS_Store
./**/.DS_Store
.DS_Store?
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
6 changes: 0 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +0,0 @@
[submodule "docs/build"]
path = docs/build
url = [email protected]:tinquiete/ruptures-docs.git
[submodule "docs"]
path = docs
url = [email protected]:tinquiete/ruptures-docs.git
1 change: 0 additions & 1 deletion docs
Submodule docs deleted from ae7bf5
Empty file added docs/.nojekyll
Empty file.
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.
SPHINXOPTS =
SPHINXBUILD = python3 -msphinx
SPHINXPROJ = ruptures
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)
17 changes: 17 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Documentation for the `ruptures` package.


In order to generate the documentation, the following packages are needed:
```
pip install sphinx
pip install sphinx_rtd_theme
pip install sphinxcontrib-bibtex
```

Make sure that the correct version of `ruptures` is installed. (The most probable situation is: you need the documentation for a local version of the `ruptures` library, therefore simply execute `python setup.py develop` in the top directory.)

Then, you only need to
```
make clean
make html
```
Binary file not shown.
Binary file added docs/build/doctrees/costs/costcustom.doctree
Binary file not shown.
Binary file added docs/build/doctrees/costs/costl1.doctree
Binary file not shown.
Binary file added docs/build/doctrees/costs/costl2.doctree
Binary file not shown.
Binary file added docs/build/doctrees/costs/costlinear.doctree
Binary file not shown.
Binary file added docs/build/doctrees/costs/costml.doctree
Binary file not shown.
Binary file added docs/build/doctrees/costs/costnormal.doctree
Binary file not shown.
Binary file added docs/build/doctrees/costs/costrank.doctree
Binary file not shown.
Binary file added docs/build/doctrees/costs/costrbf.doctree
Binary file not shown.
Binary file added docs/build/doctrees/costs/index.doctree
Binary file not shown.
Binary file added docs/build/doctrees/cpd.doctree
Binary file not shown.
Binary file added docs/build/doctrees/datasets/index.doctree
Binary file not shown.
Binary file added docs/build/doctrees/datasets/pw_constant.doctree
Binary file not shown.
Binary file added docs/build/doctrees/datasets/pw_linear.doctree
Binary file not shown.
Binary file added docs/build/doctrees/datasets/pw_normal.doctree
Binary file not shown.
Binary file added docs/build/doctrees/datasets/pw_wavy.doctree
Binary file not shown.
Binary file added docs/build/doctrees/detection/binseg.doctree
Binary file not shown.
Binary file added docs/build/doctrees/detection/bottomup.doctree
Binary file not shown.
Binary file added docs/build/doctrees/detection/dynp.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added docs/build/doctrees/detection/greedy/omp.doctree
Binary file not shown.
Binary file added docs/build/doctrees/detection/greedy/ompk.doctree
Binary file not shown.
Binary file added docs/build/doctrees/detection/index.doctree
Binary file not shown.
Binary file added docs/build/doctrees/detection/pelt.doctree
Binary file not shown.
Binary file added docs/build/doctrees/detection/window.doctree
Binary file not shown.
Binary file added docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file added docs/build/doctrees/general-info.doctree
Binary file not shown.
Binary file added docs/build/doctrees/index.doctree
Binary file not shown.
Binary file added docs/build/doctrees/license.doctree
Binary file not shown.
Binary file added docs/build/doctrees/metrics/display.doctree
Binary file not shown.
Binary file added docs/build/doctrees/metrics/hausdorff.doctree
Binary file not shown.
Binary file added docs/build/doctrees/metrics/index.doctree
Binary file not shown.
Binary file added docs/build/doctrees/metrics/precision.doctree
Binary file not shown.
Binary file added docs/build/doctrees/metrics/randindex.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: 597ddb18f6462438ef270a89cebb5aad
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file added docs/build/html/_images/correlation_shift.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/build/html/_images/example-display.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/build/html/_images/hausdorff.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/build/html/_images/precision_recall.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/build/html/_images/randindex.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/build/html/_images/schema_binseg.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/build/html/_images/schema_fenetre.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/build/html/_images/schema_tree.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/build/html/_images/sum_of_sines.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
219 changes: 219 additions & 0 deletions docs/build/html/_modules/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,219 @@


<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Overview: module code &mdash; ruptures documentation</title>








<script type="text/javascript" src="../_static/js/modernizr.min.js"></script>


<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
<script src="../_static/jquery.js"></script>
<script src="../_static/underscore.js"></script>
<script src="../_static/doctools.js"></script>
<script src="../_static/language_data.js"></script>
<script async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>

<script type="text/javascript" src="../_static/js/theme.js"></script>




<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<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"> ruptures



</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="main navigation">






<ul>
<li class="toctree-l1"><a class="reference internal" href="../general-info.html">License</a></li>
<li class="toctree-l1"><a class="reference internal" href="../general-info.html#installation">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../general-info.html#user-guide">User guide</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../cpd.html">Change point detection: a general formulation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../detection/index.html">Search methods</a></li>
<li class="toctree-l1"><a class="reference internal" href="../costs/index.html">Cost functions</a></li>
<li class="toctree-l1"><a class="reference internal" href="../datasets/index.html">Synthetic signals</a></li>
<li class="toctree-l1"><a class="reference internal" href="../metrics/index.html">Evaluation</a></li>
</ul>



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

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">


<nav class="wy-nav-top" aria-label="top navigation">

<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">ruptures</a>

</nav>


<div class="wy-nav-content">

<div class="rst-content">

















<div role="navigation" aria-label="breadcrumbs navigation">

<ul class="wy-breadcrumbs">

<li><a href="../index.html">Docs</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://schema.org/Article">
<div itemprop="articleBody">

<h1>All modules for which code is available</h1>
<ul><li><a href="ruptures/costs/costautoregressive.html">ruptures.costs.costautoregressive</a></li>
<li><a href="ruptures/costs/costl1.html">ruptures.costs.costl1</a></li>
<li><a href="ruptures/costs/costl2.html">ruptures.costs.costl2</a></li>
<li><a href="ruptures/costs/costlinear.html">ruptures.costs.costlinear</a></li>
<li><a href="ruptures/costs/costml.html">ruptures.costs.costml</a></li>
<li><a href="ruptures/costs/costnormal.html">ruptures.costs.costnormal</a></li>
<li><a href="ruptures/costs/costrank.html">ruptures.costs.costrank</a></li>
<li><a href="ruptures/costs/costrbf.html">ruptures.costs.costrbf</a></li>
<li><a href="ruptures/datasets/pw_constant.html">ruptures.datasets.pw_constant</a></li>
<li><a href="ruptures/datasets/pw_linear.html">ruptures.datasets.pw_linear</a></li>
<li><a href="ruptures/datasets/pw_normal.html">ruptures.datasets.pw_normal</a></li>
<li><a href="ruptures/datasets/pw_wavy.html">ruptures.datasets.pw_wavy</a></li>
<li><a href="ruptures/detection/binseg.html">ruptures.detection.binseg</a></li>
<li><a href="ruptures/detection/bottomup.html">ruptures.detection.bottomup</a></li>
<li><a href="ruptures/detection/dynp.html">ruptures.detection.dynp</a></li>
<li><a href="ruptures/detection/pelt.html">ruptures.detection.pelt</a></li>
<li><a href="ruptures/detection/window.html">ruptures.detection.window</a></li>
<li><a href="ruptures/metrics/hausdorff.html">ruptures.metrics.hausdorff</a></li>
<li><a href="ruptures/metrics/precisionrecall.html">ruptures.metrics.precisionrecall</a></li>
<li><a href="ruptures/metrics/randindex.html">ruptures.metrics.randindex</a></li>
<li><a href="ruptures/show/display.html">ruptures.show.display</a></li>
</ul>

</div>

</div>
<footer>


<hr/>

<div role="contentinfo">
<p>
&copy; Copyright 2017, ENS Paris-Saclay, CNRS
<span class="lastupdated">
Last updated on Mar 20, 2020.
</span>

</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.

</footer>

</div>
</div>

</section>

</div>



<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>






</body>
</html>
Loading