[FFmpeg-devel] [PATCH 3/3] [WEB] Add generate-doc.sh to generate makeinfo-based ffmpeg docs
db0 company
db0company at gmail.com
Sun Jul 20 20:24:36 CEST 2014
On Sun, Jul 20, 2014 at 8:09 PM, Clément Bœsch <u at pkh.me> wrote:
> On Sun, Jul 20, 2014 at 10:03:49AM -0700, Timothy Gu wrote:
> [...]
>> +<!-- Please keep this in sync with template_head_prod and template_head2 -->
> [...]
>> +<!-- Please keep this in sync with template_head2 -->
> [...]
>> +<!-- Please keep this in sync with template_doc_head2 -->
> [...]
>> +<!-- Please keep this in sync with template_head3 -->
> [...]
>> +<!-- Please keep this in sync with template_doc_head[1-3] -->
> [...]
>> +<!-- Please keep this in sync with template_doc_head4 -->
> [...]
>
> This is extremely clumsy, please find another way.
I agree.
The pieces of code from the header and footer were not split the same
way as in the texi2html generator, but I found a way:
https://github.com/db0company/FFmpeg/commit/9ce64ba111221a37bdd78204b67330a6120f6c50#diff-2
I haven't looked at the makeinfo doc but there's probably a way to do
it like this as well and therefore avoid duplication.
--
db0 - Deby Barbara Lepage
http://db0.fr/
More information about the ffmpeg-devel
mailing list