# HG changeset patch # User Oleksandr Gavenko # Date 1326403972 -7200 # Node ID 5bb58b8d87a7a784dc6a45425e67a1927a3ea98a # Parent 1f1363141da73cdf9588baceaa52c04f68a0b371 Add version info into documentation. diff -r 1f1363141da7 -r 5bb58b8d87a7 .hgignore --- a/.hgignore Thu Jan 12 23:24:56 2012 +0200 +++ b/.hgignore Thu Jan 12 23:32:52 2012 +0200 @@ -1,6 +1,6 @@ syntax: glob -VERSION +VERSION* *.dict *.dict.dz *.index diff -r 1f1363141da7 -r 5bb58b8d87a7 HACKING.rst --- a/HACKING.rst Thu Jan 12 23:24:56 2012 +0200 +++ b/HACKING.rst Thu Jan 12 23:32:52 2012 +0200 @@ -5,6 +5,11 @@ ======================= .. contents:: +Document version. +================= + +.. include:: VERSION.rst + Comment syntax convention. ========================== diff -r 1f1363141da7 -r 5bb58b8d87a7 LICENSE.rst --- a/LICENSE.rst Thu Jan 12 23:24:56 2012 +0200 +++ b/LICENSE.rst Thu Jan 12 23:32:52 2012 +0200 @@ -1,2 +1,17 @@ + +================ + jdone LICENSE. +================ +.. contents:: + +Document version. +================= + +.. include:: VERSION.rst + +License statement. +================== + You can use any **gadict** dictionaries for any purpose without any restriction. + diff -r 1f1363141da7 -r 5bb58b8d87a7 Makefile --- a/Makefile Thu Jan 12 23:24:56 2012 +0200 +++ b/Makefile Thu Jan 12 23:32:52 2012 +0200 @@ -184,9 +184,16 @@ .PHONY: html html: $(HTML_FILES) -$(HTML_FILES): %.html: %.rst +$(HTML_FILES): %.html: %.rst rst.css VERSION.rst $(BUILD_SCRIPT) $(RST2HTML) $(RST2HTML_FLAGS) --stylesheet=rst.css $*.rst $@ +VERSION.rst: VERSION $(BUILD_SCRIPT) + { \ + echo 'Version: '$(vmajor).$(vminor); \ + echo; \ + echo 'Date: '`date +%F`; \ + } >$@ + ################################################################ # Helpers targets. diff -r 1f1363141da7 -r 5bb58b8d87a7 README.rst --- a/README.rst Thu Jan 12 23:24:56 2012 +0200 +++ b/README.rst Thu Jan 12 23:32:52 2012 +0200 @@ -5,6 +5,11 @@ ========================== .. contents:: +Document version. +================= + +.. include:: VERSION.rst + About. ======