Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Latest commit

 

History

History
53 lines (39 loc) · 748 Bytes

README.md

File metadata and controls

53 lines (39 loc) · 748 Bytes

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

Install

via: pipx (Recommended)

pipx install ghpages

via: pip

pip install ghpages

via: rye (Recommended)

rye install ghpages

Usage

Publish the contents of the dist directory

ghpages dist

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

Development

setup

poetry install

activate

poetry shell

setup pre-commit

poetry run pre-commit install

run tox

poetry run tox