config_kind.h Header
Enums
| enum class | ConfigKind | The kinds of configuration file the GUI/CLI can be handed. |
Functions
| ConfigKind | classify_config(const std::string & path) |
Enum Documentation
enum class ConfigKind
The kinds of configuration file the GUI/CLI can be handed.
Site - new whole-site config (.docuriser-site) Project - new per-project config (.docuriser-project) LegacyProject - old class-doc project config (e.g. Layers/docuriser.json) Unknown - unreadable / unrecognized
| Constant |
|---|
Site |
Project |
LegacyProject |
Unknown |
Function Documentation
ConfigKind classify_config(const std::string & path)
Classify a config file by filename first, then by its JSON keys. Shared by the GUI (open routing) and CLI so the two never drift on what a file "is".