Skip to content

Commit

Permalink
Change documentation theme
Browse files Browse the repository at this point in the history
Change the theme to material theme
  • Loading branch information
kopecmartin committed Oct 5, 2023
1 parent 06a9aa1 commit c2ffef7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 99 deletions.
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ansible-core>=2.14.6
sphinx>=6.2.1 # BSD
sphinx-autobuild>=2021.3.1
sphinx_rtd_theme>=1.2.2
sphinx-material
doc8>=0.8.1 # Apache-2.0
sphinxemoji
myst-parser
96 changes: 0 additions & 96 deletions docs/source/Makefile

This file was deleted.

17 changes: 15 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,27 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
# html_theme = "sphinx_rtd_theme"
# html_logo = "images/logo_cifmw_200.png"
html_theme = "sphinx_material"

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#
# html_theme_options = {}
html_theme_options = {
"base_url": "https://github.com/openstack-k8s-operators/test-operator/",
"repo_url": "https://github.com/openstack-k8s-operators/test-operator/",
"nav_title": "test-operator",
"repo_name": "test-operator",
"repo_type": "github",
"globaltoc_depth": 2,
"color_primary": "blue-grey",
"color_accent": "cyan",
"touch_icon": "images/openstack-logo.png",
"theme_color": "#2196f3",
"master_doc": False,
"table_classes": ["plain"],
}

# -- Options for HTMLHelp output ------------------------------------------

Expand Down

0 comments on commit c2ffef7

Please sign in to comment.