Create, inspect, relocate, archive and remove website section trees.
Source: target-root/usr/local/lib/solidgroundux/py/webcontent/sections.py
Create, inspect, relocate, archive and remove website section trees.
Public functions
Internal functions
| Function | Purpose | Arguments | Output |
|---|---|---|---|
_root | Return the resolved canonical content directory for a valid repository. | — | — |
_section | Validate a relative section directory without permitting path traversal. | — | — |
_indexed | Check whether an existing directory defines at least one section index. | — | — |
_protected | Prevent deletion of a section referenced in the main navigation config. | — | — |
Section management operates on canonical Markdown files, never generated output. Navigation roots are protected from destructive operations. All changes remain uncommitted until the site maintainer explicitly commits them in Git.
