Skip to main content

PyPI

ITCase Sphinx Theme

Install

$ pip install itcase_sphinx_theme -U

Edit your Sphinx’s conf.py

Near the top, add the following

import itcase_sphinx_theme

Activate the theme

html_theme = 'itcase'
html_theme_path = [itcase_sphinx_theme.get_html_themes_path()]

If you want see version of theme in the bottom just add extension:

extensions = ['itcase_sphinx_theme']

Theme options

You can set theme options in conf.py like.

html_theme_options = {
    'travis_button': True,
    'github_button': True,
    'github_user': 'ITCase',
    'github_repo': 'pyramid_sacrud',
}

Here are list of options with default values:

  • logo — Show logo at the top of navigation menu. default: false

  • logo_image — Path to logo. default: ""

  • logo_width — Width in ‘px’ or ‘%’. default: ""

  • logo_height — Height in ‘px’ or ‘%’. default: ""

  • logo_image_desc — Description after logo image. default: ""

  • index_menu — Show navigation menu on main page. default: false

  • sticky_menu — Make navigation element always visible on page. default: true

  • github_button — Show git star badge under breadcrumbs. default: false

  • github_user — default: ""

  • github_repo — default: ""

  • travis_button — Show travis badge under breadcrumbs. default: false

  • travis_user — default: ""

  • travis_repo — default: ""

  1. Theme options

You can set theme options in conf.py. Here are list of options with default values:

  • logo default: False

  • logo_image default: ""

  • logo_width default: ""

  • logo_heigh default: ""

  • logo_image_desc default: ""

  • aindex_menu default: False

sticky_menu — default: True

Make navigation element always visible on page.

github_button — default: False

Show git star repository button under breadcrumbs.

github_user — default: ""

github_repo — default: ""

  • travis_button = default: False

ScreenShots

ustu/lectures.www

https://cdn.rawgit.com/ITCase/itcase_sphinx_theme/master/example/_static/screen1.png

ITCase/sqlalchemy_mptt

https://cdn.rawgit.com/ITCase/itcase_sphinx_theme/master/example/_static/screen2.png

Ergo/ziggurat_foundations

https://cdn.rawgit.com/ITCase/itcase_sphinx_theme/master/example/_static/screen3.png

And other…

Metadata

Release files for itcase-sphinx-theme 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for itcase-sphinx-theme 0.3.1
File Size Uploaded
itcase-sphinx-theme-0.3.1.tar.gz 2.6 MB Details

Release files / itcase-sphinx-theme-0.3.1.tar.gz

Download URL itcase-sphinx-theme-0.3.1.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
c9a907227bf251642ca6f30e1425c302878d9914a19ead1cb581040e16458ade
BLAKE2b-256 checksum
How to use checksums
a31796340350f86b3552a3d99c2183db26f4dd0a636f70d47d180ad99d4a5ab6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file

0.2.0

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page