Sphinx Material Design Theme
Project description
Requirements
python
Sphinx
Quick Start
Install the latest version of sphinx_iowmd_theme with pip.
pip install sphinx_iowmd_theme
Add the following line to conf.py.
html_theme = 'sphinx_iowmd_theme'
Html theme options
The following is a description of the options that can be specified in html_theme_options in your project’s conf.py.
html_theme_options = {
# Specify a list of menu in Header.
# Tuples forms:
# ('Name', 'external url or path of pages in the document', boolean, 'icon name')
#
# Third argument:
# True indicates an external link.
# False indicates path of pages in the document.
#
# Fourth argument:
# Specify the icon name.
# For details see link.
# https://material.io/icons/
'header_links' : [
('Home', 'index', False, 'home'),
("ExternalLink", "http://example.com", True, 'launch'),
("NoIconLink", "http://example.com", True, ''),
("GitHub", "https://github.com/zaniphrom/sphinx_iowmd_theme", True, 'link')
],
# Customize css colors.
# For details see link.
# https://getmdl.io/customize/index.html
#
# Values: amber, blue, brown, cyan deep_orange, deep_purple, green, grey, indigo, light_blue,
# light_green, lime, orange, pink, purple, red, teal, yellow(Default: indigo)
'primary_color': 'indigo',
# Values: Same as primary_color. (Default: pink)
'accent_color': 'pink',
# Customize layout.
# For details see link.
# https://getmdl.io/components/index.html#layout-section
'fixed_drawer': True,
'fixed_header': True,
'header_waterfall': True,
'header_scroll': False,
# Render title in header.
# Values: True, False (Default: False)
'show_header_title': False,
# Render title in drawer.
# Values: True, False (Default: True)
'show_drawer_title': True,
# Render footer.
# Values: True, False (Default: True)
'show_footer': True
}
Developer’s Tips
packaging
python setup.py sdist
install
pip install dist/sphinx_iowmd_theme-${version}.tar.gz
Resister PyPI
python setup.py register sdist upload
Build Example’s Document
sphinx-build -b html ./example ./_build -c ./example
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sphinx_iowmd_theme-0.0.11.tar.gz
(18.1 MB
view details)
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_iowmd_theme-0.0.11.tar.gz.
File metadata
- Download URL: sphinx_iowmd_theme-0.0.11.tar.gz
- Upload date:
- Size: 18.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6702433eff4dab32f143e84ec47f76d3ab18dc35bdb4e576bd713701b1044931
|
|
| MD5 |
a10c34f8ab72ed111002ad4491b63c51
|
|
| BLAKE2b-256 |
c7b5e1d8170f4baa4d2940d9f96bd5bfcb5173aa59602d90e65579284178027b
|
File details
Details for the file sphinx_iowmd_theme-0.0.11-py3-none-any.whl.
File metadata
- Download URL: sphinx_iowmd_theme-0.0.11-py3-none-any.whl
- Upload date:
- Size: 18.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
773858a425e4326e9714457e37b0577cb7a9f772a2ec6c9c3095c682793eeb48
|
|
| MD5 |
09fdc5d02c5751923c7caf8fb2f38c9e
|
|
| BLAKE2b-256 |
d7f6bb56433eedfd22d8940cdf2f9bc5d4f14d883353da0323d81094bc4b0c69
|