mirror of
https://github.com/Such-Software/adaptive-multi-protocol-gateway.git
synced 2026-10-17 15:41:41 +02:00
1.1 KiB
1.1 KiB
Generated Render Profiles
Status: generated | Updated by
python3 -m ampg docs generate| Applies to: AMPG
This file is generated from code. Do not edit it by hand.
clearnet
High-fidelity static web output.
- Output: HTML/CSS/JS/assets
Defaults:
- Copies source files except hidden/editor/VCS clutter.
- Keeps local JavaScript and rich media.
- Writes only to AMPG-marked generated output roots.
privacy-html
Static HTML for Tor and I2P.
- Output: HTML/CSS/assets
Defaults:
- Removes active tags: script, style.
- Removes inline event handlers such as onclick and onload.
- Removes inline style attributes.
- Skips JavaScript and source-map files.
- Skips oversized assets above max_asset_bytes.
- Removes remote src/poster/link asset references.
gemtext
Text-first Gemini output from semantic HTML.
- Output: Gemtext plus linked/downloadable assets
Defaults:
- Converts HTML headings to Gemtext heading lines.
- Converts paragraphs and list items to flowing text.
- Converts anchors and images to Gemtext link lines.
- Rewrites local .html links to .gmi links.
- Skips JavaScript, CSS, source maps, and oversized assets.