Skip to main content

sphinx builder that outputs webslides

Project description

Overview

A sphinx extesion to make slides with Webslides.

Installation

pip install sphinx-webslides-builder

Usage

Summary

  1. Start a sphinx document
  2. Modify the conf.py
  3. Create content (and add to index.rst)
  4. sphinx build the document

Details

sphinx-quickstart a sphinx document as normal.

conf.py modifications:

extensions = [
    'sphinx_webslides_builder',
]

html_theme = 'webslides_theme'

Examples of slides can be seen in the example_doc, specifically keynote.rst for an example slide deck.

Simple single slide example:

Create deck.rst in your sphinx doc folder and add:

.. slide::

    :ph1:`A Level 1 Heading`

    Some amazing content

Build the slides:

sphinx-build -b webslides sphinx_document_folder sphinx_document_folder/_webslides_build

Open sphinx_document_folder/_webslides_build/deck.html.

Full docs coming soon.

Markdown Support

To use markdown as shown in some of the examples, installation and configuration of myst-parser is required.

Running / Developing Locally

Make sure you add the webslides dependencies:

bash .github/scripts/get_webslides.sh
pip install -e .

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

sphinx-webslides-builder-0.0.12.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_webslides_builder-0.0.12-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file sphinx-webslides-builder-0.0.12.tar.gz.

File metadata

File hashes

Hashes for sphinx-webslides-builder-0.0.12.tar.gz
Algorithm Hash digest
SHA256 81b023475ce157531a6d35c6a701c4cc7ab7065c350ec970a09946c9635d3cd3
MD5 dab88df0fe894f318aa308fd469b4823
BLAKE2b-256 893e189452749de99a6c4e74c1d506190d51948219d022bb30699ba9ad72e576

See more details on using hashes here.

File details

Details for the file sphinx_webslides_builder-0.0.12-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_webslides_builder-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 7a8870be69a5abd773007a0f058c88e4a3cabd6224dbf2a6b88d1aa88a616b5e
MD5 9e5f5a031da225ea16fa10dd4378574c
BLAKE2b-256 f53b50786928b7552bcbc15823246dffec05567c6753dfb815f5fab1f868c480

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page