annotate DOCS/xml/README.maintainers @ 9674:461f71ba8af4

XML version of MPlayer's doc
author nicolas
date Sun, 23 Mar 2003 23:26:55 +0000
parents
children 9e6a41a7d6a8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
1 The documentation and its translations reside in subdirectories.
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
2 When building the documentation, the toplevel Makefile goes into
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 the subdirectories listed in the SUBDIRS variable and executes make
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
4 in each of those directories to create the HTML documentation
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
5 in subdirectories of the 'HTML' directory.
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
6
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 IMPORTANT: Do NOT place sensitive files under 'HTML'!
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
8 It is for generated documentation only.
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 The whole directory tree is wiped out by the Makefile
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 when running 'make distclean' or 'make clean-html'.
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
11 Also, subdirectories are wiped out one by one before
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
12 creating the HTML files.
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
13
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
14 Each subdirectory must have a Makefile. Its purpose is to include
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
15 the toplevel Makefile.inc file (with the rules to build the docs)
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
16 and add dependency information to the main target, $(HTMLDIR)/index.html.
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 The main target usually depends on all the XML and XSL files in the
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
18 subdirectory. (Note that the toplevel *.xsl files are added automatically
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 by Makefile.inc, so you do not have to list them.)
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
20
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
21
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 Adding new translations
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
23 ~~~~~~~~~~~~~~~~~~~~~~~
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
24
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
25 1) Create a new subdirectory and copy the XML files there.
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
26 2) Make sure to create a 'Makefile' for the translation -- you can
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
27 use 'en/Makefile' as an example.
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
28 3) Set <book lang="XX"> to your language code if the DocBook XSL
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
29 stylesheets support it.
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
30 4) If you want to use a customized XSL stylesheet, create one and name it
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
31 'html.xsl'. And do not forget to import the toplevel XSL file:
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
32
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 <xsl:import href="../html.xsl"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
34
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
35 5) If you are using you own HTML stylesheet, edit your Makefile and set
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
36 the HTML_STYLESHEET variable to its name.
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
37
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
38 That's all, in theory.