SiteEngine Class
Public Functions
| SiteEngine() | |
| bool | load(const std::string & site_config_path) |
| void | build() |
| const int & | site_data() |
| void | set_templates_dir(const std::string & dir) |
| std::string | templates_dir() |
| void | set_output_dir(const std::string & dir) |
| std::string | output_dir() |
| std::string | build_stamp() |
| Logger & | logger() |
Detailed Description
No description available.
Member Function Documentation
SiteEngine()
No description available.
bool load(const std::string & site_config_path)
Parse the site config and its referenced projects. Returns false (and logs) if the config can't be opened or is invalid JSON, so a caller can report the failure instead of building an empty site.
void build()
No description available.
const int & site_data()
The loaded (raw) site config, for read-only inspection by callers.
void set_templates_dir(const std::string & dir)
No description available.
std::string templates_dir()
No description available.
void set_output_dir(const std::string & dir)
No description available.
std::string output_dir()
No description available.
std::string build_stamp()
No description available.
Logger & logger()
No description available.