X-Git-Url: https://plomlompom.com/repos/?p=redo-blog;a=blobdiff_plain;f=README.md;h=92047da94629eb39e998266eea9d46180a276f54;hp=2d06932031dc96789d9a88dd8661c26045fd5ef9;hb=40b6e84ca0b49be896d60457b43374ab929d2737;hpb=93be8e855138454b2dc2a1108702abc933209d78 diff --git a/README.md b/README.md index 2d06932..92047da 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,41 @@ -# redo-blog +redo-blog +========= small blog system using the redo build system -dependencies: +dependencies +------------ + +- redo - python3 - uuidgen - html2text +- pandoc + +testing +------- + +Run ./test.sh. + +setup +----- + +To set up a directory with symbolic links to the relevant files in ./processor/, +run ./add_dir.sh DIRECTORY. + +You can then enter the directory and run redo there. This will generate article +.html files from all .md and .rst files, plus a ./index.html, and a ./feed.xml. +(Some other metadata files will also be generated: for each article, there will +also be generated a .uuid and a .intermediate file; furthermore, files with +metadata used in ./feed.xml and ./index.html will be built and can be edited to +customize the blog: ./url, ./author, ./uuid, ./title.) + +bugs +---- + +Due to bad shell scripting in ./processor/index.html.do and +./processor/feed.xml.do (see the FIXME notes there), source files whose names +contain "$" break the redo processing. + +Oh, and don't create a index.rst or index.md in the redo-managed directory, +that will also break things.