Skip to content

Commit 5411d9e

Browse files
committed
fix doc path
1 parent 214a44f commit 5411d9e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

nbdev/quarto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def refresh_quarto_yml():
214214
cfg = get_config()
215215
p = cfg.nbs_path/'_quarto.yml'
216216
vals = {k:cfg[k] for k in ['title', 'description', 'branch', 'git_url', 'doc_host', 'doc_baseurl']}
217-
vals['doc_path'] = cfg.doc_path.name
217+
vals['doc_path'] = cfg.doc_path
218218
# Do not build _quarto_yml if custom_quarto_yml is set to True
219219
if cfg.get('custom_quarto_yml', False): return
220220
if 'title' not in vals: vals['title'] = vals['lib_name']

nbs/09_API/13_quarto.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@
394394
" cfg = get_config()\n",
395395
" p = cfg.nbs_path/'_quarto.yml'\n",
396396
" vals = {k:cfg[k] for k in ['title', 'description', 'branch', 'git_url', 'doc_host', 'doc_baseurl']}\n",
397-
" vals['doc_path'] = cfg.doc_path.name\n",
397+
" vals['doc_path'] = cfg.doc_path\n",
398398
" # Do not build _quarto_yml if custom_quarto_yml is set to True\n",
399399
" if cfg.get('custom_quarto_yml', False): return\n",
400400
" if 'title' not in vals: vals['title'] = vals['lib_name']\n",

nbs/_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ipynb-filters: [nbdev_filter]
22

33
project:
44
type: website
5-
output-dir: _docs
5+
output-dir: /Users/jhoward/git/nbdev/_docs
66
preview:
77
port: 3000
88
browser: false

0 commit comments

Comments
 (0)