Skip to content

How to build man pages in dub git repo? #2570

Answered by WebFreak001
topazus asked this question in Q&A
Discussion options

You must be logged in to vote

ah sorry, I updated the man page generator to include more information and better be formatted, but I was doing so on an older branch. When rebasing onto master I didn't test how much has changed, but because of changes in how default values work on the command line, the script broke here. Gonna PR a fix, you can workaround it locally like this right now:

diff --git a/scripts/man/gen_man.d b/scripts/man/gen_man.d
index e789ebe1..3d4a1273 100755
--- a/scripts/man/gen_man.d
+++ b/scripts/man/gen_man.d
@@ -5,6 +5,7 @@ dependency "dub" path="../.."
 
 import std.algorithm, std.conv, std.format, std.path, std.range;
 import std.stdio : File;
+import dub.internal.dyaml.stdsumtype;
 import dub.c…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@topazus
Comment options

Answer selected by topazus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants