Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions docs/_static/css/custom.css

This file was deleted.

16 changes: 0 additions & 16 deletions docs/_templates/page.html

This file was deleted.

27 changes: 21 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
master_doc = "index"

# General information about the project.
project = "resolwe_bio"
project = "Resolwe Bio"
version = metadata.metadata("resolwe_bio")["version"]
release = version
author = metadata.metadata("resolwe")["Author-email"]
copyright = "2015-2025, " + author
copyright = "2015-2026, " + author

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -82,10 +82,25 @@
# -- Options for HTML output ----------------------------------------------

# The theme to use for HTML and HTML Help pages.
html_theme = "sphinx_rtd_theme"

templates_path = ["_templates"]
html_static_path = ["_static"]
html_theme = "sphinx_nefertiti"

DOCS_HOST = os.environ.get("DOCS_HOST", "docs.genialis.com")
GOOGLE_ANALYTICS_ID = os.environ.get("GOOGLE_ANALYTICS_ID", "")

html_theme_options = {
"project_short": project,
"logo_url": f"https://{DOCS_HOST}/",
"google_analytics_id": GOOGLE_ANALYTICS_ID,
"style_header_neutral": True,
"style": "yellow",

"header_links": [
{
"text": project,
"link": f"https://{DOCS_HOST}/resolwe-bio/index.html",
},
],
}

# Output file base name for HTML help builder.
htmlhelp_basename = "Resolwebiodoc"
Expand Down
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ test = [
"tblib>=3.2.2",
"twine==6.1.0",
]
docs = ["daphne", "Sphinx~=8.2.3", "sphinx-rtd-theme==3.0.2", "pyasn1>=0.6.1"]
docs = [
"daphne",
"Sphinx~=8.2.3",
"pyasn1>=0.6.1",
"sphinx-nefertiti @ git+https://github.com/genialis/genialis-docs-theme",
]
package = ["twine", "wheel", "check-manifest", "setuptools_scm"]

[project.urls]
Expand Down
Loading