commit 420e41dc8875ddb880fcf5c0e09788c5f18682d8
parent e79ca137c25ea528e4f1e18522a53574c62d0a5d
Author: Henry Unite <unitehenry@gmail.com>
Date: Sat, 11 Apr 2026 23:43:30 +0000
feat: init generate
Diffstat:
5 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
@@ -26,7 +26,7 @@ main
string_list -> strings
string_replace -> strings
trim_whitespace -> strings
-get_content_files -> content
+get_content_files -> generate
generate_pages -> generate
create_subdirectories -> generate (private)
path_root -> generate (private)
diff --git a/src/get_content_files.c b/src/generate.c
diff --git a/src/generate.h b/src/generate.h
@@ -0,0 +1,6 @@
+#ifndef GENERATE_H
+#define GENERATE_H
+
+void get_content_files(StringList *list, char *content_path);
+
+#endif
diff --git a/src/get_content_files.h b/src/get_content_files.h
@@ -1,3 +0,0 @@
-#include "strings.h"
-
-void get_content_files(StringList *list, char *content_path);
diff --git a/src/main.c b/src/main.c
@@ -1,5 +1,5 @@
#include "generate_pages.h"
-#include "get_content_files.h"
+#include "generate.h"
#include <stdio.h>
#include <stdlib.h>