diff --git a/docs/requirements.txt b/docs/requirements.txt index 407324de3..48901fb85 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -11,4 +11,5 @@ python-git-info==0.8.3 sphinxcontrib-mermaid==0.9.2 sphinx-hoverxref==1.3.0 sphinxext-rediraffe==0.2.7 -git+https://github.com/FIRST-Tech-Challenge/ftcdocs-helper@main#subdirectory=linkcheckdiff \ No newline at end of file +sphinx-notfound-page==1.1.0 +git+https://github.com/FIRST-Tech-Challenge/ftcdocs-helper@main#subdirectory=linkcheckdiff diff --git a/docs/source/404.rst b/docs/source/404.rst new file mode 100644 index 000000000..3bfc08507 --- /dev/null +++ b/docs/source/404.rst @@ -0,0 +1,13 @@ +.. meta:: + :title: Page not found + :description: The official home of FIRST Tech Challenge Documentation. + :orphan: + +Page not found +============== + +Unfortunately we couldn't find the content you were looking for. Try using the sidebar menu links or search box. + +TensorFlow and the *FIRST* Machine Learning Toolchain content has been moved to the `FTC Docs Archive `__. + + diff --git a/docs/source/conf.py b/docs/source/conf.py index 73268f1ff..45383d251 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -31,6 +31,7 @@ 'sphinxcontrib.mermaid', 'hoverxref.extension', "sphinxext.rediraffe", + 'notfound.extension', "ftcdocs_linkcheckdiff", ]