site

A custom static site generator written in C.
git clone https://unitehenry.com/git/site.git
Log | Files | Refs | README

commit a9f7736a2de5b6774b7287aa07526611ce207be4
parent 8b245e5454e2fb04f6f6c001fc0e55f2a8e2706e
Author: Henry Unite <unitehenry@gmail.com>
Date:   Thu,  9 Apr 2026 04:54:46 +0000

chore: format

Diffstat:
Msrc/generate_pages.c | 6+++---
Msrc/generate_pages.h | 4++--
Msrc/get_content_files.c | 2+-
Msrc/main.c | 2+-
Msrc/to_write_path.c | 4++--
Msrc/to_write_path.h | 2+-
6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/generate_pages.c b/src/generate_pages.c @@ -1,8 +1,8 @@ -#include <stdio.h> -#include "string_list.h" -#include "to_write_path.h" #include "create_subdirectories.h" #include "run_pandoc.h" +#include "string_list.h" +#include "to_write_path.h" +#include <stdio.h> void generate_pages(StringList *list) { int i = 0; diff --git a/src/generate_pages.h b/src/generate_pages.h @@ -1,10 +1,10 @@ #ifndef GENERATE_PAGES_H #define GENERATE_PAGES_H -#include "string_list.h" -#include "to_write_path.h" #include "create_subdirectories.h" #include "run_pandoc.h" +#include "string_list.h" +#include "to_write_path.h" void generate_pages(StringList *list); diff --git a/src/get_content_files.c b/src/get_content_files.c @@ -1,7 +1,7 @@ +#include "string_list.h" #include <dirent.h> #include <stdio.h> #include <string.h> -#include "string_list.h" void get_content_files(StringList *list, char *content_path) { struct dirent *de; diff --git a/src/main.c b/src/main.c @@ -1,5 +1,5 @@ -#include "get_content_files.h" #include "generate_pages.h" +#include "get_content_files.h" #include <stdio.h> #include <stdlib.h> diff --git a/src/to_write_path.c b/src/to_write_path.c @@ -1,7 +1,7 @@ +#include "path_root.h" +#include "string_replace.h" #include <stdio.h> #include <string.h> -#include "string_replace.h" -#include "path_root.h" extern char *BUILD_DIRECTORY; diff --git a/src/to_write_path.h b/src/to_write_path.h @@ -1,8 +1,8 @@ #ifndef TO_WRITE_PATH_H #define TO_WRITE_PATH_H -#include "string_replace.h" #include "path_root.h" +#include "string_replace.h" extern char *BUILD_DIRECTORY;