Skip to content

Commit c77a6bd

Browse files
authored
Merge pull request #269 from unit8co/fix/doc
Fix/doc
2 parents 1ab231f + d4d6113 commit c77a6bd

File tree

5 files changed

+18
-68
lines changed

5 files changed

+18
-68
lines changed

Dockerfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,4 @@ ADD . /home/jovyan/work
2323

2424
WORKDIR /home/jovyan/work
2525

26-
RUN pip install -q .
27-
RUN pip install -q -r requirements/dev.txt
28-
26+
RUN pip install .['all']

TODO.md

-35
This file was deleted.

build.gradle

+6-7
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,17 @@ for(String flavour : flavours) {
7070
createPipInstallTask(flavour);
7171
}
7272

73+
task installLocally(type:Exec) {
74+
commandLine "pip", "install", ".[all]"
75+
}
76+
7377
task pipInstall() {
7478
doFirst {
7579
setupPip
7680
}
7781
dependsOn pip_core, pip_dev, pip_fbprophet, pip_pmdarima, pip_torch, pip_release
7882
}
7983

80-
task installLocally(type:Exec) {
81-
dependsOn pipInstall
82-
commandLine "pip", "install", "."
83-
}
84-
8584
// Tests
8685
void coverageTestSteps() {
8786
exec {
@@ -142,7 +141,7 @@ task test_all() {
142141
def exampleName=project.properties["exampleName"] ?: ""
143142

144143
task checkExample(type: Exec) {
145-
dependsOn installLocally
144+
dependsOn pipInstall, installLocally
146145
workingDir "./examples"
147146
// exampleName must be passed with -PexampleName=FFT-examples.ipynb
148147
commandLine "papermill", exampleName, exampleName
@@ -175,7 +174,7 @@ task cleanDocs(type: Exec) {
175174
}
176175

177176
task buildDocs() {
178-
dependsOn pipInstall
177+
dependsOn pip_core, pip_release, installLocally
179178
dependsOn cleanDocs
180179
doLast {
181180
docSteps()

docs/source/examples.rst

+1-13
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Examples
55
Here you will find some example notebooks to get more familiar with the API.
66

77

8-
98
darts intro
109
===========
1110

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

1918

2019
Multiple Time Series, Pre-trained Models and Covariates
21-
===========
20+
=======================================================
2221

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

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

3029

31-
Training on multiple series and using Covariates
32-
================================================
33-
34-
You will find below a Jupyter notebook containing a tutorial to darts *global models*,
35-
training on multiple series, and using covariates.
36-
37-
.. toctree::
38-
:maxdepth: 1
39-
40-
examples/multi-time-series-and-covariates.ipynb
41-
4230
Data (pre) Processing
4331
=====================
4432

requirements/release.txt

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# docs
22
sphinx==3.2.1
3-
sphinx-automodapi
4-
sphinx_autodoc_typehints
5-
nbsphinx
6-
pydata-sphinx-theme
7-
recommonmark
3+
sphinx-automodapi==0.13
4+
sphinx_autodoc_typehints==1.11.1
5+
nbsphinx==0.8.0
6+
pydata-sphinx-theme==0.4.1
7+
recommonmark==0.7.1
88
# Do not change it due to https://github.com/sphinx-doc/sphinx/issues/7420
99
m2r @ git+https://github.com/crossnox/m2r@dev#egg=m2r
1010

1111
# publish
12-
twine>=3.0.0
13-
bump2version
14-
ipykernel
15-
papermill
16-
ipywidgets
12+
twine==3.3.0
13+
bump2version==1.0.1
14+
ipykernel==5.3.4
15+
papermill==2.2.2
16+
ipywidgets==7.5.1

0 commit comments

Comments
 (0)