Liking cljdoc? Tell your friends :D

marginalia.latex

Utilities for converting parse results into LaTeX.

Utilities for converting parse results into LaTeX.
raw docstring

as-data-for-templateclj

(as-data-for-template project-metadata docs)
  1. Converts each groups data to the format expected by the template.
  2. Calculates the correct header level for namespaces.
1. Converts each `groups` data to the format expected by the template.
1. Calculates the correct header level for namespaces.
raw docstring

code-from-groupclj

(code-from-group group)

convert-groupsclj


docs-from-groupclj

(docs-from-group group)

extract-code-and-docclj

(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.
raw docstring

get-headerclj

(get-header type ns)

get-section-typeclj

(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.
raw docstring

headersclj


invoke-pandocclj

(invoke-pandoc markdown-input)

We use pandoc to convert markdown-input to LaTeX.

We use pandoc to convert `markdown-input` to LaTeX.
raw docstring

markclj


md->latexclj

(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`
raw docstring

section-reclj


separator-markerclj


separator-marker-reclj


templateclj


to-latexclj

(to-latex groups)

uberdoc-latexclj

(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
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close