APSIM.Docs is a Blazor Web App that uses ApsimX tutorial and Validation files to display documentation.
Local development can be conducted if you have the ApsimX repository as a 'sibling' in the same directory. NET8.0 is required to run the app locally.
Use the deploy script to build and run the container. Once running the container can be viewed at http://localhost:8080/
-
In
Program.csadd the required model type to themodelsToDocumentlist. -
Next create a new DocLink for the model with the required data in
Components/Layout/ValidationLinks.razor. Just follow the pattern in the file. Models are sorted alphabetically.