Skip to content

Commit 67bcd54

Browse files
committed
chore: add lxml-html-clean as a dependency to requirements folder, fix github icon link in pydata theme
1 parent 7c7495d commit 67bcd54

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/source/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
# All configuration values have a default; values that are commented out
1414
# serve to show the default.
1515

16+
import shutil
1617
import sys
1718
import time
1819
from importlib.metadata import version
1920
from pathlib import Path
20-
import shutil
2121

2222
# Attempt to import the version dynamically from GitHub tag.
2323
try:
@@ -37,9 +37,9 @@
3737

3838
# Include notebooks at build time.
3939
root_dir = Path(__file__).resolve().parents[1]
40-
external_nb_dir = root_dir / 'examples'
40+
external_nb_dir = root_dir / "examples"
4141
for f in external_nb_dir.glob("*.ipynb"):
42-
dest = Path(__file__).parent / 'examples' / f.name
42+
dest = Path(__file__).parent / "examples" / f.name
4343
if dest.exists():
4444
dest.unlink()
4545
shutil.copy(f, dest)
@@ -164,7 +164,7 @@
164164
{
165165
"name": "GitHub",
166166
"url": "https://github.com/diffpy/pyobjcryst",
167-
"icon": "fab-brands fa-github",
167+
"icon": "fab fa-github",
168168
},
169169
],
170170
# "primary_sidebar_end": ["indices.html", "sidebar-ethical-ads.html"]

requirements/docs.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ nbsphinx
55
doctr
66
m2r
77
ipykernel
8+
lxml-html-clean

0 commit comments

Comments
 (0)