An open API service indexing awesome lists of open source software.

https://github.com/zztkm/py-ghpages

ghpages is a CLI tool for easily publishing static content to GitHub Pages.
https://github.com/zztkm/py-ghpages

cli gh-pages python

Last synced: over 1 year ago
JSON representation

ghpages is a CLI tool for easily publishing static content to GitHub Pages.

Awesome Lists containing this project

README

          

# ghpages

ghpages is a CLI tool for easily publishing static content to GitHub Pages.

For example, it is useful to publish API documentation generated by [Sphinx](https://www.sphinx-doc.org/en/master/)

## Install

via: pipx (Recommended)
```
pipx install ghpages
```

via: pip
```
pip install ghpages
```

via: [rye](https://rye-up.com/) (Recommended)
```
rye install ghpages
```

## Usage

Publish the contents of the `dist` directory
```shell
ghpages dist
```

Congratulations! If you see a success message, you are ready to publish on GitHub Pages!

## Development

setup
```console
poetry install
```

activate
```console
poetry shell
```

setup pre-commit
```console
poetry run pre-commit install
```

run tox
```console
poetry run tox
```