Skip to content

Commit 7f6ceec

Browse files
authored
Merge pull request #1 from tractometry/small_thing
Add theme configuration.
2 parents 915da71 + 2b1f1b8 commit 7f6ceec

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
.DS_Store
1+
.DS_Store
2+
build/*

index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

source/conf.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,26 @@
2626

2727
html_theme = 'pydata_sphinx_theme'
2828
html_static_path = ['_static']
29+
30+
# Added theme configuration. See: https://pydata-sphinx-theme.readthedocs.io/
31+
32+
# html_logo = "_static/logo.png"
33+
34+
html_theme_options = {
35+
"use_edit_page_button": True,
36+
"icon_links": [
37+
{
38+
"name": "GitHub",
39+
"url": "https://github.com/tractometry/",
40+
"icon": "fab fa-github-square",
41+
}]
42+
43+
}
44+
45+
html_context = {
46+
"github_url": "https://github.com",
47+
"github_user": "tractometry",
48+
"github_repo": "tractometry.github.io",
49+
"github_version": "main",
50+
"doc_path": "source",
51+
}

0 commit comments

Comments
 (0)