Show of github repos and pull requests in your sphinx resume / project.
Installation
$ pip install sphinxcontrib-github
Add sphinxcontrib-github to your extensions in conf.py.
extensions.append('sphinxcontrib.github')
or change:
extensions = ['sphinx.ext.intersphinx', ...]
to:
extensions = ['sphinx.ext.intersphinx', 'sphinxcontrib.github', ...]
Setting up API access
First use will require entering your github username and password. Read the source for logging in. It will create an API key with github and save an api id and api key for future usage in your projects directory.
Add .github.auth to your .gitignore.
Usage
github pull request role
:github-pr:`saltstack/salt/pull/7665`
output:
salt (#7665) Fixed tags for progress events and preload
24 additions(+), 12 deletion(-) 2013-10-08
github repo role
:github-repo:`saltstack/salt`
output:
salt-states-configs: github
github repo directive
.. github-repo:: saltstack/salt
:homepage: http://www.saltstack.org/
:travis: https://www.travis-ci.org/saltstack/salt/
:docs: http://salt.readthedocs.org/en/v0.16.4/
:api: http://salt.readthedocs.org/en/v0.16.4/ref/python-api.html
:pypi: https://pypi.python.org/pypi/salt
output:
github - travis - docs - api - pypi - homepage - 2296 watchers - 813 forks
python support |
2.7 |
sphinx support |
>=0.6 |
Docs |
|
API |
http://sphinxcontrib-github.readthedocs.org/en/latest/api.html |
Changelog |
http://sphinxcontrib-github.readthedocs.org/en/latest/history.html |
Issues |
|
Source |
|
pypi |
|
License |
BSD. |
Release files for sphinxcontrib-github 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sphinxcontrib-github-0.1.3.tar.gz | 6.2 kB | Details |
Release files / sphinxcontrib-github-0.1.3.tar.gz
| Download URL | sphinxcontrib-github-0.1.3.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae8cc9d0a9fb99b90a236ea71f306644032e856956054f171a890c32f8d82d6d
|
|
BLAKE2b-256 checksum How to use checksums |
b203fdf5b89ecddab89b9a11d52e08b2398d8f8558bb8389707ab40ee6ab9368
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |