Add ability to re-use part of documentation in file. #7
Labels
backend
Code and configuration for thedocumentation backend
enhancement
New feature or request
help wanted
Extra attention is needed
Doing this will allow for us to define a
complextype
at only one point in a RST file, and then reference it every time it is used throughout the XSD file. This will greatly reduce the size of documentation files and reduce mistakes.Example:
Currently we have this in docs/FS2019/XML/light.rst:
With re-useable chunks of text, we could simplify this in a way like this:
The
.. defineChunk
directive would not add anything to the page, but would essentially be a way to define a variable that is used every time.. useChunk::
is used with the same string following it.I have no clue how to implement this though, so for now, copy-paste it is.
The text was updated successfully, but these errors were encountered: