Skip to content

Commit

Permalink
Docs: use the alabaster theme
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Bompard <[email protected]>
  • Loading branch information
abompard committed Jul 12, 2024
1 parent e6eb3be commit 6c59c32
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 65 deletions.
16 changes: 0 additions & 16 deletions doc/_static/site.css

This file was deleted.

42 changes: 10 additions & 32 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
master_doc = "index"

# General information about the project.
project = "MirrorManager2"
project = "Mirror Manager"
copyright = "2014, Pierre-Yves Chibon <[email protected]>"

# The version info for the project you're documenting, acts as replacement
Expand Down Expand Up @@ -106,55 +106,33 @@

# -- Options for HTML output ----------------------------------------------

import cloud_sptheme as csp

html_style = "site.css"

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
# html_theme = 'default'
html_theme = "cloud"
html_theme = "alabaster"

# 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 = {
"sidebarwidth": "200px",
"max_width": "900px",
"compact_width": "800px",
"minimal_width": "700px",
# Style it like Fedora..
"bodyfont": "Cantarell",
"highlightcolor": "#79db32", # First Green
"sidebarbgcolor": "#FEFEFE",
"sidebartrimcolor": "#FEFEFE",
"sectionbgcolor": "#FEFEFE",
"sectiontrimcolor": "#FEFEFE",
"sectiontextcolor": "#444444",
"relbarbgcolor": "#FEFEFE",
"relbartextcolor": "#444444",
"relbarlinkcolor": "#444444",
"bgcolor": "#FEFEFE",
"textcolor": "#444444",
# "linkcolor": "#79db32", # First Green
"linkcolor": "#00009d",
"headtextcolor": "#444444",
"headlinkcolor": "#444444",
# "codebgcolor"
# "codetextcolor"
"codetrimcolor": "#79db32", # First Green
"footerbgcolor": "#FEFEFE",
"github_user": "fedora-infra",
"github_repo": "mirrormanager2",
"page_width": "1040px",
"show_related": True,
"sidebar_collapse": True,
"caption_font_size": "140%",
}
# Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = []
html_theme_path = [csp.get_theme_dir()]

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
# html_title = None

# html_style = "site.css"

# A shorter title for the navigation bar. Default is the same as html_title.
# html_short_title = None

Expand Down
16 changes: 1 addition & 15 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ responses = "^0.23.3 || ^0.25.0"
sphinx = ">=6.1.3"
myst-parser = ">=0.16"
sphinxcontrib-httpdomain = "^1.8.1"
cloud-sptheme = "^1.10.1.post20200504175005"
sphinxcontrib-mermaid = "^0.9.2"

[tool.poetry.scripts]
Expand Down
1 change: 0 additions & 1 deletion utility/mirrormanager2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ BuildRequires: python%{python_pkgversion}-coverage
BuildRequires: python%{python_pkgversion}-sphinx
BuildRequires: python%{python_pkgversion}-blinker
BuildRequires: python%{python_pkgversion}-sphinxcontrib-httpdomain
BuildRequires: python%{python_pkgversion}-cloud-sptheme
BuildRequires: rsync
BuildRequires: python%{python_pkgversion}-responses
BuildRequires: poetry
Expand Down

0 comments on commit 6c59c32

Please sign in to comment.