Port details on branch 2022Q2 |
- py-ghp-import Copy your docs directly to the gh-pages branch
- 2.1.0_1 www =0 2.1.0Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2021-09-27 20:36:14
- Last Update: 2024-04-13 14:47:51
- Commit Hash: 84a372a
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/c-w/ghp-import
- Description:
- GitHub Pages is a pretty awesome service that GitHub provides for hosting
project documentation. The only thing is that it requires a gh-pages branch that
is the site's document root. This means that keeping documentation sources in
the branch with code is a bit difficult. And it really turns into a head
scratcher for things like Sphinx that want to access documentation sources and
code sources at the same time.
Then I stumbled across an interesting looking package called github-tools that
looked almost like what I wanted. It was a tad complicated and more involved
than I wanted but it gave me an idea. Why not just write a script that can copy
a directory to the gh-pages branch of the repository. This saves me from even
having to think about the branch and everything becomes magical.
This is what ghp-import was written for.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}ghp-import>0:www/py-ghp-import@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-ghp-import/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-ghp-import
- pkg install py39-ghp-import
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-ghp-import listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-ghp-import
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1652122709
SHA256 (ghp-import-2.1.0.tar.gz) = 9c535c4c61193c2df8871222567d7fd7e5014d835f97dc7b7439069e2413d343
SIZE (ghp-import-2.1.0.tar.gz) = 10943
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-python-dateutil>=2.8.1 : devel/py-python-dateutil@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- textproc/py-mkdocs
Configuration Options:
- No options to configure
- Options name:
- www_py-ghp-import
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|