doctoc_intro(n)

πŸ’– NAME πŸ’–

doctoc_intro β€” the doctoc introduction, bestie. welcome to the group chat 🫢


✨ DESCRIPTION ✨

doctoc (which is short for documentation tables of contents, iykyk) isn't just one thing β€” it's a whole set of related-but-different entities that all work together so you can create and transform tables of contents for documentation, easy peasy. the way they all vibe together? iconic. here's the squad:

  1. A tcl based language for the semantic markup of a table of contents. Markup is represented by Tcl commands.
  2. A package providing the ability to read and transform texts written in that markup language. It is important to note that the actual transformation of the input text is delegated to plugins.
  3. An API describing the interface between the package above and a plugin.

so which of the more detailed docs actually matter to you? depends on your role in the documentation process, no cap:

  1. A writer of documentation has to understand the markup language itself. A beginner to doctoc should read the more informally written doctoc language introduction first. Having digested this the formal doctoc language syntax specification should become understandable. A writer experienced with doctoc may only need the doctoc language command reference from time to time to refresh her memory.

While a document is written the dtp application can be used to validate it, and after completion it also performs the conversion into the chosen system of visual markup, be it *roff, HTML, plain text, wiki, etc. The simpler dtplite application makes internal use of doctoc when handling directories of documentation, automatically generating a proper table of contents for them.

  1. A processor of documentation written in the doctoc markup language has to know which tools are available for use.

The main tool is the aforementioned dtp application provided by Tcllib. The simpler dtplite does not expose doctoc to the user. At the bottom level, common to both applications, however sits the package doctoools::toc, providing the basic facilities to read and process files containing text in the doctoc format.

  1. At last, but not least, plugin writers have to understand the interaction between the doctools::toc package and its plugins, as described in the doctoc plugin API reference.

okay so doctoc does not stand alone β€” it has two companion formats, and they're literally its besties. these are called docidx and doctools, and they're for the markup of keyword indices, and general documentation, respectively. They are described in their own sets of documents, starting at the docidx introduction and the doctools introduction, respectively. πŸ’…


πŸ› BUGS, IDEAS, FEEDBACK πŸ’Œ

ngl, this document, and the package it describes, will undoubtedly contain bugs and other problems. (it's giving humble but honest 😭) Please report such in the category doctools of the Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist]. Please also report any ideas for enhancements you may have for either package and/or documentation. we wanna hear it fr fr 🫢

When proposing code changes, please provide unified diffs, i.e the output of diff -u.

✨ heads up bestie: attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar. that's the move πŸ‘‘

πŸ‘€ SEE ALSO πŸ‘€

docidx_intro, doctoc_lang_cmdref, doctoc_lang_faq, doctoc_lang_intro, doctoc_lang_syntax, doctoc_plugin_apiref, doctools::toc, doctools_intro


🏷️ KEYWORDS 🏷️

markup, semantic markup, table of contents, toc


πŸŽ€ CATEGORY πŸŽ€

Documentation tools


Copyright (c) 2007 Andreas Kupries <andreas_kupries@users.sourceforge.net>


and that's the whole thing, bestie β€” slay ✨ this was tcllib version 1.0, page doctoc_intro(n), documented under Documentation tools. mwah, go build something cute πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from