nldoc_write_nldoc: Write NetLogo documentation

View source: R/nldoc_write_nldoc.R

nldoc_write_nldocR Documentation

Write NetLogo documentation

Description

Write NetLogo documentation

Usage

nldoc_write_nldoc(
  noxygen,
  noxygen_it,
  noxygen_gui,
  noxygen_bs,
  outpath,
  output_format,
  number_sections,
  theme,
  date,
  toc
)

Arguments

noxygen

list with parsed and processed noxygen tags from NetLogo model code

noxygen_it

list with parsed and processed infotab strings

noxygen_gui

list with parsed and processed noxygen tags from NetLogo GUI elements

noxygen_bs

list with parsed and processed noxygen tags from NetLogo behavior space experiments

outpath

Path to folder where rendered documentation should be created

output_format

either "html", "pdf" or "docx"

theme

markdown theme, supported themes are "journal", "cerulean", "flatly", "readable", "spacelab", "united", "cosmo"

date

date that is printed in the documentation header

toc

TRUE/FALSE, if TRUE the documentation contains a table of contents - only for html and pdf output format

number_ections

TRUE/FALSE, if TRUE sections in the documentation will be numbered

Details

The procedure uses parsed and processed noxygen tags to create and render a markdown documentation in the specified format.

Value

list containing NetLogo GUI elements


nlrx documentation built on May 31, 2023, 8:34 p.m.