Commit graph

42 commits

Author SHA1 Message Date
gabe 29c7ad1ced User can now compile site with custom stylesheet.
fixes #7
2022-01-13 15:54:28 -06:00
gabe 817953c6f1 split stylesheet into seperate file.
Instead of being embedded in every document, the stylesheet is now
copied to a single directory at the top of the website directory
structure.

Also reused that code to automatically set the imagesdir attribute.

fixes #5
2022-01-10 00:49:15 -06:00
gabe 80d510a282 made auto-tester script.
tests against a known compiled file.
2022-01-09 22:52:39 -06:00
gabe 8972e43113 allowed setting the log level via command line. 2022-01-09 22:52:10 -06:00
gabe d611923e89 added a few more things to test suite 2022-01-09 21:56:47 -06:00
gabe 3e1a15ac48 fixed logic error in inputdir validation. 2022-01-09 21:55:23 -06:00
gabe 3e5250a8dc include.txt snuck into results again. 2021-09-27 14:55:37 -05:00
gabe 655b990601 Merge branch 'globFile' into develop 2021-09-27 14:54:27 -05:00
gabe 6e2bdb0c8d Caught a few errors. 2021-09-27 14:52:02 -05:00
gabe 08a5683906 updated readme for new feature 2021-09-26 12:45:45 -05:00
gabe 3ffc96453e implemented importing exclude globs from a file. 2021-09-26 12:32:22 -05:00
gabe 133e838447 Merge branch 'globExclude' into develop 2021-09-16 21:29:49 -05:00
gabe c5abd57ab4 Edited readme for the glob ignore feature. 2021-09-16 21:28:56 -05:00
gabe 4cd780be6d added glob pattern based exclude
Will not copy over files that match the exclude paramater. This can be
usefull for things that are needed to compile the asciidoc, but should
not be included in the final website.

resolves #4
2021-09-16 21:16:34 -05:00
gabe 0c19018fbb changed testing suite.
Corresponds with new feature.
2021-09-16 15:35:09 -05:00
gabe 2c0395ffd7 Wrote the README.
Ready for release 0.1!
2021-09-11 20:26:47 -05:00
gabe 09dada357a changed test result, fixed typo.
test result should include the include folder untill the test result
file does not end wit .adoc
2021-09-11 20:10:14 -05:00
gabe 51f37b5b77 Renamed to ASCIIsite 2021-09-07 15:36:06 -05:00
Gabe 8a83f2e2c0 Delete 'asciidoc-to-site.sh'
No longer relevant with adocstaticsitegen.py doing the same thing.
2021-09-07 17:31:07 +00:00
gabe 300e483142 Merge branch 'pythonPrototype' 2021-09-07 12:22:35 -05:00
gabe e37f9e4217 changed homade function to glob based fucntion.
Now use globs for find_paths_to_convert.
2021-09-07 11:54:14 -05:00
gabe b080c53ed5 made default output file be in current directory.
fixes #6.
2021-09-05 13:30:05 -05:00
gabe 7ad4eaa71b wrapped things in if __name__ == '__main__'. 2021-09-05 11:02:51 -05:00
gabe 74796c804e finishing touches on basic functionality.
Misc cleanup, more comments, and finishing the basic functionality.
Just need to implement issue #4.
Possible early release candidate?
2021-09-05 00:07:48 -05:00
gabe 1e05e48c7b cleaned up some logging 2021-09-04 23:05:08 -05:00
gabe ceeb38a667 added conversion function.
Need to do speedtest to see whether this method is faster or slower than
calling unix find.
2021-09-04 12:58:10 -05:00
gabe 8dc4b62cf4 added function to find files needing conversion. 2021-09-02 19:43:00 -05:00
gabe 7370b145d0 added start of recursive directory finding.
commiting before testing code refactor.
2021-09-01 17:42:19 -05:00
gabe venberg 48007575aa added more comments! 2021-08-15 10:10:25 -05:00
gabe 5cace76020 added first pass of compress and output. 2021-08-10 15:17:04 -05:00
gabe 76a130a3e2 Merge branch 'master' into pythonPrototype 2021-08-09 12:21:22 -05:00
gabe 24b948f0e4 Merge branch 'tests' 2021-08-09 08:11:52 -05:00
gabe 3c130352a0 Adds basic test suite.
Fixes #3, spent @1h
2021-08-06 16:52:13 -05:00
gabe cefbd70ab7 started on test suite.
only contains one .adoc file and one image.
2021-08-06 16:52:13 -05:00
gabe 619da5a789 I need a gitignore now 2021-08-06 16:52:13 -05:00
gabe 66e21b3a0b I need a gitignore now 2021-07-16 16:37:09 -05:00
gabe 3d402e980a fixed some things with the tmpfile object. 2021-07-16 16:04:37 -05:00
gabe 67094fc415 first pas at the temp directory object.
not tested yet.
2021-07-15 17:00:39 -05:00
gabe cbb7f9c37a fixed compressed file name detection 2021-07-15 16:38:25 -05:00
gabe 1cdac62383 sets out command line options. 2021-07-14 16:55:45 -05:00
Gabe 4c2ffc7bb6 Add 'LICENCE'
added gplv3 licence
2021-05-23 18:27:06 +00:00
gabe venberg b52f491e1d Techncially, this script is a static site gen. might rewrite in python
and/or make for better string handling, and add features like auto-sitewide TOC, etc.
2021-04-05 02:18:12 -05:00