Sphinx extension for slides and extended tables.
Project description
kirlent_sphinx is a Sphinx extension that is primarily meant to be used with the Kırlent educational content management system, although it can be used as a regular Sphinx extension.
Features
kirlent_sphinx provides the following components:
An extended table directive derived from the Cloud Sphinx Theme project.
A slide directive and corresponding HTML themes using RevealJS or ImpressJS.
Getting started
You can install kirlent_sphinx with pip:
pip install kirlent_sphinx
To enable it in your project, make the following changes in conf.py:
Add kirlent_sphinx to extensions:
extensions = ["kirlent_sphinx"]
Set the theme to use revealjs or impressjs using one of the below lines:
html_theme = "kirlent_revealjs" html_theme = "kirlent_impressjs"
Disable index generation:
html_use_index = False
Usage
For the extended table directive, consult the documentation of the table_styling extension of the Cloud Sphinx Theme project.
The slide directives can support most of the data- attributes as described in the documentations of the RevealJS and ImpressJS projects.
The themes include Tailwind utility classes for styling:
.. slide:: Slide title .. container:: columns .. container:: column w-1/3 bg-blue-lighter - item 1a - item 1b .. container:: column bg-red-lighter - item 2 .. speaker-notes:: some extra explanation
License
Copyright (C) 2019 H. Turgut Uyar <uyar@tekir.org>
kirlent_sphinx is released under the BSD license. Read the included LICENSE.txt file for details.
kirlent_sphinx contains code derived from the Cloud Sphinx Theme project which is released under the BSD license. Read the included LICENSE_cloud_spheme.txt file for details.
kirlent_sphinx contains code derived from the sphinxjp.themes.revealjs project which is released under the MIT license. Read the included LICENSE_sphinxjp.themes.revealjs.txt file for details.
kirlent_sphinx contains code from the RevealJS project which is released under the MIT license. Read the included LICENSE_revealjs.txt file for details.
kirlent_sphinx contains code from the ImpressJS project which is released under the MIT license. Read the included LICENSE_impressjs.txt file for details.
kirlent_sphinx contains code from the Tailwind project which is released under the MIT license. Read the included LICENSE_tailwind.txt file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file kirlent_sphinx-0.3.0.tar.gz
.
File metadata
- Download URL: kirlent_sphinx-0.3.0.tar.gz
- Upload date:
- Size: 232.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0a2 CPython/3.6.8 Linux/4.18.0-16-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 882d5f8af466f7bc14f8e6e661cbbf81706a22f9f44bca95fa819032a8d9ed73 |
|
MD5 | fec1c62d80a035bf1e51777bd5ff3293 |
|
BLAKE2b-256 | dd7e12361eac8b81e0b9d602574869beb295bb9ea6d1ee14660a8048a8f4eb54 |
File details
Details for the file kirlent_sphinx-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: kirlent_sphinx-0.3.0-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0a2 CPython/3.6.8 Linux/4.18.0-16-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18e09134d9ce55b314e1687fb4012d59007ac78348c98f8c1304e585d7f0b60c |
|
MD5 | 328953fa4106fa51b62e961800628e4a |
|
BLAKE2b-256 | 0d684b004f278ebf09a8e018a562cd4b7901238fa6648ea971cf062b36193d07 |