Sections

SolidGroundUX DocumentationSolidGroundUX
NL

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
FunctionPurposeArgumentsOutput
_rootReturn the resolved canonical content directory for a valid repository.——
_sectionValidate a relative section directory without permitting path traversal.——
_indexedCheck whether an existing directory defines at least one section index.——
_protectedPrevent 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.