Coder Social home page Coder Social logo

clayrisser / sphinx-jekyll-builder Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 3.0 1.07 MB

sphinx builder that outputs jekyll compatible markdown files with frontmatter

Home Page: https://codejam.ninja

License: MIT License

Makefile 13.75% Python 86.25%
markdown md sphinx builder jekyll rst restructuredtext python docs documentation

sphinx-jekyll-builder's Introduction

sphinx-jekyll-builder

PyPI PyPI - Downloads PyPI - Python Version GitHub stars

sphinx builder that outputs jekyll compatible markdown files with frontmatter

Please ★ this repo if you found it useful ★ ★ ★

Features

  • Generates markdown
  • Supports frontmatter
  • Compatible with jekyll
  • Compatible with gatsby

Installation

pip3 install sphinx-jekyll-builder

Dependencies

Usage

Load extension in configuration.

conf.py

extensions = [
    'sphinx_jekyll_builder'
]

If using recommonmark, make sure you explicitly ignore the build files as they will conflict with the system.

conf.py

exclude_patterns = [
    'build/*'
]

Build jekyll files with Makefile

make jekyll

Build jekyll files with sphinx-build command

cd docs
sphinx-build -M jekyll ./ build

Support

Submit an issue

Screenshots

Contribute a screenshot

Contributing

Review the guidelines for contributing

License

MIT License

Jam Risser © 2018

Changelog

Review the changelog

Credits

Support on Liberapay

A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.

Add some fuel if you'd like to keep me going!

Liberapay receiving Liberapay patrons

sphinx-jekyll-builder's People

Contributors

clayrisser avatar dependabot[bot] avatar ganarepository avatar sylvestre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sphinx-jekyll-builder's Issues

Broken by sphinx-markdown-builder=>0.6

Hey, thanks for the software!

I noticed it broke on 6/23 when a new version of sphinx-markdown-builder was released. A fix would either be fixing compatability, or at a minimum pinning to a working version. I'm working around this with armadaproject/armada#2619 locally now.

Can't build using sphinx-build

Trying this for the first time

When I use the sphinx-build command in the docs directory.
Thanks!

sphinx-build -M jekyll ./ _build/jekyll

I get the following errors.

Traceback (most recent call last):
  File "/usr/local/bin/sphinx-build", line 5, in <module>
    from sphinx.cmd.build import main
  File "/usr/local/lib/python3.7/site-packages/sphinx/cmd/build.py", line 17, in <module>
    from typing import Any, IO, List
  File "/usr/local/lib/python3.7/site-packages/typing.py", line 1357, in <module>
    class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
  File "/usr/local/lib/python3.7/site-packages/typing.py", line 1005, in __new__
    self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'

I've followed the setup as described, not sure what the issue is here. Thanks!

styling

Hi,

How to automatically generate styling using the default themes from Sphinx?

Sincerely,
Yaolin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.