Skip to content

fix: Add custom 404 pointing to new docs #47

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

Merged
merged 1 commit into from
Aug 30, 2024
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
8 changes: 8 additions & 0 deletions doc/404.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
:orphan: metadata

#################
Page not found
#################

This is the old documentation that will be removed in the future. Visit `new docs page <https://developer.ftrack.com/api-clients/python/>`_ to keep reading.
API reference section is still available here.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"sphinx.ext.todo",
"sphinx.ext.viewcode",
"lowdown",
"notfound.extension"
]


# The suffix of source filenames.
source_suffix = ".rst"

Expand Down
22 changes: 20 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pyparsing = ">=2.0,<3"
clique = "==1.6.1"
websocket-client = ">=0.40.0,<1"
platformdirs = ">=4.0.0,<5"
sphinx-notfound-page = "^1.0.4"

[tool.poetry.group.dev.dependencies]
black = "^23.7.0"
Expand Down
Loading