[Rest2web-develop] Mixing other files in with the HTML generated by rest2web
Brought to you by:
mjfoord
From: Eur I. C. G. <cl...@is...> - 2007-03-07 15:46:13
|
I'm considering using rest2web for maintaining my personal web of documents and other stuff that I keep on my home linux box. I have been writing some notes in reST already and have been using rst2html.py to convert them to HTML. Since rest2web can automate this process and add menus etc. it seems like it may help me. However I'm not quite sure how to manage other information and documents like PDF files, I really want to keep this in the same directory hierarchy as the information. E.g. I have a workshop manual for my motorbike in PDF format and would like to keep this in the motorbike directory along with a couple of HTML files created by res2web. I don't see any clean/easy way to do this, it might be possible by adding lines to the individual restindex sections if the index.txt files but this seems a bit clumsy. What I really want is for rest2web only to build the files it needs to and to leave the existing directory hierarchy of the output in place. Or am I confused and it does that already? E.g. if I have a directory somewhere down the output hierarchy called motorbikes and it has a file zzr1200.pdf in it will rest2web delete that file when I run r2w.py or will it only delete/overwrite the HTML files it creates from .txt files? -- Chris Green |