Fixed typo
[TortoiseGit.git] / doc / readme.txt
blob931daa687606e8d56c87b9e16a58ec80d13b3241
1 HowTo build the docs\r
2 ====================\r
3 \r
4 Since you are already reading this, I assume that you have succeeded in checking \r
5 out the TortoiseGit.\r
6 \r
7 Tools needed:\r
8 =============\r
9 \r
10 There are some tools for processing the XML input that you need to build the docs.\r
11 Scripts and dtd are included, but the executables (formatting processor, microsoft\r
12 help compiler, translation tools) have to be installed separately.\r
13 You will also need to have a Java Runtime Environment version 1.3.x or above.\r
15 tools\fop\              - the fop processor (for PDF generation)\r
16 tools\xsl\              - the docbook xsl files from sourceforge\r
17 tools\                  - xsl processor, hhc.exe, ...\r
19 you can download all the required tools as a zip package from our website:\r
20 http://code.google.com/p/tortoisesvn/downloads/list\r
21 tools-*.7z. Use 7-zip extract to \TortotiseGit\Tools\r
23 Please note that having spaces in your directory path will (for the time being)\r
24 cause the documentation build process to fail.\r
26 To build only the english docs, that's all you need.\r
28 For Chm docs you need:\r
29 - Microsofts makehm.exe, Part of visual studio, sources available on msdn\r
30 - Microsofts html workshop, Binaries available on msdn\r
32 If you want to update the git-man pages see source\en\TortoiseGit\git_doc.patch.\r
35 Structure:\r
36 ==========\r
37 The most important directories for you are:\r
38 source\en - contains the english XML text source.\r
39 images\en - contains the base (english) images for the docs.\r
40 xsl\      - contains the stylesheets for the doc creation\r
41 dtd\      - contains the tools and the dtd to validate and build the docs.\r
42             You might want to place your tools directory somewhere else on your \r
43             harddisk, if you want to use it to build other docs too. This will \r
44             however require tweaking the build scripts.\r
45             I'd recommend to leave dtd in place, so the source stays \r
46             compatible between TSVN doc developers.\r
47             \r
48 Building the docs:\r
49 ==================\r
51 NAnt Build:\r
52 -----------\r
54 VS->Tools->Visual Studio 2012 command line\r
55 cd doc\r
56 ..\tools\nant-0.92\bin\nant.exe\r
58 A NAnt build script has been provided to build the docs. When doc.build is run for\r
59 the first time, the template doc.build.include.template is copied to doc.build.include.\r
61 For local customisations, copy the doc.build.user.tmpl file to doc.build.user and\r
62 modify that copy to point to the location of the tools on your system.\r
64 All other parameters are defined in doc.build.include. You can override all settings\r
65 in doc.build.user or via the NAnt command line.\r