This allows plugins to lazily evaluate generated content (such as language examples, snippets, demos, etc).
References now embed a *Section so that they can be resolved lazily, i.e. upon rendering. The separate Resolve stage has been removed. Any plugins which previously constructed &Reference{} will now need to pass in the *Section as well. Sorry for any breakage! This affected two of my plugins (Bass and Booklit's docs) but the fix was always trivial.
This allows plugins to lazily evaluate generated content (such as language examples, snippets, demos, etc).
References now embed a
*Section
so that they can be resolved lazily, i.e. upon rendering. The separate Resolve stage has been removed. Any plugins which previously constructed&Reference{}
will now need to pass in the*Section
as well. Sorry for any breakage! This affected two of my plugins (Bass and Booklit's docs) but the fix was always trivial.