I am developing documentation for a package with Workbench. So far i have used
Quit[]
Needs["mypackage`"]
at the beginning of each textbook. This is because I want a clean global environment and package loading to run simultaneously.
I ran some assemblies and everything worked as expected, but I wonder: is there a better way to have a clean global context and load the context context automatically every time the tutorial is run for my MMA package?
In other words: the transition from one textbook to another or from a textbook back to a regular MMA laptop, is it possible that all the characters defined in the textbook examples will be “forgotten”? On the standard pages of the MMA manual, this is what seems to be happening.
I assume this can be done in the context of a local / laptop.
But how will this work in practice?
thanks for the help
magma source
share