It would be cool to have the ability to use the same modules/functions in different apps without having to copy/paste them into every app individually. This would be particularly useful for a consistent colorscheme and style and also for maths stuff that might appear in different apps (rk4 solver or some such).
An idea how this could be done:
- Create a common_functions folder containing different python scripts that can be used in all apps.
- Allow an app_functions.py file in the source directory of a specific app, which can be used in the sub-apps to a given topic
- Copy the actually used modules/functions into the app directory created during the mkdocs process such that they are available there.
- Change the import logic during the mkdocs process such that they are imported correctly from the newly copied files.
It would be cool to have the ability to use the same modules/functions in different apps without having to copy/paste them into every app individually. This would be particularly useful for a consistent colorscheme and style and also for maths stuff that might appear in different apps (rk4 solver or some such).
An idea how this could be done: