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

Add redict from old documentation #487

Closed
wants to merge 13 commits into from
2 changes: 1 addition & 1 deletion .github/workflows/docs-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
publish-dir: './site'
production-branch: master
alias: deploy-preview-${{ github.event.number }}
production-deploy: false
production-deploy: true
deploy-message: "Deploy from GitHub Actions"
github-token: ${{ secrets.GITHUB_TOKEN }}
enable-commit-comment: true
Expand Down
2 changes: 2 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@

# -- Options for HTML output -------------------------------------------------

html_extra_path = ["netlify.toml"]

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = "sphinx_rtd_theme"
Expand Down
5 changes: 5 additions & 0 deletions docs/source/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[[redirects]]
from = "/*"
to = "https://docs.etna.ai/stable/index.html"
status = 301
force = true
Loading