sc2in/PolicyPress
Build ISMS policy PDFs and a Zola static site from markdown content.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| config_path | Path to the Zola config.toml file. | no | config.toml |
| output_dir | Output directory for PDFs and reports. | no | public |
| draft_mode | Set to 'true' to stamp PDFs with a DRAFT watermark. Set to 'false' (default) to produce clean production PDFs. | no | false |
| redact_mode | Set to 'true' to redact content inside redaction shortcode tags. Set to 'false' (default) to include all content. | no | false |
| generate_draft_pdfs | Set to 'true' to also generate a second set of PDFs stamped with a DRAFT watermark (same redact_mode as the official run). Use this when your site config has show_draft_pdfs = true so that draft buttons have valid files to link to. | no | false |
| base_url | Override the base_url from config.toml (e.g. a Cloudflare Pages preview URL). When set, passed to 'zola build --base-url' so that all get_url() calls resolve against this origin instead of the production domain. | no | "" |
| audit_bundle | Set to 'true' to also write the machine-readable audit bundle (manifest.json with per-PDF sha-256 hashes, revisions.json, coverage export) into <output_dir>/audit. Applied only to the official PDF run, never the optional draft pass. | no | false |
Outputs
| name | description |
|---|---|
| pdf_path | Path to the directory containing generated PDFs. |
| site_path | Path to the directory containing the built static site. |
| report_path | Path to the directory containing the generated report PDFs (coverage + policy review). Same directory as pdf_path. |
| audit_path | Path to the audit-bundle directory (populated when the audit_bundle input is 'true'). |