sphinx-notfound-page
sphinx-notfound-page copied to clipboard
Create a custom 404 page with absolute URLs hardcoded
Python uses this extension but I don't want include it in ePub build. Would you check `if app.builder.embedded` before generating 404 page?
Looks like test suite fails in 6 units Here is pytest output: ```console + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-sphinx-notfound-page-1.0.0-4.fc36.x86_64/usr/lib64/python3.9/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-sphinx-notfound-page-1.0.0-4.fc36.x86_64/usr/lib/python3.9/site-packages + /usr/bin/pytest -ra -m 'not network' ============================= test session starts ============================== platform linux -- Python...
During downstream testing in Fedora Linux I realized there's some misconfiguration in the tox.ini. I removed pdbpp which is not used anywhere in the tests. And added recently released Python...
If you go to https://docs.readthedocs.io/en/stable/notfound and open the Javascript console you will see that the file `https://docs.readthedocs.io/en/stable/_/static/javascript/readthedocs-doc-embed.js` returned 404. For some reason, this URL is being changed when it should...
Should the extension re-write absolute URLs included in the resulting `404.html` or should it leave them as-is? See https://github.com/readthedocs/sphinx-notfound-page/pull/200#discussion_r919228995
Hi, I tried to add sphinx-notfound-page (Version 0.6 or master) for Flask (with [Pallets Sphinx Themes](https://github.com/pallets/pallets-sphinx-themes)). with the following conf: ```python extensions = [ # ... 'notfound.extension', ] notfound_template =...
I have a problem using the extension with sub-projects on readthedocs, and _versioned_ sub-projects in particular. For example, it partly works with “latest”: https://docs.graphcore.ai/projects/available-memory/en/latest/xyz.html The images and styles are present...
**Python version:** 3.9.0 **Sphinx version:** 1.8.5 **sphinx-notfound-page version:** 0.6 Here's the relevant part of my `conf.py`: ```python # sphinx-notfound-page # https://github.com/readthedocs/sphinx-notfound-page notfound_context = { "title": "Page Not Found", "body": """...
If you go to this page https://stellargraph.readthedocs.io/en/stable/demos%20page you will see a 404 page with a link to quickly search "demos page", https://stellargraph.readthedocs.io/en/stable/search.html?q=demos%2020page It links to the regular search addin `q=demos...
Using #8 I found that if you click in the main top-left-title link you go to `/default-language/default-version`. I think this is because of the `pathto` being overriden. Although, we should...