Skip to content

Commit

Permalink
chdir to nbs
Browse files Browse the repository at this point in the history
  • Loading branch information
loayshaqir1 committed Oct 23, 2023
1 parent 3684f2e commit b5590c4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pre_nbdev_preview.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
from nbdev.quarto import nbdev_docs
from nbdev.processors import FilterDefaults as filter_defaults_old
from nbdev.process import NBProcessor
Expand All @@ -6,7 +7,5 @@ def FilterDefaults(nb):
procs = [x for x in filter_defaults_old().procs() if x.__name__ != 'clean_magics']
return NBProcessor(nb=nb, procs=procs).process()

import os
print(os.getcwd())
print(os.listdir())
os.chdir(os.path.join(os.getcwd(),'nbs'))
nbdev_docs(path=os.getcwd())

0 comments on commit b5590c4

Please sign in to comment.