Re: [Rest2web-develop] Another wish/request
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2007-03-10 10:12:42
|
Eur Ing Chris Green wrote: > On Fri, Mar 09, 2007 at 02:48:38PM +0000, Michael Foord wrote: > >> Eur Ing Chris Green wrote: >> >>> A request 'for the next release' maybe. >>> >>> Can the configuration/layout be changed so that the templates and >>> stylesheets are in the same place? It makes sense because they are >>> closely related and one nearly always wants to edit them both, or at >>> least refer to one while you're editing the other. >>> >>> Simply making the default directory for the template.txt file being >>> the stylesheets directory would be OK. It might be even better to >>> make this directory configurable in the .ini file. >>> >>> >> Except rest2web itself has no knowledge of CSS - you can store your CSS >> files wherever you want. >> >> > Yes, I'd not thought far enough. The stylesheets are, of course, > referenced from the template. It is quite a common convention now > though, to have all templates and stylesheets gathered together in one > place. It can be done with rest2web but it's not that way 'out of the > box'. > > I think what is more relevant is that you are doing something slightly unusual in having the same directory for the source and target directory. Many users won't have a CSS directory in their source directory. The -t command line option ought to work fine with force mode by the way. Fuzzyman http://www.voidspace.org.uk/python/articles.shtml |