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.9.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.9-py3-none-any.whl (79.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx-webslides-builder-0.0.9.tar.gz
  • Upload date:
  • Size: 69.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for sphinx-webslides-builder-0.0.9.tar.gz
Algorithm Hash digest
SHA256 29e978cc571a87560dd3d93333b963ba836db3108726ccd8d9c6d35084fcc13f
MD5 e1c7eaf8ec35f656370e34abc92b3c9a
BLAKE2b-256 8d20f0b6a565769b6f006f1f5ae6b9c5f6eabe8794dc4e66a69e26515b155865

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sphinx_webslides_builder-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 702071cdd4cb92c6e1f8aee3254dc834a71dbf1a50df0d8cbe6ce14a1d9198b6
MD5 ea605ef511e2f6fb1e266fb43d77ad2b
BLAKE2b-256 e67259b8ea1faf228ddfe59c651bd54ad5903be2db42df87ea553290924201a0

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