import os
FILES_LIST = "list.txt"
BSC_ROOT = "."
DOCS_OUTPUT = "docs"
ALGO_FOLDER_NAME = "algorithms" # folder name that contains algorithm .md files
# Directories excluded from index generation
IGNORED_FOLDERS = {"stylesheets", "overrides", "assets", ".vitepress", "node_modules", "public"}
# Language config mapped by file extension
SUPPORTED_LANGS = {
'.c': {'label': 'C', 'fence': 'c', 'style': 'c'},
'.cpp': {'label': 'C++', 'fence': 'cpp', 'style': 'c'},
'.h': {'label': 'C Header', 'fence': 'c', 'style': 'c'},
'.hpp': {'label': 'C++ Header', 'fence': 'cpp', 'style': 'c'},
'.r': {'label': 'R', 'fence': 'r', 'style': 'hash'},
'.py': {'label': 'Python', 'fence': 'python', 'style': 'hash'},
'.java': {'label': 'Java', 'fence': 'java', 'style': 'c'},
'.js': {'label': 'JavaScript', 'fence': 'javascript', 'style': 'c'},
'.ts': {'label': 'TypeScript', 'fence': 'typescript', 'style': 'c'},
'.sh': {'label': 'Bash', 'fence': 'bash', 'style': 'hash'},
}
ALGO_ICON_SVG = ''
FILE_ICON_SVG = ''
# Protected paths that should never be overwritten
PROTECTED_INDEX_FILES = {
os.path.normpath(os.path.join(DOCS_OUTPUT, f"semester_{i}", "index.md"))
for i in range(1, 9)
}
PROTECTED_INDEX_FILES.add(os.path.normpath(os.path.join(DOCS_OUTPUT, "index.md")))