Skip to content

Commit 34f67b7

Browse files
committed
Fix man page generation
1 parent c03382d commit 34f67b7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/docs.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,13 @@ def man(ctx: Context, no_clean: bool = False, no_color: bool = False):
6565
cwd="doc/",
6666
check=True,
6767
)
68+
dockdir = "doc/man"
69+
if not os.path.exists(docdir):
70+
# doc/ always exists
71+
os.mkdir("doc/man")
6872
for root, dirs, files in os.walk("doc/_build/man"):
6973
for file in files:
70-
shutil.copy(os.path.join(root, file), os.path.join("doc/man", file))
74+
shutil.copy(os.path.join(root, file), os.path.join(, file))
7175

7276

7377
@docs.command(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy