feat: implement CSS enumeration through OPF directory when missing from manifest (#2148)

This commit is contained in:
Jacob Latonis
2026-05-25 21:23:19 -04:00
committed by GitHub
parent 94d4b0c7bb
commit f4e7eaa198
5 changed files with 56 additions and 1 deletions
+2
View File
@@ -129,6 +129,8 @@ bool hasTxtExtension(std::string_view fileName) { return checkFileExtension(file
bool hasMarkdownExtension(std::string_view fileName) { return checkFileExtension(fileName, ".md"); }
bool hasCssExtension(std::string_view fileName) { return checkFileExtension(fileName, ".css"); }
std::string extractFolderPath(const std::string& filePath) {
const auto lastSlash = filePath.find_last_of('/');
if (lastSlash == std::string::npos || lastSlash == 0) {