Skip to content

Commit

Permalink
changed import
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sanche committed May 15, 2024
1 parent a8c6364 commit 93efb3c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,9 @@ def docfx(session):
# Customization: Add extra sections to the table of contents for the Standard vs Async clients
import sys

sys.path.append(os.path.abspath(os.path.join("docs", "scripts")))
from docs.scripts import patch_devsite_toc
# import local module at docs/scripts/patch_devsite_toc.py
sys.path.append(os.path.join("docs", "scripts"))
import patch_devsite_toc

toc_path = os.path.join("_build", "html", "docfx_yaml", "toc.yml")
custom_sections = [
Expand Down

0 comments on commit 93efb3c

Please sign in to comment.