Skip to content

Commit 1430798

Browse files
committed
fixes #973
1 parent 2678b13 commit 1430798

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nbdev/quarto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _doc_paths(path:str=None, doc_path:str=None):
6363
cfg_path = cfg.config_path
6464
path = cfg.nbs_path if not path else Path(path)
6565
doc_path = cfg.doc_path if not doc_path else Path(doc_path)
66-
tmp_doc_path = path/f"{cfg['doc_path']}"
66+
tmp_doc_path = path/cfg.doc_path.name
6767
return cfg,cfg_path,path,doc_path,tmp_doc_path
6868

6969
# %% ../nbs/09_API/13_quarto.ipynb 10

nbs/09_API/13_quarto.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
" cfg_path = cfg.config_path\n",
146146
" path = cfg.nbs_path if not path else Path(path)\n",
147147
" doc_path = cfg.doc_path if not doc_path else Path(doc_path)\n",
148-
" tmp_doc_path = path/f\"{cfg['doc_path']}\"\n",
148+
" tmp_doc_path = path/cfg.doc_path.name\n",
149149
" return cfg,cfg_path,path,doc_path,tmp_doc_path"
150150
]
151151
},

0 commit comments

Comments
 (0)