Skip to content

Commit c10c256

Browse files
committed
fix typo in 3dphardware_dev in toctree and a configuration change that I may or may not have needed to make the file
1 parent cbfdde7 commit c10c256

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/conf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,12 @@
224224
############################
225225
html_context['display_lower_left'] = True
226226

227-
from git import Repo
228-
repo = Repo( search_parent_directories=True )
227+
try:
228+
from git import Repo
229+
repo = Repo( search_parent_directories=True )
230+
except ImportError as e:
231+
print(f"Warning: {e}. GitPython may not be installed or accessible.")
232+
repo = None
229233

230234
if 'current_version' in os.environ:
231235
# get the current_version env var set by updatePages.sh

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ For information on how to build your own BusKill cable, see :ref:`hardware_dev`.
4848
software_usr/index
4949
hardware_dev/index
5050
software_dev/index
51-
3Dphardware_dev/index
51+
3dphardware_dev/index
5252

5353
.. toctree::
5454
:maxdepth: 2

0 commit comments

Comments
 (0)