A Sphinx theme using Bulma
Project description
Currently updating major changes and updates from AccentDesign/karma_sphinx_theme
Check todo list for planned features to be included on release version v0.1.0 (cur: v0.0.11)
A simple responsive theme for sphinx using Bulma featuring:
- Has built-in dark/light color themes using native CSS and JavaScript
- Sphinx built-in text search engine
- Extended Sass rulesets from bulma
- Support for user-defined favicon and logo from sphinx config
- Custom icon font made with Fontello
- Theme user-defined documentation repository reference
Yet to be done a.k.a todo
- Support user-defined colors(at least primary)
Enable custom Sass rules on docs build(can be done but requires user to build theme again) - Examples of use with breathe for C++ docs
Installing
Using pip to install from this repository:
pip install sphinx-bulma
Configuration
The theme's project-wide options are defined in the src/sphinx-bulma/theme.conf
file, and can be defined in your project's conf.py via
html_theme_options. For example:
html_theme_options = {
'navigation_depth': 2, # maximum depth of tree
'includehidden': True, # if true sidebar may include toctrees marked with hidden option
'titles_only': False, # if true removes headers within a page from the sidebar
'display_git': False, # if true options below must be set
'git_host': 'github.com', # git host url
'git_user': 'gh-user', # your git host username
'git_repo': 'doc-repo', # doc repository
'git_blob': 'blob', # default for github
'git_version': 'master/docs/', # docs folder
'git_icon': 'github', # icon to show on docs
'git_desc': 'Check the sources', # link description
'default_palette': 'dark', # default color palette (dark or light)
'sidebar': True # if true sidebar will be rendered
}
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-bulma-0.0.11.tar.gz.
File metadata
- Download URL: sphinx-bulma-0.0.11.tar.gz
- Upload date:
- Size: 985.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c9b67883f5b26f49d3223ccde51b662a0f467fb706b1981d78ddb1fc2c317fa
|
|
| MD5 |
d4b9fdf55f0e87e1d6ac38b6b04fb332
|
|
| BLAKE2b-256 |
3a05d0f96da6b5d9fb4d792bea87283d026662a0687e45cee891de6db669ff52
|
File details
Details for the file sphinx_bulma-0.0.11-py3-none-any.whl.
File metadata
- Download URL: sphinx_bulma-0.0.11-py3-none-any.whl
- Upload date:
- Size: 982.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8eb824ecbd81106db81599ffd8cbf8b9b7eebea9e562309d24533b16a9108d5
|
|
| MD5 |
f953a5f6a603f1b81be732cf3b18e034
|
|
| BLAKE2b-256 |
34a1162ad80669c73a70191a06f49006ad87c089afb67e8e5d11e6a0e17571eb
|