legal_put_generator_library
Import a document's text library to regenerate legal pages like Impressum, Datenschutz, or Barrierefreiheit, passing JSON inline or via a local .json file.
Instructions
Import the text library of a generated document and regenerate it if active. Give the library inline or as library_file, a local .json path (e.g. websites/bin/legal-v4/privacy/library-datenschutz.json). A library using the 'accessibility' flag needs cvrt-legal 0.8.0+ on the site first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Generated document: impressum, datenschutz or barrierefreiheit (BFSG statement, cvrt-legal 0.9.0+) | |
| site | Yes | Site id (see list_sites) | |
| library | No | Library object as library.py emits it | |
| library_file | No | Absolute path to a local .json library file |