Manage Web Content

SolidGroundUX DocumentationSolidGroundUX
NL

Ingest, delete, generate, validate, and prepare static website content

Source: target-root/usr/local/libexec/solidgroundux/manage-web-content.sh

Ingest, delete, generate, validate, and prepare static website content

Public functions

Internal functions
FunctionPurposeArgumentsOutput
_web_content_python_rootRun the python root action through Web Content Management.——
_web_content_validate_sourceRun the validate source action through Web Content Management.- $1: Optional: filesystem path to inspect.—
_web_content_validate_languageRun the validate language action through Web Content Management.- $1: Optional: value to inspect or write.—
_web_content_validate_platformRun the validate platform action through Web Content Management.- $1: Optional: value to inspect or write.—
_web_content_ensure_output_parentRun the ensure output parent action through Web Content Management.- $1: Filesystem path to inspect.—
_web_content_result_valueExtract a requested field from the most recent engine result.- $1: Path to the operation result file.—
_web_content_run_engineInvoke the noninteractive Python engine and capture its structured result.- $1: Path to the operation result file.—
_web_content_record_activityAllow the Management Console wrapper to distinguish a successful no-op content- $1 COUNT - Number of canonical content files changed during this action.—
_web_content_report_errorsRun the report errors action through Web Content Management.- $1: Path to the operation result file.—
_web_content_report_warningsRun the report warnings action through Web Content Management.- $1: Path to the operation result file.—
_web_content_select_sourceRun the select source action through Web Content Management.——
_web_content_select_languageRun the select language action through Web Content Management.——
_web_content_validate_ingest_dirRun the validate ingest dir action through Web Content Management.- $1: Optional: filesystem path to inspect.—
_web_content_validate_slugRun the validate slug action through Web Content Management.- $1: Optional: value to inspect or write.—
_web_content_canonical_ingest_dirRun the canonical ingest dir action through Web Content Management.——
_web_content_canonical_archive_dirRun the canonical archive dir action through Web Content Management.——
_web_content_canonical_delete_archive_dirRun the canonical delete archive dir action through Web Content Management.——
_web_content_select_ingest_dirRun the select ingest dir action through Web Content Management.——
_web_content_extract_parent_routeRun the extract parent route action through Web Content Management.- $1: Optional: Parent-route selection label.—
_web_content_kind_labelRun the kind label action through Web Content Management.- $1: Optional: content type.—
_web_content_kind_valueRun the kind value action through Web Content Management.- $1: Optional: prompt or display label.—
_web_content_choose_languageRun the choose language action through Web Content Management.- $1: Name of the shell variable receiving the result.—
_web_content_choose_kindRun the choose kind action through Web Content Management.- $1: Name of the shell variable receiving the result.—
_web_content_choose_parentRun the choose parent action through Web Content Management.- $1: Name of the shell variable receiving the result.—
_web_content_ingest_oneNormalize and archive one loose Markdown file.- $1: Path to the source input file.—
_web_content_valid_incoming_configValidate saved source settings before network access.——
_web_content_configure_incomingSave SSH source settings through the framework state registry.——
_web_content_retrieve_incomingPull selected remote incoming packages safely via SSH.——
_web_content_ingestIngest one or more loose Markdown files into a website repository.——
_web_content_delete_onePreview and archive one selected canonical page or child section while preserving- $1 SELECTION - Display value returned by inspect-delete / ask_selection.—
_web_content_deleteSelect one or more canonical child pages/sections, archive the selected content,——
_web_content_generateGenerate a static website from a content repository.——
_web_content_validateValidate a web-content repository.——
_web_content_prepare_socialPrepare a single article as a social-media draft.——
_web_content_statusShow Web Content Management configuration and engine status.——
_web_content_manage_page_onceSelect one page and edit metadata or move its canonical source file.- $1: Requested operation.—
_web_content_manage_pageRepeat content editing when requested.- $1: Requested operation.—
_web_content_manage_configSelect an existing .cfg file and open it in nano.——
_web_publish_safe_pathRequire a dedicated absolute deployment directory.- $1: Optional: filesystem path to inspect.—
_web_publish_restore_legacyImport one unambiguous previously saved destination.——
_web_publish_discover_sitesList active remote Nginx hostnames and document roots.- $1 hostname; $2 user; $3 port; $4 optional SSH identity; $5 mode.Mode sites: hostname TAB absolute-root; mode roots: absolute-root.
_web_publish_configureConfigure website publication after selecting the server.——
_web_publish_prepare_sshDiscover the shared agent and repair SSH access when requested.- $1: User account.—
_web_publish_remote_siteOffer optional Nginx provisioning before the first rsync deployment.- $1: Remote host or site name.—
_web_publish_offer_dnsRun the existing Web Server DNS dialog remotely, on request.- $1: Remote host or site name.—
_web_publish_verify_httpReport DNS and HTTP availability after a successful deployment.- $1: Website hostname for HTTP reachability verification.—
_web_content_publishReview, preview and publish a generated HTML website.——
_web_content_import_localReview server-local files before copying to incoming.——
_web_content_ingest_incomingPreview and confirm ingestion of one staged package.——
_web_content_github_pages_configureChoose the already-generated documentation HTML and the checked-out——
_web_content_github_pages_rebaseThe WebContent generator already writes relative HTML links, but the- $1 — Checked-out GitHub Pages docs directory.—
_web_content_github_pages_pushReuse the generated HTML, commit only the Framework repository's docs——
_web_content_publish_github_pagesPublish only generated documentation to the existing Pages location.——
_run_actionDispatch the requested command-line management action.- $1: Management action to execute.—

Description

Provides the SolidGroundUX user-facing workflow for the reusable Python WebContent engine. All prompts, state, progress, and result reporting remain in this Bash layer; the Python package is deliberately non-interactive. Loose Markdown can be ingested individually or in batches from a canonical incoming directory, normalized into a website repository, and archived after successful ingestion. Canonical pages can also be selected individually or in batches and removed recoverably by archiving them outside the active content tree.

Usage

Run the executable from its shell command (or installed wrapper):

manage-web-content --action ingest
manage-web-content --action generate
manage-web-content --action publish
manage-web-content --action publish-github-pages
manage-web-content --action validate

Script-specific options:

  • --action NAME, -a: Management action (supported actions: ingest, delete, edit-metadata, move-page, manage-config, configure-source, retrieve-incoming, import-local, ingest-incoming, generate, publish, publish-github-pages, validate, prepare-social, status).
  • --ingest-dir VALUE, -i: Override Markdown ingestion directory.