跳转到主要内容

Sphinx扩展,用于构建带有绝对URL的404页面

项目描述

Build status Current PyPI version Documentation status Repository license

sphinx-notfound-page

创建一个使用硬编码绝对URL的自定义404页面。

安装

pip install sphinx-notfound-page

配置

将此扩展添加到您的 conf.py 文件中,如下所示

extensions = [
 # ... other extensions here

 'notfound.extension',
]

文档

查看完整的文档,请访问 https://sphinx-notfound-page.readthedocs.io/

感谢

基于 @ericholscher 在 https://github.com/readthedocs/readthedocs.org/issues/353 的解决方案

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

sphinx_notfound_page-1.0.4.tar.gz (519.2 kB 查看散列)

上传

构建分布

sphinx_notfound_page-1.0.4-py3-none-any.whl (8.2 kB 查看散列)

上传 Python 3

支持者:

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面