32 lines
1.8 KiB
Markdown
32 lines
1.8 KiB
Markdown
# Explicit public help publication
|
|
|
|
Application help remains authoritative in `PlotLine/Help/Articles`. This executable
|
|
uses the existing HelpService to export approved public articles with their exact
|
|
identifiers/slugs/navigation/search metadata and Markdown. It never connects to SQL
|
|
or a running application. Only referenced assets belong in the publication.
|
|
|
|
Run from an exact committed source checkout:
|
|
|
|
```sh
|
|
dotnet run --project Tools/PublicContent/PublicContent.csproj -- \
|
|
/absolute/PlotDirector /absolute/reviewed-approval.json /absolute/new-publication
|
|
sha256sum /absolute/new-publication/manifest.json
|
|
```
|
|
|
|
Approval contains `sourceCommit` (full current SHA), `channel` (`Development` or
|
|
`Production`), unique `version` and `articles` (explicit canonical public help URLs).
|
|
Keep the approval outside the source checkout while generating it, avoiding a
|
|
self-referential commit. The checked-in production-approval.json is the historical
|
|
baseline approval. Never treat it as approval of later source changes or replace
|
|
it with an unreviewed glob. Production content must describe released capabilities;
|
|
Development packages cannot be selected by the Production consumer.
|
|
|
|
Commit source changes first. Export to a new directory, retain the approved manifest
|
|
digest with release evidence, and transfer that artifact for consumption by
|
|
PlotDirector.Website/Tools/consume_help.py. Full operator procedures are in that
|
|
repository's Docs/Content.md. Publication and atomic content activation do not deploy
|
|
or restart the application. Website renders from its local immutable publication;
|
|
application contextual help keeps its current renderer and needs no website. Both
|
|
products can independently consume the same publication into their own content store,
|
|
selected by HelpContent__Path, with manifest-driven hot reload and no restart.
|