Re: [DOCS] Docbook 5.x - Mailing list pgsql-docs

From Alexander Law
Subject Re: [DOCS] Docbook 5.x
Date
Msg-id 449e34c4-9cc8-d17d-5ebe-be92b4c0a87a@gmail.com
Whole thread Raw
In response to Re: Docbook 5.x  (Alexander Law <exclusion@gmail.com>)
Responses Re: [DOCS] Docbook 5.x  (Jürgen Purtz <juergen@purtz.de>)
Re: [DOCS] Docbook 5.x  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Re: [DOCS] Docbook 5.x  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Re: Docbook 5.x  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-docs
Hello Peter,

16.11.2016 14:30, Alexander Law wrote:
> So It seems, now we can continue the move to XML.
> I'd suggest to move in several steps.
> Please see the attached scripts.
> The main script is 7_check_conversion.sh. It performs all the
> conversion and checks whether the html output is the same.
> I suggest to split conversion in three commits.
> Commit#0 is for manual corrections - it replaces "<" with "<" and
> so on in some sgml's and it doesn't affect the build or outputs.
> It needed just for the next step - automatic conversion. These changes
> to sgml's are countable and observable.
>
> Commit#1 performs conversion of all SGML's to make them compatible
> with XML (as much as possible). (Thanks to Jurgen for his sgml2xml.pl
> script.)
> These changes to sgml's are massive, but they are produced
> automatically, so we need just to check the script and make sure that
> the output is the same.
> After that commit we still can use SGML build.
>
> And the last commit, commit#2 is for switching to XML. At that point
> doc/src/sgml renamed to doc/src/xml, build environment modified and
> cleaned, but changes in sgml/xml are minimal, so we can observe and
> check them.
>
> After the commit#2 we get all our docs in XML (DocBook 4.2) and can
> build it just as we did with 'make html/man/...' before.
> Maybe the commit#2 should be applied later, but commits #0 and #1 are
> not intrusive and can be applied anytime.
I've rebased previous patches for the current "10devel" version.
Will we continue move to DocBook.XML?
Are there any obstacles that may keep us from moving forward?

Best regards,
Alexander


Attachment

pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [DOCS] Missing 'Reload with' for 'pg_dump -j'
Next
From: Jürgen Purtz
Date:
Subject: Re: [DOCS] Docbook 5.x