Skip to content

Commit

Permalink
Merge pull request #269 from unit8co/fix/doc
Browse files Browse the repository at this point in the history
Fix/doc
  • Loading branch information
hrzn committed Feb 3, 2021
2 parents 1ab231f + d4d6113 commit c77a6bd
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 68 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,4 @@ ADD . /home/jovyan/work

WORKDIR /home/jovyan/work

RUN pip install -q .
RUN pip install -q -r requirements/dev.txt

RUN pip install .['all']
35 changes: 0 additions & 35 deletions TODO.md

This file was deleted.

13 changes: 6 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,17 @@ for(String flavour : flavours) {
createPipInstallTask(flavour);
}

task installLocally(type:Exec) {
commandLine "pip", "install", ".[all]"
}

task pipInstall() {
doFirst {
setupPip
}
dependsOn pip_core, pip_dev, pip_fbprophet, pip_pmdarima, pip_torch, pip_release
}

task installLocally(type:Exec) {
dependsOn pipInstall
commandLine "pip", "install", "."
}

// Tests
void coverageTestSteps() {
exec {
Expand Down Expand Up @@ -142,7 +141,7 @@ task test_all() {
def exampleName=project.properties["exampleName"] ?: ""

task checkExample(type: Exec) {
dependsOn installLocally
dependsOn pipInstall, installLocally
workingDir "./examples"
// exampleName must be passed with -PexampleName=FFT-examples.ipynb
commandLine "papermill", exampleName, exampleName
Expand Down Expand Up @@ -175,7 +174,7 @@ task cleanDocs(type: Exec) {
}

task buildDocs() {
dependsOn pipInstall
dependsOn pip_core, pip_release, installLocally
dependsOn cleanDocs
doLast {
docSteps()
Expand Down
14 changes: 1 addition & 13 deletions docs/source/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Examples
Here you will find some example notebooks to get more familiar with the API.



darts intro
===========

Expand All @@ -18,7 +17,7 @@ You will find below an example Jupyter notebook containing an intro to the usage


Multiple Time Series, Pre-trained Models and Covariates
===========
=======================================================

You will find below an example Jupyter notebook showcasing models trained on multiple time series, pre-trained models, and the usage of covariates.

Expand All @@ -28,17 +27,6 @@ You will find below an example Jupyter notebook showcasing models trained on mul
examples/02-multi-time-series-and-covariates.ipynb


Training on multiple series and using Covariates
================================================

You will find below a Jupyter notebook containing a tutorial to darts *global models*,
training on multiple series, and using covariates.

.. toctree::
:maxdepth: 1

examples/multi-time-series-and-covariates.ipynb

Data (pre) Processing
=====================

Expand Down
20 changes: 10 additions & 10 deletions requirements/release.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# docs
sphinx==3.2.1
sphinx-automodapi
sphinx_autodoc_typehints
nbsphinx
pydata-sphinx-theme
recommonmark
sphinx-automodapi==0.13
sphinx_autodoc_typehints==1.11.1
nbsphinx==0.8.0
pydata-sphinx-theme==0.4.1
recommonmark==0.7.1
# Do not change it due to https://github.com/sphinx-doc/sphinx/issues/7420
m2r @ git+https://github.com/crossnox/m2r@dev#egg=m2r

# publish
twine>=3.0.0
bump2version
ipykernel
papermill
ipywidgets
twine==3.3.0
bump2version==1.0.1
ipykernel==5.3.4
papermill==2.2.2
ipywidgets==7.5.1

0 comments on commit c77a6bd

Please sign in to comment.