Documentation

This commit is contained in:
Jamie Hardt
2022-11-19 19:02:47 -08:00
parent 3a58fdba75
commit 9f24d45f25
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
Theory of Operation
===================
Execution Flow When Producing "doc" Output
------------------------------------------
#. The command line argv is read in `__main__.main()`,
which calls `commands.convert()`
#. `commands.convert()` reads the input with `docparser.doc_parser_visitor()`,
which uses the `parsimonious` library to parse the input into an abstract
syntax tree, which the parser visitor uses to convert into a
`docparser.doc_entity.SessionDescriptor`, which structures all of the data
in the session output.
#. The next action based on the output format. In the
case of the "doc" output format, it runs some validations
on the input, and calls `commands.generate_documents()`.
#. `commands.generate_documents()` creates the output folder, creates the
Continuity report with `pdf.continuity.output_continuity()` (this document
requires some special-casing), and at the tail calls...
#. `commands.create_adr_reports()`, which creates folders for
(FIXME finish this)

View File

@@ -26,6 +26,7 @@ exports into JSON documents for processing by other applications.
:caption: Developer Documentation
dev/contributing
dev/theory
dev/parsing
dev/modules