nml/docs/template.nml

35 lines
818 B
Text
Raw Normal View History

2024-07-30 09:03:10 +02:00
@html.css = ../style.css
2024-07-29 21:28:06 +02:00
@tex.main.fontsize = 9
@tex.main.preamble = \usepackage{xcolor, tikz, pgfplots} \\
\usepgfplotslibrary{patchplots} \\
\definecolor{__color1}{HTML}{d5d5d5} \\
\everymath{\color{__color1}\displaystyle}
@tex.main.block_prepend = \color{__color1}
@<
function make_doc(categories, title, page_title)
-- Navigation
nml.variable.insert("nav.title", title)
if categories[1] ~= nil
then
nml.variable.insert("nav.category", categories[1])
if categories[2] ~= nil
then
nml.variable.insert("nav.subcategory", categories[2])
end
end
-- HTML
nml.variable.insert("html.page_title", "NML | " .. page_title)
nml.variable.insert("compiler.output", page_title .. ".html")
end
>@
2024-08-03 18:43:54 +02:00
@@style.section = {
2024-10-31 00:10:28 +01:00
"link_pos": "After",
"link": [" ", "🔗 ", " "]
2024-08-03 18:43:54 +02:00
}
2024-10-30 11:17:35 +01:00
#+TABLE_OF_CONTENT Table of Content