Utilities for converting parse results into LaTeX.
Utilities for converting parse results into LaTeX.
(as-data-for-template project-metadata docs)
groups
data to the format expected by the template.1. Converts each `groups` data to the format expected by the template. 1. Calculates the correct header level for namespaces.
(code-from-group group)
(docs-from-group group)
(extract-code-and-doc groups)
From the original data in each group we extract the code and the documentation.
From the original data in each group we extract the code and the documentation.
(get-header type ns)
(get-section-type groups)
It calculates the suitable header for a namespace ns
. For example,
if the generated output has subsections a section must be generated
for each namespace in the table of contents. If it has
subsubsections a subsection should be generated and so on.
It calculates the suitable header for a namespace `ns`. For example, if the generated output has subsections a section must be generated for each namespace in the table of contents. If it has subsubsections a subsection should be generated and so on.
(invoke-pandoc markdown-input)
We use pandoc to convert markdown-input
to LaTeX.
We use pandoc to convert `markdown-input` to LaTeX.
(md->latex docs)
It applies pandoc in a string joined by separator-marker
. The
output is split using a regex created from separator-marker
It applies pandoc in a string joined by `separator-marker`. The output is split using a regex created from `separator-marker`
(to-latex groups)
(uberdoc-latex project-metadata docs)
It uses mustache to generate the LaTeX contents using a template. Before it needs to convert the data to the format expected for the template
It uses mustache to generate the LaTeX contents using a template. Before it needs to convert the data to the format expected for the template
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close