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.10.tar.gz (69.2 kB 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.10-py3-none-any.whl (79.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for sphinx-webslides-builder-0.0.10.tar.gz
Algorithm Hash digest
SHA256 e52f1a3fa1a7c4698350787ff2ed9a1a37680ed8f995dab33bfe4e1de3603fb3
MD5 24d170d34e189461a3a16d81142b16fc
BLAKE2b-256 46643376e257989387683ff18f82b6442072f594aad9aa323c2028e4a4b890b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sphinx_webslides_builder-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 636a435268d7fd4ad404f3d19619f3efd4fbcebfacef17a0f0efbe3e2c03524b
MD5 93dd8e95bdef523dad61209a64dd768a
BLAKE2b-256 b00ef23f23c96c1e626cd7fb664f4640272defdf6c5f3061f3f0c0b44595b0e6

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