BSD Ports

www/py-ghp-import 2.1.0_2 DragonFly

Copy your docs directly to the gh-pages branch

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
python, www
Package size
16.9 KiB, 73.4 KiB installed

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.

In the other systems

The newest version among them is 2.1.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlywww/py-ghp-import2.1.0_2 newestnone known-[email protected]-
FreeBSDwww/py-ghp-import2.1.0_2 newestnone known-[email protected]-
NetBSDmisc/py-ghp-import by name2.1.0 newestnone known-[email protected]-
MidnightBSDwww/py-ghp-import2.1.0_1 newestno data-[email protected]-
HardenedBSDwww/py-ghp-import2.1.0_2 newestno data-[email protected]-
GhostBSDwww/py-ghp-import2.1.0_2 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install py311-ghp-import

From DPorts:

cd /usr/dports/www/py-ghp-import && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2
Required by 1