mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 10:12:19 -05:00
Allow dependencies to be missing from metadata
xep2md leaves it out if there are zero dependencies in the input, so seems sensible to mirror that in the opposite direction
This commit is contained in:
parent
784177b64f
commit
e7625fa93b
@ -69,7 +69,7 @@ function Doc(body, metadata, variables)
|
||||
if field == "legal" then
|
||||
add("&LEGALNOTICE;");
|
||||
goto next;
|
||||
elseif field == "supersedes" or field == "supersededby" then
|
||||
elseif field == "supersedes" or field == "supersededby" or field == "dependencies" then
|
||||
add(("<%s/>"):format(field));
|
||||
goto next;
|
||||
elseif r ~= "*" and r ~= "?" then
|
||||
|
Loading…
Reference in New Issue
Block a user