openvino/docs/openvino_sphinx_theme
Jacek Pawlak 239466ca5d
copyright year update (#23370)
New PR due to merge
conflicts(https://github.com/openvinotoolkit/openvino/pull/22917)

Updated the copyright year from 2018-2023 to 2018-2024 in all openvino
files

Ref. to script: CVS-101144

Command used:
```bash
git grep -lz '2018-2023 Intel Corporation' | xargs -0 sed -i '' -e 's/2018-2023 Intel Corporation/2018-2024 Intel Corporation/g'
```
2024-03-14 09:37:02 +00:00
..
openvino_sphinx_theme [DOCS] Docs file structure update with fixes (#23343) 2024-03-11 17:05:58 +00:00
.gitignore Feature/azaytsev/from 2021 4 (#9247) 2021-12-21 20:26:37 +03:00
MANIFEST.in Feature/ntyukaev/add doxygen snippet sphinx (#10277) 2022-02-11 09:19:46 +03:00
README.md Add profiler to document build scripts (#14029) 2022-11-18 15:12:35 +04:00
setup.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00

README.md

openvino_sphinx_theme

Installation and usage

  1. Install the openvino_sphinx_theme using python:
python setup.py install --user
  1. Update the html_theme variable in your conf.py:
html_theme = 'openvino_sphinx_theme'

Configuration

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.

Maintainers

  • OpenVINO Documentation team