Repository navigation
external links
Inventory all external HTTP(S) URLs, including images, downloads, citations and source links. Keep each URL's referring page, line and usage so a failure can be fixed at its source. The Python helper uses only the standard library and runs on Windows, macOS and Linux.
From the repository root, inventory without network access:
python skills/gama-documentation/scripts/externallinks.py --out tmp/external-links.jsonCheck reachability explicitly:
python skills/gama-documentation/scripts/externallinks.py --check --timeout 10 --out tmp/external-links.jsonThe JSON report includes unique URLs, all referring locations, image usage, check time, HTTP status,
final redirected URL and content type. Requests are deduplicated across fragments and checked
concurrently (eight workers by default); use --jobs 1 for sequential checks or a smaller number
for a slower connection. Responses are closed without reading their bodies. HEAD falls back to GET
for 403/405/500/501, since some servers reject or mishandle HEAD even when GET works.
No credentials or browser session are used. Run inventory again after changing links.
Interpret results before editing pages:
Two answers say more about the checker than about the site. restricted can be an anti-bot rule against
the tool's user agent, so confirm in a browser before touching the page. And when every HTTPS URL comes
back unverified with CERTIFICATE_VERIFY_FAILED, no link is broken: the interpreter running the tool has
no certificate bundle. Run the checker with a Python that uses the system trust store (the one provided by
the operating system, or a distribution build) or point it at a CA bundle through SSL_CERT_FILE, then check
again before recording anything. A python.org build on macOS is a known way to hit this.
-
reachable: the server answered successfully. Check that the final page still supports the text; a successful response can be a login page or a soft 404. For images, inspect content-type warnings and verify that the image actually renders and illustrates the text. -
broken: HTTP 404 or 410. Confirm before removing or replacing the reference. -
restricted: HTTP 401 or 403. Check manually using available browser access. -
temporary: HTTP 429 or 5xx. Recheck later; do not remove the link on that evidence alone. -
review: another HTTP failure requiring interpretation. -
unverified: timeout, DNS, TLS or another connection error. Report the limitation. -
unchecked: inventory only; no network claim was made.
Exit status is 1 for confirmed 404/410, 2 for operational/input errors, otherwise 0. Zero does not mean every URL was verified: inspect all unresolved categories in the summary. Check new or changed external references before publication; run the full inventory for repository audits. If network access is unavailable, retain the offline inventory and state that live checks remain outstanding. Do not replace uncertain results with claims that the published page is broken.
The extractor handles common direct links, full/collapsed/shortcut reference links, autolinks,
bare URLs and single-line HTML src/href URLs. It ignores comments, fenced code and inline code.
It is not a full Markdown renderer: multiline constructs, escaped delimiters and unusual HTML need
manual review. It checks HTTP(S) only; fragments, mailto and other protocols need separate review.
Generated reports belong outside the scanned pages (for example tmp/); do not commit a report
unless it is intentionally maintained. Keep an inventory snapshot distinct from human verdicts.
- Installation and Launching
- Workspace, Projects and Models
- Editing Models
- Running Experiments
- Running Headless
- Exporting models and projects
- Preferences
- gama platform agent
- Troubleshooting
- Introduction
- Manipulate basic Species
- Global Species
- Defining Advanced Species
- Defining GUI Experiment
- Classes and Objects
- Exploring Models
- Optimizing Models
- Multi-Paradigm Modeling
- Manipulate OSM Data
- Cleaning OSM Data
- Diffusion
- Using Database
- Using Dataframes
- Using FIPA ACL
- Using BDI with BEN
- Using Driving Skill
- Manipulate dates
- Manipulate lights
- Using comodel
- Save and restore Simulations
- Using network
- Writing Unit Tests
- Ensure model's reproducibility
- Going further with extensions
- Built-in Species
- Built-in Skills
- Built-in Architecture
- Statements
- Data Type
- File Type
- Stats Extension
- Sound Extension
- BDI Extension
- FIPA Skill
- Expressions
- Exhaustive list of GAMA Keywords
- Installing the development version
- Introduction to GAMA Java API
- Developing Extensions
- Using GAMA flags
- Export plugin : Technical Documentation
- Creating a release of GAMA
- Documentation generation
- Desktop startup and deferred initialization