Skip to content

Documentation

b3m2a1 edited this page Jun 24, 2018 · 2 revisions

Autogenerated Documentation

Autogenerate a symbol page:

DocGen[DocGen]

documentation-3944086624101741822

Autogenerate an overview guide for a context

DocGen["Guide", "PacletManager`"]
(*Out:*)

documentation-6456334289508492125

Autogenerate documentation paclets from a set of contexts:

<<OAuth` 
 DocGen["Paclet", 
  {
    "OtherClient`",
    "KeyClient`",
    "OAuthClient`",
    "OAuth`"
    },
  Method->{
    Directory->$TemporaryDirectory
    }
  ]

documentation-8350260503414164841

Documentation Templates

Generate a template notebook for writing a tutorial

<<BTools`Paclets` 
 DocGen["Tutorial", "BTools", Method->"Template","CreateDocument"->True]

documentation-8031869743256385252

The "SymbolPage" , "Guide" , and "Tutorial" types support "Template" , "Notebook" , and "Save" methods.

We can write content in the template notebook and use the bar on the top to generate a tutorial.

documentation-265881908806275627

Front-End Resources

The DocGen stylesheet supports the DocGen package. It provides a toolbar for adding common templates, a hopefully simple-enough flow. Examples of a documentation template notebook can be found here .

Examples

For more examples, see the DocumentationExamples pages