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.
sourceraw docstring

code-from-groupclj

(code-from-group group)
source

convert-groupsclj

source

docs-from-groupclj

(docs-from-group group)
source

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.
sourceraw docstring

get-headerclj

(get-header type ns)
source

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.
sourceraw docstring

headersclj

source

invoke-pandocclj

(invoke-pandoc markdown-input)

We use pandoc to convert markdown-input to LaTeX.

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

markclj

source

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`
sourceraw docstring

section-reclj

source

separator-markerclj

source

separator-marker-reclj

source

templateclj

source

to-latexclj

(to-latex groups)
source

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
sourceraw docstring

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

× close