Ingest, delete, generate, validate, and prepare content for static websites
Source: target-root/usr/local/libexec/solidgroundux/console-modules/55-web-content-management.sh
Ingest, delete, generate, validate, and prepare content for static websites
Public functions
- Call
_web_content_run_managewith theretrieve-incomingaction. - Review and explicitly copy local files into incoming.
- Call
_web_content_run_managewith theconfigure-sourceaction. - Call
_web_content_run_managewith theingest-incomingaction. - Call
_web_content_run_mutating_managewith theingestaction. - Call
_web_content_run_mutating_managewith thedeleteaction. - Call
_web_content_run_mutating_managewith theedit-metadataaction. - Call
_web_content_run_mutating_managewith themove-pageaction. - Call
_web_content_run_managewith thegenerateaction. - Preview and synchronize generated website files to a configured destination.
- Manage named publication destinations.
- Push generated documentation to GitHub Pages.
- Call
_web_content_run_managewith thevalidateaction. - Call
_web_content_run_managewith theprepare-socialaction. - Call
_web_content_run_managewith thestatusaction. - Open the documentation bundle manager
- Document installed products through the existing generator
- Select and generate a saved documentation bundle
- Select and edit an existing website configuration file.
- Validate the web content module and record its status for the console.
Internal functions
| Function | Purpose | Arguments | Output |
|---|---|---|---|
_web_content_run_manage | Run the selected Web Content Management action through its standalone manager. | - $1: Management action to execute. | — |
_web_content_run_mutating_manage | Run a content-changing action and mark generation pending. | - $1: Management action to execute. | — |
_web_content_mark_generation_dependencies | Mark downstream publishing and generation actions as pending after a | - $@: Registered menu-item keys to mark warning. | — |
_web_content_run_generation_tracked | Run documentation or website generation, then mark dependent actions | - $1: documentation or website. | — |
Description
Registers Web Content Management actions with the SolidGround Management Console. Persistent workflow and user interaction are implemented by manage-web-content.sh; ingestion, deletion, rendering, and validation are provided by the bundled Python WebContent package.
Console registration
Workflow order: stage and ingest, manage content, validate, then generate/publish. Keep the legacy ingest action callable for compatibility, but do not expose a second ingest path in the menu: all new content goes through Incoming review.
