ronn-1.1.1.0: Describe and render Ronn documentation
Copyright(c) 2024 Patrick Brisbin
LicenseAGPL-3
Maintainerpbrisbin@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageGHC2021

Ronn

Description

 
Synopsis

Documentation

module Ronn.AST

Parser-based sections

class HasSections p where Source #

Parser types can be made an instance of this for use with getSections

Minimal complete definition

Nothing

Methods

getSynopsis :: p a -> Maybe [Part] Source #

Options parsers should produce [-f|--foo] --bar synopsis parts

getOptDefinitions :: p a -> Maybe [Definition] Source #

Options parsers should produce a list of option/help definitions

getEnvDefinitions :: p a -> Maybe [Definition] Source #

Environment parsers should produce a list of variable/help definitions

Higher-level builders