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

Custom Bootstrap-specific HTMLTranslator #21

Merged
merged 5 commits into from
Sep 25, 2019

Conversation

jorisvandenbossche
Copy link
Member

@jorisvandenbossche jorisvandenbossche commented Sep 16, 2019

Initially based on ryan-roemer/sphinx-bootstrap-theme#92, but instead of subclassing docutils, I subclassed directly sphinx's HTML5Translator, and for now only overriding admonition (to map to bootstrap alerts) and table (to add the "table" class and remove "docutils" and "align-default" classes)

@jorisvandenbossche jorisvandenbossche merged commit 563e84a into master Sep 25, 2019
@jorisvandenbossche jorisvandenbossche deleted the bootstrap-html-translator branch September 25, 2019 18:54
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.

None yet

1 participant