[Grok-dev] Re: heading layout on website

Philipp von Weitershausen philipp at weitershausen.de
Thu Mar 29 09:37:50 EDT 2007


On 29 Mar 2007, at 13:57 , Darryl Cousins wrote:
> I've just committed an update to grok/www. Hopefully my small effort
> with grok2html.py which I have committed to grok/doc

No you haven't :)

> will make updating
> the site easier. Currently grok2html.py can be used in the grok/doc
> directory like this:
>
> python grok2html.py about about_grok.txt > /path/to/grok/www/ 
> about.html
>
> If my code is accepted then I propose changing about_grok.txt to
> about.txt and the first argument (an identifier used when  
> generating the
> menu) can be dropped and deduced from the filename.

Fine by me.

> The script uses docutils and zpt (zope install needs to be on python
> path) and a template.pt which I built using current design. I've added
> meta tags 'keywords' and 'description'.
>
> Also I propose that it be known that any edits to the html only be  
> made
> to the rest text files and the html regenerated.

+1

> It would take only a few more lines of code to generate all pages with
> one command.

+1

> I've created index.txt also in grok/doc so that index.html also is
> generated with grok2html.py.

(you haven't checked it in)

> The index.html that I have committed was
> generated from the index.txt that I created. I have checked it against
> the original index.html as best I can (esp. links) but I hope someone
> else will also double check for me.

Looks good. I svn upped the web page. The only thing that I noticed  
was that the colour of the links on the front page (index.html)  
changed from blue to grey. Was that intended?


More information about the Grok-dev mailing list