summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenzo Torres <lorenzotorres@outlook.it>2025-08-06 18:27:55 +0200
committerLorenzo Torres <lorenzotorres@outlook.it>2025-08-06 18:27:55 +0200
commit5537348d8e1ef7310017a6e51af3548ebb9ff615 (patch)
tree40aa435af81d003f2004332d27aaf9da25894d9d
parent3745293da232ec5329c69d91a369eb7a72cd3824 (diff)
Added documentation section
-rw-r--r--content/docs.md3
-rw-r--r--content/docs/modding.md3
-rw-r--r--layout/page.html1
-rwxr-xr-xmakesite.py3
4 files changed, 10 insertions, 0 deletions
diff --git a/content/docs.md b/content/docs.md
new file mode 100644
index 0000000..af08137
--- /dev/null
+++ b/content/docs.md
@@ -0,0 +1,3 @@
+<!-- title: Documentation -->
+
+# Documentation
diff --git a/content/docs/modding.md b/content/docs/modding.md
new file mode 100644
index 0000000..0fe757b
--- /dev/null
+++ b/content/docs/modding.md
@@ -0,0 +1,3 @@
+<!-- title: Modding -->
+
+# Modding
diff --git a/layout/page.html b/layout/page.html
index 59aa2ce..4cbc171 100644
--- a/layout/page.html
+++ b/layout/page.html
@@ -18,6 +18,7 @@
<a href="{{ base_path }}/blog/">Blog</a>
<a href="{{ base_path }}/news/">News</a>
<a href="{{ base_path }}/community/">Community</a>
+ <a href="{{ base_path }}/docs/">Documentation</a>
<a href="{{ base_path }}/development/">Development</a>
</span>
</section>
diff --git a/makesite.py b/makesite.py
index fee4194..2a22534 100755
--- a/makesite.py
+++ b/makesite.py
@@ -210,6 +210,9 @@ def main():
news_posts = make_pages('content/news/*.html',
'_site/news/{{ slug }}/index.html',
post_layout, blog='news', **params)
+ docs = make_pages('content/docs/*.md',
+ '_site/docs/{{ slug }}/index.html',
+ page_layout, **params)
# Create blog list pages.
make_list(blog_posts, '_site/blog/index.html',