Re: [Rest2web-develop] build a file without embedded restindex
Brought to you by:
mjfoord
|
From: Timo K. <Tim...@ko...> - 2007-12-13 17:55:56
|
On Thu, Dec 13, 2007 at 02:39:32PM +0100, G. Milde wrote:
> Dear List,
>
> how can I specify the source of a file in the restindex.txt file?
>
> However, if there is a (restructured) text file I want rest2web to build but
> cannot include a restindex in, I have a problem.
>
> I would assume something like
>
> restindex
> crumb: pylit.py
> source: pylit.py.txt
> build: yes
> target: pylit.py.html
> file: pylit.py
> /restindex
>
> but there is no mention of a "souce" keyword for the restindex.
Can you use include directive? Something like
restindex
crumb: pylit.py
format: rest
target: pylit.py.html
/restindex
.. include:: pylit.py.txt
Timppa
|