Skip to content

Commit

Permalink
Modifying sys.path
Browse files Browse the repository at this point in the history
  • Loading branch information
peekxc committed Nov 13, 2024
1 parent ee4fa3c commit 66382be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quartodoc/autosummary.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,8 @@ def build(self, filter: str = "*"):

if self.source_dir:
import sys

sys.path.append(self.source_dir)
if self.source_dir != sys.path[0]:
sys.path.insert(0, self.source_dir)

# shaping and collection ----

Expand Down

0 comments on commit 66382be

Please sign in to comment.