Commit Graph

29 Commits

Author SHA1 Message Date
18ed0534b7
refactor(EVERYTHING): Refactor all the things.
With a little bit of OOP and a monster commit, I too can make a an ssg,
Ka-chow...

Changes:
-  added class to represent SiteFile
-  enabled conversion semi-automatic based on file type.
-  added template to Testing.
-  Removed awful code for dependency search
-  Removed awful code for enumerating directory
-  arguments to a class to allow for easier passing to other
  parts of the code.

TODO:
- 🐞Test and debug with a copy of a live site,
- ✍️ Add handling for Pandoc errors on stderr
- Look into parallelising as much as possible.
2024-01-16 11:00:35 +00:00
Robert Morrison
4ce8672a68
Add Logo
Add the logo in SVG and PNG formats to the repo
2022-07-07 02:00:02 +01:00
Robert Morrison
9aa1f24481
Add Testing/dst
make directory appear in git
2022-06-21 22:49:37 +01:00
Robert Morrison
a04f57fcfc
Update gitignore
Updates the gitignore to preserve the Testing/dst directory but not its
contents. This will make my "testing" easier on other systems

TODO: write some kind of tests.
2022-06-21 22:48:20 +01:00
Robert Morrison
99b18e6a84
Commented out functionality for creating metadata.
This should be done before program exit and as such is currently
in a comment after the main class body.

TODO: add this back in at the appropriate location.
2022-06-21 22:40:31 +01:00
Robert Morrison
8abd5b5990
Add functionality to determine if files are new
This currently relies on the last modified date and a dotfile.
I may change this later to use a hash to detect changes
however this method seems good enough.
2022-06-21 22:39:22 +01:00
Robert Morrison
2657ad16ea
Add functionality to discover convertable files 2022-06-21 22:37:30 +01:00
Robert Morrison
57218b37fd
Placeholder function
TODO: add implementation
2022-06-21 22:36:44 +01:00
Robert Morrison
c3666cdcf1
Make Console logging less messy
This change moves the more verbose debug logging into the logfile
making the console output easier to read

TODO: Write a proper interface
2022-06-21 22:35:58 +01:00
Robert Morrison
0968c20d4d
Add testing directory
This directory provides a place to test the programs functionality.
TODO: Add the dst directory contents to .gitignore to ensure it stays
empty
2022-06-21 22:32:52 +01:00
Robert Morrison
fd38d54a93
Remove useless comment 2022-06-20 03:47:23 +01:00
Robert Morrison
de68526bc3
Make the dependecy test useful by using the result in main 2022-06-20 03:47:03 +01:00
Robert Morrison
c6a00c8c2b
Better comment 2022-06-20 03:46:25 +01:00
Robert Morrison
9e898f4f56
Add some default values to code 2022-06-20 03:46:13 +01:00
Robert Morrison
2dc16d7c2d
Add XML documentation 2022-06-20 03:45:44 +01:00
Robert Morrison
69ef560105
More performance tracking 2022-06-20 03:45:05 +01:00
Robert Morrison
0e7bd12c4f
General Work
This commit is ugly. but probably doesn't break anything
2022-06-20 02:57:40 +01:00
Robert Morrison
2c82979454
Add notice about testing 2022-06-20 02:57:11 +01:00
Robert Morrison
20840f0214
Add more code to main to work on new functionality 2022-06-20 02:56:53 +01:00
Robert Morrison
949217e4f8
Add performance monitoring for file listing function 2022-06-20 02:55:59 +01:00
Robert Morrison
2ddb8aa97e
Comment for potentially bad code 2022-06-20 02:55:25 +01:00
Robert Morrison
ce08055d7e
Use new syntax for cleaner looking code 2022-06-20 02:54:45 +01:00
Robert Morrison
ea69e350aa
Implement GetAllFilesMatching function 2022-06-20 02:54:20 +01:00
Robert Morrison
cad446c282
Add comment to usage function 2022-06-20 02:53:39 +01:00
Robert Morrison
a9cd262e60
Add dependency checking Function 2022-06-20 02:53:16 +01:00
Robert Morrison
3f56167d86
Neaten Logging 2022-06-20 02:52:54 +01:00
Robert Morrison
777c76bb3d
Add GPLv3 license notice 2022-06-20 02:51:53 +01:00
Robert Morrison
78173c1612
Remove Useless crap 2022-06-20 02:49:32 +01:00
Robert Morrison
7fbfa0b8f1
Initial Commit 2022-06-14 15:27:48 +02:00