Skip to content

Commit a310b70

Browse files
committed
Adapted template
1 parent 190350d commit a310b70

4 files changed

Lines changed: 45 additions & 337 deletions

File tree

docs/_static/css/custom.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,13 @@
22
div.cell_output table.dataframe {
33
font-size: 0.8em;
44
}
5+
6+
/* Adjust the logo size */
7+
.logo img {
8+
width: 50%; /* or any percentage you want */
9+
height: auto; /* maintain aspect ratio */
10+
}
11+
12+
img.no-scaled-link {
13+
background: transparent !important;
14+
}

docs/conf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
info = metadata("decoupler")
2222
project_name = info["Name"]
2323
author = info["Author"]
24-
copyright = f"{datetime.now():%Y}, {author}."
24+
copyright = f"{datetime.now():%Y}, scverse."
2525
version = info["Version"]
2626
urls = dict(pu.split(", ") for pu in info.get_all("Project-URL"))
2727
repository_url = urls["Source"]
@@ -36,7 +36,7 @@
3636

3737
html_context = {
3838
"display_github": True, # Integrate GitHub
39-
"github_user": "PauBadiaM",
39+
"github_user": "scverse",
4040
"github_repo": project_name,
4141
"github_version": "main",
4242
"conf_py_path": "/docs/",
@@ -96,6 +96,8 @@
9696
"anndata": ("https://anndata.readthedocs.io/en/stable/", None),
9797
"scanpy": ("https://scanpy.readthedocs.io/en/stable/", None),
9898
"numpy": ("https://numpy.org/doc/stable/", None),
99+
"matplotlib": ("https://matplotlib.org/stable/", None),
100+
"pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None),
99101
}
100102

101103
# List of patterns, relative to source directory, that match files and
@@ -114,6 +116,8 @@
114116
html_css_files = ["css/custom.css"]
115117

116118
html_title = project_name
119+
html_logo = "_static/images/logo.png"
120+
html_favicon = "_static/images/logo.png"
117121

118122
html_theme_options = {
119123
"repository_url": repository_url,

docs/contributing.md

Lines changed: 0 additions & 330 deletions
This file was deleted.

0 commit comments

Comments
 (0)