Re: [Rest2web-develop] Test Version of rest2web 0.5.0 alpha
Brought to you by:
mjfoord
|
From: Marc <Ma...@ro...> - 2006-04-29 06:11:56
|
On Sat, 22 Apr 2006 05:03:00 -0700 (PDT) fuz...@vo... wrote:
> {ran_emo} There is now a new test version of `rest2web <http://www.voidspace.org.uk/python/rest2web/>`_ available :
>
> `rest2web 0.5.0 alpha <http://www.voidspace.org.uk/rest2web-0.5.0alpha.zip>`_
>
> This has lots of new features available, but because of internet problems I haven't been able to update the subversion repository yet. There is still a lot of work to do (including documenting the features), but some of the new ideas need further development and I'm sure there will be bugs to fix.
>
> Most of these features have been added in response to user requests. The main change is that **rest2web** can now build sites without needing restindexes, templates or index files. This allows you to generate a site just from a bunch of `ReST <http://docutils.sourceforge.net>`_ files. {sm;:!:}
>
> The new features already added (since 0.4.0 alpha) include :
>
> Can build a site with no index pages, no template and no restindexes.
> (The ``force`` option.)
>
> Allow passing of global uservalues at the command line and in the config file.
> (Command line uservalues override config file ones.)
>
> A ``--template-file=`` command line option. This overrides the top level ``template`` specified in the restindex and allows you to have different templates for the same site, e.g. for building different online versions and documentation versions.
>
> The ``final_encoding`` should never be ``utf8`` (not recognised by browsers) - should be ``utf-8`` instead. (Now automatically handled.)
>
> Added and documented ``initialheaderlevel``.
>
> ``file`` keyword - should only copy if the file has changed (checks timestamp and size, copies timestamp with file).
>
> File keyword was broken if used outside an index file.
>
> Gallery chokes on ``thumb.db`` and animated jpgs. (Now skips all non image files
> and any image files it can't handle.)
>
> Deleted ``urlpath`` from rest2web because it is now in pythonutils.
>
> Implement levels of verbosity. These now work. {sm;:oops:}
>
> A global set of uservalues from the config file. Overrideable in individual
> pages. (Including ``__encoding__`` special value.)
>
> Fix rendering of uservalues from ReST to HTML. Uservalues in ReST format should now use ``<* ... *>`` and ``<$ ... $>`` in pages instead of ``<% ... %>`` and ``<# ... #>``.
>
> Add uservalues to the namespace.
>
> Added ``modtimeiso``.
>
> Added ``formattime`` standard function.
>
> Made the namespace/uservalues available in the macros.
>
> Made namespace/uservalues values available to the functions. This isn't yet used but will allow for some more interesting standard functions.
>
> Removed the two ``<br />`` from ``listend`` in the standard function ``minibar``.
>
> Added ``wrapper_class`` to ``print_details``.
>
> Added ``os`` and ``sys`` to namespace.
>
> The default crumb for index pages (if no ``page-title`` specified) is the filename,
> minus the extension, turned to title case.
>
> --------------
>
> There are still various things to add before 0.5.0 becomes final, but **rest2web** is shaping up well.
>
> You can see which command line options have been added by typing ``r2w.py -h`` at the command line.
Hi,
This works as well as version 4 on my site. So I have no regression to report.
Just FYI,
Marc
|