Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add external module structure like sphinxcontrib #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

heavenshell
Copy link

Hi,

Currently rstblog need to put extra module into modules directroy.

For example when I create module like youtube.py, which shows thumbnail in blog, I put it into modules directory manually.

IMHO third party module should not put into rstblog.modules directry.

So I wrote a patch, which can handle external module structure like sphinxcontrib.

Here is a sample config.yml


---
active_modules: [pygments, tags, blog, latex]
extensions: [rstblogcontrib.youtube]
modules:
  pygments:
    style: tango
  1. Add extensions list in config.yml.
  2. ./run-rstblog build execute rstblogcontrib.youtube.setup().

If you don't need any extensions, delete extensions line, so rstblog would not execute extensions.

Please check it and include.

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant