mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
textproc/py-sphinx-notfound-page: Add new port
Sphinx-notfound-page is a Sphinx extension to create custom 404 pages and help you to generate proper resource links (js, css, images, etc) to render the page properly. This extension was originally developed to be used on Read the Docs but it can be used in other hosting services as well. https://sphinx-notfound-page.readthedocs.io/
This commit is contained in:
parent
593150e23e
commit
96fae7c50d
4 changed files with 33 additions and 0 deletions
|
@ -1612,6 +1612,7 @@
|
||||||
SUBDIR += py-sphinx-me
|
SUBDIR += py-sphinx-me
|
||||||
SUBDIR += py-sphinx-multiversion
|
SUBDIR += py-sphinx-multiversion
|
||||||
SUBDIR += py-sphinx-multiversion-zrepl
|
SUBDIR += py-sphinx-multiversion-zrepl
|
||||||
|
SUBDIR += py-sphinx-notfound-page
|
||||||
SUBDIR += py-sphinx-sitemap
|
SUBDIR += py-sphinx-sitemap
|
||||||
SUBDIR += py-sphinx-tabs
|
SUBDIR += py-sphinx-tabs
|
||||||
SUBDIR += py-sphinx-theme-builder
|
SUBDIR += py-sphinx-theme-builder
|
||||||
|
|
23
textproc/py-sphinx-notfound-page/Makefile
Normal file
23
textproc/py-sphinx-notfound-page/Makefile
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
PORTNAME= sphinx-notfound-page
|
||||||
|
DISTVERSION= 1.0.4
|
||||||
|
CATEGORIES= textproc python
|
||||||
|
MASTER_SITES= PYPI
|
||||||
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSIONFULL}
|
||||||
|
|
||||||
|
MAINTAINER= nivit@FreeBSD.org
|
||||||
|
COMMENT= Generate 404 Not Found Pages Automatically for Sphinx Docs
|
||||||
|
WWW= https://sphinx-notfound-page.readthedocs.io/
|
||||||
|
|
||||||
|
LICENSE= MIT
|
||||||
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.9.0:devel/py-flit-core@${PY_FLAVOR}
|
||||||
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=5:textproc/py-sphinx@${PY_FLAVOR}
|
||||||
|
|
||||||
|
USES= python
|
||||||
|
USE_PYTHON= autoplist pep517
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
textproc/py-sphinx-notfound-page/distinfo
Normal file
3
textproc/py-sphinx-notfound-page/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1730477793
|
||||||
|
SHA256 (sphinx_notfound_page-1.0.4.tar.gz) = 2a52f49cd367b5c4e64072de1591cc367714098500abf4ecb9a3ecb4fec25aae
|
||||||
|
SIZE (sphinx_notfound_page-1.0.4.tar.gz) = 519228
|
6
textproc/py-sphinx-notfound-page/pkg-descr
Normal file
6
textproc/py-sphinx-notfound-page/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Sphinx-notfound-page is a Sphinx extension to create custom 404 pages and help
|
||||||
|
you to generate proper resource links (js, css, images, etc) to render the page
|
||||||
|
properly.
|
||||||
|
|
||||||
|
This extension was originally developed to be used on Read the Docs but it can
|
||||||
|
be used in other hosting services as well.
|
Loading…
Add table
Reference in a new issue