Skip to content

Commit efa76e6

Browse files
committed
ux: tweak output of _auto_package
1 parent 44c11f4 commit efa76e6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

quartodoc/builder/blueprint.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from griffe.collections import ModulesCollection, LinesCollection
1010
from griffe.docstrings.parsers import Parser
1111
from functools import partial
12+
from textwrap import indent
1213

1314
from plum import dispatch
1415

@@ -163,7 +164,10 @@ def enter(self, el: Layout):
163164
print(
164165
"Use the following configuration to recreate the automatically",
165166
" generated site:\n\n\n",
166-
yaml.safe_dump(_to_simple_dict(new_el)),
167+
"quartodoc:\n",
168+
indent(
169+
yaml.safe_dump(_to_simple_dict(new_el), sort_keys=False), " " * 2
170+
),
167171
"\n",
168172
sep="",
169173
)

0 commit comments

Comments
 (0)