Skip to main content

raw-import is a fork of ghp-import to be more generic on branch name under Git repository,

It’s possible to generate documentation wit Sphinx, and publish the result of make html under the specify branch

Big Fat Warning

This will DESTROY your dedicate branch. If you love it, you’ll want to take backups before playing with this. This script assumes that pages is 100% derivative. You should never edit files in your gh-pages branch by hand if you’re using this script because you will lose your work.

Usage

Usage: raw-import [OPTIONS] DIRECTORY

Options:
  -m MESG     The commit message to use on the gh-pages branch.
  -p          Push the branch to origin/gh-pages after committing.
  -r REMOTE   The name of the remote to push to. [origin]
  -b BRANCH   The name of the dedicate branch. [pages]
  -h, --help  show this help message and exit

Its pretty simple. Inside your repository just run raw-import $DOCS_DIR where $DOCS_DIR is the path to the built documentation. This will write a commit to your dedicate branch with the current documents in it.

If you specify -b it can be possible to specify the name of the branch.

If you specify -p it will also attempt to push the dedicate branch to GitHub. By default it’ll just run git push origin pages. You can specify a different remote using the -r flag.

License

raw-import is distributed under the same license as ghp-import (the Tumbolia Public License. See the LICENSE file for more information).

Release files for raw-import 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for raw-import 0.1.1
File Size Uploaded
raw-import-0.1.1.tar.gz 3.9 kB Details

Release files / raw-import-0.1.1.tar.gz

Download URL raw-import-0.1.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
10d8b0f041ad0bec8bd5ccdd77d51b87a2170bc75e842728eee001d4f7dfe72e
BLAKE2b-256 checksum
How to use checksums
4671d3f9b82e55a0490b540e205b4447297ab68a1ba7617b52ecc3db7b32cf3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page