Skip to content

Commit

Permalink
Merge pull request #195 from radinamatic/404-for-0.8
Browse files Browse the repository at this point in the history
Add 404 page to 0.8 branch
  • Loading branch information
radinamatic committed Aug 27, 2020
2 parents c975688 + d7d59a2 commit 66f9e07
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
17 changes: 17 additions & 0 deletions docs/404.rst
@@ -0,0 +1,17 @@
:orphan:

Page not found
==============

It seems you are searching for a topic that has been moved elsewhere in our documentation. Please try the following to find what you were looking for:

* Browse the table of content in the sidebar
* Use the search box


*Use the upper menu button to open the table of contents if you are on the mobile device.*

.. tip:: Make sure you are browsing the user guide for the `latest release of Kolibri <https://kolibri.readthedocs.io/en/latest/>`_.


We apologize for the inconvenience!
5 changes: 5 additions & 0 deletions docs/_static/theme_overrides.css
@@ -1,4 +1,9 @@

/* push down the RTD banner so it's not confused with menu */
.keep-us-sustainable {
margin-top: 20em !important;
}

.wy-table-responsive table td {
/* !important prevents the common CSS stylesheets from overriding
this as on RTD they are loaded after this stylesheet */
Expand Down
8 changes: 7 additions & 1 deletion docs/conf.py
Expand Up @@ -14,7 +14,7 @@
# FOR! DO NOT LET THEM BE TARGETTED AT MORE THAN ONE MINOR SERIES!
# I.E.: 0.1.x -- important to add 'dev' suffix for docs targetting development
# series.
DISPLAY_VERSION = "0.8.x"
DISPLAY_VERSION = "0.8"


# If extensions (or modules to document with autodoc) are in another directory,
Expand All @@ -24,6 +24,12 @@
parent = os.path.dirname(cwd)
sys.path.insert(0, os.path.abspath(parent))


extensions = [
'sphinx_rtd_theme',
'notfound.extension',
]

builddir = os.path.join(cwd, '_build')

# -- General configuration -----------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Expand Up @@ -2,3 +2,4 @@
sphinx
sphinx_rtd_theme
sphinx-intl
sphinx-notfound-page

0 comments on commit 66f9e07

Please sign in to comment.