On Thu, Jan 05, 2017 at 03:34:35PM +0100, Andrea Bolognani wrote:
.gitignore | 1 +
Makefile.am | 6 +-
docs/Makefile.am | 23 ++++-
docs/news-ascii.xsl | 66 ++++++++++++++
docs/news-html.xsl | 97 +++++++++++++++++++++
docs/news.html.in | 157 ----------------------------------
docs/news.xml | 241 ++++++++++++++++++++++++++++++++++++++++++++++++++++
Instead of a single ever growing file, lets do one file per
release. eg
docs/news/v2.0.0.xml
docs/news/v2.1.0.xml
...
docs/news/v3.0.0.xml
...
and have a docs/news/template.xml as a source people can copy
to create the initial file for a release.
This also gives us flexibilty when generating the output,
meaning we can make the XSLT automatically pull in just
the 10 most recent releases to NEWS, avoiding the need
to periodically trim/rename files to archive old news.
Regards,
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://entangle-photo.org -o-
http://search.cpan.org/~danberr/ :|