ghp-import

Easily import docs to your gh-pages branch

Install

All systems
curl cmd.cat/ghp-import.sh
Debian Debian
apt-get install ghp-import
Ubuntu
apt-get install ghp-import
Arch Arch Linux
pacman -S ghp-import
image/svg+xml Kali Linux
apt-get install ghp-import
Windows (WSL2)
sudo apt-get update sudo apt-get install ghp-import
Raspbian
apt-get install ghp-import

ghp-import

Easily import docs to your gh-pages branch

ghp-import is a Python script meant to make using GitHub's gh-pages branches for hosting documentation simple. Inside your repository just run `ghp-import $DOCS_DIR` where $DOCS_DIR is the path to the built documentation. This will write a commit to your gh-pages branch with the current documents in it.

python-ghp-import

Copy your docs directly to the gh-pages branch