feat: setup documentation wegsite

This commit is contained in:
Hazel Noack
2025-05-16 16:58:20 +02:00
parent 4b5701e05b
commit be51f463a1
9 changed files with 41 additions and 290 deletions

View File

@@ -209,7 +209,7 @@ class Article:
self.config = toml.load(config_file) if config_file.exists() else {}
# initializing the location and slug of the article
self.slug = self.config.get("name", self.directory.name)
self.slug = self.config.get("name", self.directory.name)
if self.slug in ARTICLE_LAKE:
logger.error("two articles have the same name at %s and %r", ARTICLE_LAKE[self.slug].directory, self.directory)
exit(1)