File: 404.rst

package info (click to toggle)
sphinx-notfound-page 1.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 920 kB
  • sloc: python: 699; makefile: 15
file content (41 lines) | stat: -rw-r--r-- 981 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
==========================
 Oh, oh - Page not found
==========================

This is a custom 404.rst file.

This file should be rendered instead of the default one.

Variables Sphinx substitution should be allowed here.
Example, version: |version|.

Including an image using ``.. image::`` directive,
should also make the extension to fix the URIs.

.. image:: test.png
   :alt: An image


.. image:: images/loudly-crying-face.png
   :alt: Image from folder


Also, using ``.. figure::`` should work as well.

.. figure:: test.png

   Description.


Including an image using an absolute URL should not be modified by the extension:

.. image:: https://read-the-docs-guidelines.readthedocs-hosted.com/_images/logo-dark.png
   :alt: Read the Docs Logo


.. image:: https.png
   :alt: PATH looking as an URL


Including a file pointing to the static files served by Read the Docs should not be modified:
`readthedocs-doc-embed.js </_/static/javascript/readthedocs-doc-embed.js>`_