summaryrefslogtreecommitdiffstats
path: root/DOCS/xml/README.maintainers
diff options
context:
space:
mode:
authornicolas <nicolas@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-23 23:26:55 +0000
committernicolas <nicolas@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-23 23:26:55 +0000
commit5b1bd414021a75c10bcff405266df99f729a91da (patch)
treea9940552370353227a9549e04135f44dfb7b1b8e /DOCS/xml/README.maintainers
parentd0def6c25585ce26c81f8ba5545d9489e3b67fbe (diff)
downloadmpv-5b1bd414021a75c10bcff405266df99f729a91da.tar.bz2
mpv-5b1bd414021a75c10bcff405266df99f729a91da.tar.xz
XML version of MPlayer's doc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9675 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/xml/README.maintainers')
-rw-r--r--DOCS/xml/README.maintainers38
1 files changed, 38 insertions, 0 deletions
diff --git a/DOCS/xml/README.maintainers b/DOCS/xml/README.maintainers
new file mode 100644
index 0000000000..56ec979fa2
--- /dev/null
+++ b/DOCS/xml/README.maintainers
@@ -0,0 +1,38 @@
+The documentation and its translations reside in subdirectories.
+When building the documentation, the toplevel Makefile goes into
+the subdirectories listed in the SUBDIRS variable and executes make
+in each of those directories to create the HTML documentation
+in subdirectories of the 'HTML' directory.
+
+IMPORTANT: Do NOT place sensitive files under 'HTML'!
+ It is for generated documentation only.
+ The whole directory tree is wiped out by the Makefile
+ when running 'make distclean' or 'make clean-html'.
+ Also, subdirectories are wiped out one by one before
+ creating the HTML files.
+
+Each subdirectory must have a Makefile. Its purpose is to include
+the toplevel Makefile.inc file (with the rules to build the docs)
+and add dependency information to the main target, $(HTMLDIR)/index.html.
+The main target usually depends on all the XML and XSL files in the
+subdirectory. (Note that the toplevel *.xsl files are added automatically
+by Makefile.inc, so you do not have to list them.)
+
+
+Adding new translations
+~~~~~~~~~~~~~~~~~~~~~~~
+
+1) Create a new subdirectory and copy the XML files there.
+2) Make sure to create a 'Makefile' for the translation -- you can
+ use 'en/Makefile' as an example.
+3) Set <book lang="XX"> to your language code if the DocBook XSL
+ stylesheets support it.
+4) If you want to use a customized XSL stylesheet, create one and name it
+ 'html.xsl'. And do not forget to import the toplevel XSL file:
+
+ <xsl:import href="../html.xsl"/>
+
+5) If you are using you own HTML stylesheet, edit your Makefile and set
+ the HTML_STYLESHEET variable to its name.
+
+That's all, in theory.