NetLogo Documentation
This repository contains the official documentation for NetLogo, a multi-agent programmable modeling environment. The documentation is organized by version and includes comprehensive guides, tutorials, and API references.
Repository Structure
- Each version of NetLogo has its own directory (e.g.,
7.0.0/,7.0.0-beta2/) - The
latestsymlink points to the most current stable release - Documentation includes HTML files, CSS stylesheets, JavaScript, and supporting assets
Updating the Documentation
Adding a New Version
- Build the Documentation: Generate the documentation build for the new version
- Ensure you have a valid clone of
NetLogo/NetLogorepository and that SBT runs successfully. - Update files as needed in
$REPO/autogen/docs/**/*. - Run
sbtas instructed then use the commandallDocsto generate thehtml,css,js,pdf, and static files needed. - You may find the generated files in
$REPO/netlogo-gui/.
- Ensure you have a valid clone of
- Create Version Directory: Move the built content to a directory named after the version (e.g.,
7.1.0/) - Update Symlink: If this is a new stable release, update the
latestsymlink: - Verify Structure: Ensure all required files and subdirectories are present
- Test Links: Verify that internal links and navigation work correctly
Development
Local Testing
To test documentation locally:
- Change your terminals directory to the root of this repository.
- Run
➜ ./mimic-deploy.sh ➜ cd dist ➜ "Run a live server here"
- Ensure navigation works correctly.