Skip to main content

Intel Branded Sphinx Theme

Project description

OpenSSF Scorecard CodeQL

Intel® Sphinx Theme

Sphinx theme based on Intel's Design System

Installation and usage

  1. Install the intel_sphinx_theme using pip:
pip install git+https://github.com/intel/intel-sphinx-theme
  1. Update the html_theme variable in your conf.py:
html_theme = 'intel_sphinx_theme'

Configuration

Theme Logo

To add a logo at the left of your navigation bar, use html_logo variable to set the path to the logo file.

html_logo = <path to the logo file>

Version and language selectors

To enable a version and language selectors, add the following configuration to your conf.py in html_context:

html_context = {
    'current_version': 'latest',
    'current_language': 'en',
    'languages': (('English', '/en/latest/'), ('Chinese', '/cn/latest/')),
    'versions': (('latest', '/en/latest/'), ('2022.1', '/en/2022.1'))
}

You can add selectors only for versions or languages. If you want to add version selector you must define both current_version and versions properties. If you want to add version selector you must define both current_language and languages properties.

Release process and versioning

Create your feature branches, then create a PR to merge it into main. Apply the feedback, and wait for the approval, semantic-release is going to assign the correct version according to the commits.

Maintainers

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

intel_sphinx_theme-1.0.1.tar.gz (923.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

intel_sphinx_theme-1.0.1-py3-none-any.whl (939.0 kB view details)

Uploaded Python 3

File details

Details for the file intel_sphinx_theme-1.0.1.tar.gz.

File metadata

  • Download URL: intel_sphinx_theme-1.0.1.tar.gz
  • Upload date:
  • Size: 923.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for intel_sphinx_theme-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2a9ed33391ad030e438fd1ee23fd6019dfde685255d240be03c59fb216526352
MD5 23fd5a00d63613715f8c0f6d5fd39d44
BLAKE2b-256 db5fcc5b83d5f85916dc5c60b9ba2f31ba5338cf03c4a9d8d2faaf3a38c37a55

See more details on using hashes here.

Provenance

The following attestation bundles were made for intel_sphinx_theme-1.0.1.tar.gz:

Publisher: semantic-release.yml on intel/intel-sphinx-theme

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file intel_sphinx_theme-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for intel_sphinx_theme-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 20d70e62ece97c928b106b81ef8808c4f77090690fdd58ce21aa9482058dde68
MD5 0bbe24f1b3182cea8f2761fb52b13487
BLAKE2b-256 a6ecea7cd4d3fdd587b560473686e088e73b56ec64e39c2a4080e798862925e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for intel_sphinx_theme-1.0.1-py3-none-any.whl:

Publisher: semantic-release.yml on intel/intel-sphinx-theme

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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