-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Nixtla:main' into save_model
- Loading branch information
Showing
5 changed files
with
181 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: "build-docs" | ||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
build-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
cache: "pip" | ||
python-version: '3.10' | ||
cache-dependency-path: settings.ini | ||
- name: Build docs | ||
run: | | ||
set -ux | ||
python -m pip install --upgrade pip | ||
pip install -Uq nbdev | ||
pip install -e ".[dev]" | ||
mkdir nbs/_extensions | ||
cp -r docs-scripts/mintlify/ nbs/_extensions/ | ||
python docs-scripts/update-quarto.py | ||
echo "procs = nbdev_plotly.plotly:PlotlyProc" >> settings.ini | ||
nbdev_docs | ||
- name: Apply final formats | ||
run: bash ./docs-scripts/docs-final-formatting.bash | ||
- name: Copy over necessary assets | ||
run: | | ||
cp nbs/mint.json _docs/mint.json | ||
cp docs-scripts/imgs/* _docs/ | ||
- name: Deploy to Mintlify Docs | ||
if: github.event_name == 'push' | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_branch: docs | ||
publish_dir: ./_docs | ||
# The following lines assign commit authorship to the official GH-Actions bot for deploys to `docs` branch. | ||
# You can swap them out with your own user credentials. | ||
user_name: github-actions[bot] | ||
user_email: 41898282+github-actions[bot]@users.noreply.github.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "docs-scripts"] | ||
path = docs-scripts | ||
url = [email protected]:Nixtla/docs.git | ||
branch = scripts |
Submodule docs-scripts
added at
d63d02
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
{ | ||
"$schema": "https://mintlify.com/schema.json", | ||
"name": "Nixtla", | ||
"logo": { | ||
"light": "/light.png", | ||
"dark": "/dark.png" | ||
}, | ||
"favicon": "/favicon.svg", | ||
"colors": { | ||
"primary": "#0E0E0E", | ||
"light": "#FAFAFA", | ||
"dark": "#0E0E0E", | ||
"anchors": { | ||
"from": "#2AD0CA", | ||
"to": "#0E00F8" | ||
} | ||
}, | ||
"topbarCtaButton": { | ||
"type": "github", | ||
"url": "https://github.com/Nixtla/nixtla" | ||
}, | ||
"topAnchor": { | ||
"name": "StatsForecast", | ||
"icon": "bolt" | ||
}, | ||
"navigation": [ | ||
{ | ||
"group": "", | ||
"pages": ["index.html"] | ||
}, | ||
{ | ||
"group": "Getting Started", | ||
"pages": [ | ||
"docs/getting-started/installation.html", | ||
"docs/getting-started/getting_started_short.html", | ||
"docs/getting-started/getting_started_complete.html" | ||
] | ||
}, | ||
{ | ||
"group": "Tutorials", | ||
"pages": [ | ||
"docs/tutorials/anomalydetection.html", | ||
"docs/tutorials/conformalprediction.html", | ||
"docs/tutorials/crossvalidation.html", | ||
"docs/tutorials/electricityloadforecasting.html", | ||
"docs/tutorials/electricitypeakforecasting.html", | ||
"docs/tutorials/garch_tutorial.html", | ||
"docs/tutorials/intermittentdata.html", | ||
"docs/tutorials/multipleseasonalities.html", | ||
"docs/tutorials/statisticalneuralmethods.html", | ||
"docs/tutorials/uncertaintyintervals.html" | ||
] | ||
}, | ||
{ | ||
"group": "How to Guides", | ||
"pages": [ | ||
"docs/how-to-guides/automatic_forecasting.html", | ||
"docs/how-to-guides/amazonstatsforecast.html", | ||
"docs/how-to-guides/autoarima_vs_prophet.html", | ||
"docs/how-to-guides/dask.html", | ||
"docs/how-to-guides/ets_ray_m5.html", | ||
"docs/how-to-guides/exogenous.html", | ||
"docs/how-to-guides/getting_started_complete_polars.html", | ||
"docs/how-to-guides/migrating_R", | ||
"docs/how-to-guides/numba_cache.html", | ||
"docs/how-to-guides/prophet_spark_m5.html", | ||
"docs/how-to-guides/ray.html", | ||
"docs/how-to-guides/spark.html" | ||
] | ||
}, | ||
{ | ||
"group": "Model References", | ||
"pages": [ | ||
"docs/models/adida.html", | ||
"docs/models/arch.html", | ||
"docs/models/arima.html", | ||
"docs/models/autoarima.html", | ||
"docs/models/autoces.html", | ||
"docs/models/autoets.html", | ||
"docs/models/autoregressive.html", | ||
"docs/models/autotheta.html", | ||
"docs/models/crostonclassic.html", | ||
"docs/models/crostonoptimized.html", | ||
"docs/models/crostonsba.html", | ||
"docs/models/dynamicoptimizedtheta.html", | ||
"docs/models/dynamicstandardtheta.html", | ||
"docs/models/garch.html", | ||
"docs/models/holt.html", | ||
"docs/models/holtwinters.html", | ||
"docs/models/imapa.html", | ||
"docs/models/multipleseasonaltrend.html", | ||
"docs/models/optimizedtheta.html", | ||
"docs/models/seasonalexponentialsmoothing.html", | ||
"docs/models/seasonalexponentialsmoothingoptimized.html", | ||
"docs/models/simpleexponentialoptimized.html", | ||
"docs/models/simpleexponentialsmoothing.html", | ||
"docs/models/standardtheta.html", | ||
"docs/models/tsb.html" | ||
] | ||
}, | ||
{ | ||
"group": "API Reference", | ||
"pages": [ | ||
"src/core/core.html", | ||
"src/core/distributed.fugue.html", | ||
"src/core/models.html", | ||
"src/core/models_intro" | ||
] | ||
}, | ||
{ | ||
"group": "Contributing", | ||
"pages": [ | ||
"docs/contribute/contribute", | ||
"docs/contribute/docs", | ||
"docs/contribute/issue-labels", | ||
"docs/contribute/issues", | ||
"docs/contribute/step-by-step", | ||
"docs/contribute/techstack" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters