major
minor
major
minor
The properties (page.properties) for a documentation page contain an entry `source=my.module`, which specifies the module from which the page was initially loaded. When exporting to the development environment, a page is exported only if the module specified in the page's properties actually exists.
A new documentation page is always exported to the top-level module. If you subsequently move a new page to a different module in the development environment (for example, because you documented a new TL script function using the tl-demo example), you’re very likely to forget to update the `source` property. When you export the page again to the development environment, this results in the page being exported back to the specified module (tl-demo), leaving you with a duplicate of the page in the development environment.
Improvement
The de facto location of a documentation page takes precedence over the module stored in its properties during import. After refactoring in the development environment and importing and re-exporting to/from the application, all settings will be consistent again at the latest.
Test
- Start the application.
- Export the documentation.
- There should be no changes.