support links from device pages to their installation methods

This commit is contained in:
Daniel Barlow
2023-11-09 23:02:35 +00:00
parent a9760d239c
commit 5e046490de
4 changed files with 17 additions and 6 deletions

View File

@@ -7,5 +7,5 @@
(each [_ option (ipairs (yaml.load (io.read "*a")))]
(when (. outputs option.name)
(print (.. ".. _" option.name) "\n")
(print (.. ".. _" (string.gsub option.name "%." "-") ":") "\n")
(print option.description)))