Content-Length: 272284 | pFad | http://github.com/saltstack/salt/commit/34f67b7646a420fe15496b40c91290c410d73531

01 Fix man page generation · saltstack/salt@34f67b7 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/saltstack/salt/commit/34f67b7646a420fe15496b40c91290c410d73531

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy