Quickstart CLI to scaffold Sphinx + sphinx-revealjs presentation projects
Project description
sphinx-revealjs-quickstart
A CLI to quickly scaffold presentation projects with Sphinx + sphinx-revealjs.
Usage
uvx sphinx-revealjs-quickstart -p project -a author
To also generate GitHub Pages deployment assets, add --github-pages:
uvx sphinx-revealjs-quickstart --github-pages -p project -a author
This tool also accepts the same arguments as sphinx-quickstart (e.g. -l, -v, --release).
See the sphinx-quickstart man page for the full list.
Generated Files
Default
.
├── Makefile
├── build/
└── source/
├── _static/
│ └── css/
│ └── common.css.jinja
├── conf.py
└── index.rst
With --github-pages
.
├── .github/
│ └── workflows/
│ └── publish-pages.yml
├── Makefile
├── build/
└── source/
├── _static/
│ └── css/
│ └── common.css.jinja
├── _templates/
│ └── page.html
├── conf.py
└── index.rst
About the Generated Content
source/conf.pyandsource/_static/css/common.css.jinjacontain settings and styles that creator (nikkie) usually uses
Customizing highlight_color
The generated conf.py includes an html_context entry:
html_context = {
"highlight_color": "#5ae08e",
}
common.css.jinja is a Sphinx CSS template that reads this value at build time.
Change highlight_color to any CSS color value to update the <strong> tag color in your slides.
Remove the entry entirely to omit the strong color rule from the generated CSS.
Customizing OGP metadata (with --github-pages)
When --github-pages is used, the generated conf.py also includes OGP-related entries in html_context:
html_context = {
"highlight_color": "#5ae08e",
"twitter_site": "",
"site_base_url": "",
}
These values are used by the generated source/_templates/page.html to render Open Graph and Twitter Card meta tags:
| Key | Description |
|---|---|
twitter_site |
Twitter/X account handle (e.g. @yourname) used in twitter:site meta tag |
site_base_url |
Base URL of your GitHub Pages site (e.g. https://yourname.github.io/yourrepo) used in og:url and og:image |
Fill in these values in conf.py after scaffolding.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinx_revealjs_quickstart-0.0.4.tar.gz.
File metadata
- Download URL: sphinx_revealjs_quickstart-0.0.4.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
131cd97ef45cf4f5e4f8444c6382b496e58a9c93225d3081af82c2b98d8777ff
|
|
| MD5 |
cb0d3612dbf0adbf3d769a40df859966
|
|
| BLAKE2b-256 |
b6117b946b9796201941097f80881a001fe25e93d665238b40e48646e0dc87c1
|
Provenance
The following attestation bundles were made for sphinx_revealjs_quickstart-0.0.4.tar.gz:
Publisher:
publish.yml on ftnext/sphinx-revealjs-quickstart
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_revealjs_quickstart-0.0.4.tar.gz -
Subject digest:
131cd97ef45cf4f5e4f8444c6382b496e58a9c93225d3081af82c2b98d8777ff - Sigstore transparency entry: 1123197636
- Sigstore integration time:
-
Permalink:
ftnext/sphinx-revealjs-quickstart@7c38489279e008e27b5787dc9f00a96bba481bec -
Branch / Tag:
refs/tags/0.0.4 - Owner: https://github.com/ftnext
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7c38489279e008e27b5787dc9f00a96bba481bec -
Trigger Event:
release
-
Statement type:
File details
Details for the file sphinx_revealjs_quickstart-0.0.4-py3-none-any.whl.
File metadata
- Download URL: sphinx_revealjs_quickstart-0.0.4-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b1e468761d58fe932c7e307c9509bf7f71b794c55e434ecbdfde09bab6ebc70
|
|
| MD5 |
2755092ef87c905808cc316cc5b4310c
|
|
| BLAKE2b-256 |
829d194f16584236c1d78165fd322ddae3c23480d5a6755e3c0a902539cc6057
|
Provenance
The following attestation bundles were made for sphinx_revealjs_quickstart-0.0.4-py3-none-any.whl:
Publisher:
publish.yml on ftnext/sphinx-revealjs-quickstart
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_revealjs_quickstart-0.0.4-py3-none-any.whl -
Subject digest:
6b1e468761d58fe932c7e307c9509bf7f71b794c55e434ecbdfde09bab6ebc70 - Sigstore transparency entry: 1123197646
- Sigstore integration time:
-
Permalink:
ftnext/sphinx-revealjs-quickstart@7c38489279e008e27b5787dc9f00a96bba481bec -
Branch / Tag:
refs/tags/0.0.4 - Owner: https://github.com/ftnext
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7c38489279e008e27b5787dc9f00a96bba481bec -
Trigger Event:
release
-
Statement type: