Skip to content

Commit 779a747

Browse files
author
Gerit Wagner
committed
switch docs theme
1 parent 4e793bf commit 779a747

File tree

6 files changed

+68
-4
lines changed

6 files changed

+68
-4
lines changed

docs/_static/css/custom.css

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
body > div.wy-grid-for-nav > nav > div > div.wy-side-nav-search > a {
2+
font-size: 150%;
3+
}
4+
5+
.wy-nav-content {
6+
max-width: 1200px !important;
7+
}
8+
9+
.fullwidthtable {
10+
table-layout: fixed;
11+
width: 100%;
12+
overflow-wrap: break-word;
13+
}
14+
15+
pre {
16+
white-space: pre-wrap !important;
17+
}
18+
19+
pre.span.s1 {
20+
margin: 0 28px;
21+
text-indent: -28px;
22+
}
23+
24+
.sphinx_collapse {
25+
margin-bottom: 24px;
26+
}
27+
28+
.wy-table-responsive table {
29+
width: 100%;
30+
}
31+
32+
td {
33+
white-space: normal !important;
34+
}
35+
36+
#endpoint_overview_container table tr {
37+
height: 200px;
38+
}

docs/conf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@
2828
# -- Options for HTML output -------------------------------------------------
2929
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
3030

31-
html_theme = "furo"
31+
html_theme = "sphinx_rtd_theme"
3232
html_static_path = ["_static"]
33+
# html_logo = "logo_small.png"
34+
html_favicon = "favicon.ico"
35+
html_css_files = [
36+
"css/custom.css",
37+
]
3338
html_title = "BibDedupe"
39+
# html_logo = "figures/logo.png"

docs/favicon.ico

15 KB
Binary file not shown.

docs/figures/logo.png

-1.14 MB
Loading

docs/index.rst

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
1-
BibDedupe Documentation
2-
======================================
1+
.. raw:: html
2+
3+
<h1 style="display:none;">BibDedupe Documentation</h1>
4+
5+
.. raw:: html
6+
7+
<div style="text-align: center;">
8+
<img src="https://raw.githubusercontent.com/CoLRev-Environment/bib-dedupe/main/docs/figures/logo.png" alt="BibDedupe logo" width="300"><br><br>
9+
10+
<img src="https://joss.theoj.org/papers/b954027d06d602c106430e275fe72130/status.svg" alt="JOSS status"
11+
onclick="window.open('https://joss.theoj.org/papers/b954027d06d602c106430e275fe72130')">
12+
<img src="https://img.shields.io/pypi/pyversions/bib-dedupe" alt="Supported Python versions"
13+
onclick="window.open('https://pypi.org/project/bib-dedupe/')">
14+
<img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white" alt="pre-commit enabled"
15+
onclick="window.open('https://github.com/pre-commit/pre-commit')">
16+
<img src="https://img.shields.io/github/actions/workflow/status/CoLRev-Environment/bib-dedupe/.github%2Fworkflows%2Ftests.yml?label=tests" alt="CI tests"
17+
onclick="window.open('https://github.com/CoLRev-Environment/bib-dedupe/actions/workflows/tests.yml')">
18+
<img src="https://img.shields.io/github/actions/workflow/status/CoLRev-Environment/bib-dedupe/.github%2Fworkflows%2Fdocs.yml?label=docs" alt="Docs build"
19+
onclick="window.open('https://github.com/CoLRev-Environment/bib-dedupe/actions/workflows/docs.yml')">
20+
<img src="https://img.shields.io/github/actions/workflow/status/CoLRev-Environment/bib-dedupe/.github%2Fworkflows%2Fevaluate.yml?label=continuous%20evaluation" alt="Continuous evaluation"
21+
onclick="window.open('https://github.com/CoLRev-Environment/bib-dedupe/actions/workflows/evaluate.yml')">
22+
</div><br>
323

424
BibDedupe is an open-source **Python library for deduplication of bibliographic records**, tailored for literature reviews.
525
Unlike traditional deduplication methods, **BibDedupe** focuses on entity resolution, linking duplicate records instead of simply deleting them.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ dev = [
4444
"pytest-skip-slow>=0.0.5",
4545
]
4646
docs = [
47-
"furo>=2024.8.0",
47+
"sphinx-rtd-theme>=3.0.0",
4848
"sphinx-copybutton>=0.5.2",
4949
]
5050

0 commit comments

Comments
 (0)