docs(config): rebuild docs and removed redundant documentation

This commit is contained in:
2025-02-20 09:45:47 -05:00
parent 82d05344fb
commit c5513f9404
2 changed files with 6 additions and 10 deletions

View File

@@ -29,14 +29,4 @@ bool Config::loadConfig(const std::string& configFile) {
return true;
}
bool Config::isKeyInCache(const std::string &key) {
return configMap.find(key) != configMap.end();
}
void Config::addToCache(const std::string &key, const YAML::Node &node) {
configMap[key] = node;
}
void Config::registerUnknownKey(const std::string &key) {
unknownKeys.push_back(key);
}

View File

@@ -151,6 +151,12 @@ public:
}
}
/**
* @brief Print the configuration file path and the YAML root node.
* @param os Output stream.
* @param config Config object to print.
* @return Output stream.
*/
friend std::ostream& operator<<(std::ostream& os, const Config& config) {
if (!config.debug) {
os << "Config file: " << config.configFilePath << std::endl;