A Fidus Writer plugin to allow publishing of books to Github
Project description
A plugin to export books to github
This plugin is currently in early-stage development. It has not reached production level quality yet.
To install:
Make sure you have installed the fiduswriter-books plugin and you have updated both fiduswriter and fiduswriter-books to the latest 3.9.x patch release.
Install this plugin (for example by running pip install fiduswriter-github-export).
In your configuration.py file, add “github_export” and “allauth.socialaccount.providers.github” to INSTALLED_APPS.
Set up github as one of the connected login options. See instructions here: https://django-allauth.readthedocs.io/en/latest/providers.html#github . The callback URL will be in the format https://DOMAIN.NAME/api/github/github/login/callback/
In your configuration.py file, make sure to add repo rights for the github connector like this:
SOCIALACCOUNT_PROVIDERS = { 'github': { 'SCOPE': [ 'repo', 'user:email', ], } }
To use:
Login to your Fidus Writer instance using github, or login with a regular account and connect a Github account on the profile page (https://DOMAIN.NAME/user/profile/)
Go to the books overview page.
Enter a book to set the github settings for the book.
Select the book in the overview and export to github via the dropdown menu.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for fiduswriter-github-export-3.10.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf041c1e2d61871f3ec266b998bb42f351b0964d4c9932e1df7e7d2a9bdd019a |
|
MD5 | 7a13c28bd474a0f9c64c857de4263dd9 |
|
BLAKE2b-256 | a577034e1ef04333dd1df4f6461bab0dc4a00410c0830a3a3fd6a3c3e11fa4b0 |