-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.txt
111 lines (71 loc) · 3.63 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
README for the Komodo Documentation project
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The komododoc project exists to provide quality documentation for
Komodo-based apps/products. It includes the HTML sources for user
documentation for use by all Komodo apps and support for building the doc
set and necessary pieces for displaying these docs in the app and online.
Currently user documentation for a Komodo application (e.g. Komodo IDE,
Komodo Edit) is provided in two forms:
- Viewable/browsable/searchable in the Mozilla Help viewer that is
included in a Komodo build. This is the help window the user gets when
pressing F1 or selecting help in Komodo.
- In a standalone HTML documentation set (typically published to a
website).
Getting the Source
==================
If you are reading this, you probably already have it, but for the record:
The Komodo doc sources are kept in a Subversion repository hosted at the
openkomodo.com site. Read-only public access is available via:
git clone https://github.com/Komodo/komodo-documentation.git
Read/write developer access is available via:
git clone git@github.com:Komodo/komodo-documentation.git
How it works
============
Also known as the "Why a separate project?" section. The Komodo Edit
source tree is huge and building a full Komodo Edit build is not for
the faint of heart. Having a separate project for the Komodo docs
allows for a lower barrier to entry for working with and contributing to
the Komodo docs. Typical Komodo app builds will use this source tree (and
use the "mozhelp" build target, see below) but you can do a full Komodo
doc build without bothering with a full Komodo tree.
The komododoc project includes documentation for all apps built using the
Komodo framework. Currently this includes Komodo IDE and Komodo Edit. Keeping
docs for all Komodo apps in one repository will help ensure that all Komodo
projects best benefit from shared work on their docs. Time spent on documenting
software is precious -- we want to make sure it is best used.
The build system here provides simple mechanisms for
including/excluding/marking only those parts of the docs that are relevant
for a particular Komodo flavor. How this works in described below.
How to build it
===============
0. First you need the "mk" build tool:
git clone https://github.com/ActiveState/mk.git
Then put the 'mk/bin' directory on your PATH:
export PATH=`pwd`/mk/bin:$PATH # on Linux/Mac OS X
set PATH=...\mk\bin;%PATH% # on Windows
'mk' is a build tool that is meant to act like GNU make. Hence, general
usage is:
mk [TARGETS...]
1. Configure how you want to build the docs. This is done via the
"configure.py" script (which is used like a typical autoconf
"configure" script):
./configure.py [OPTIONS...]
By default it will configure to do a complete doc build (i.e. docs
relevant to all Komodo flavours will be included) for the en-US
language (the default, and currently the only, translation).
./configure.py
For the curious, this creates a "config.py" that is used to control
what gets built and how.
2. Make any of the desired targets with the "mk" tool. The most common
target is "mozhelp" that builds the necessary bits for adding docs
to a full Komodo build:
mk mozhelp
To make changes, you need only make your edits to the files in the "en-US"
directory and re-run `mk mozhelp` to update everything.
Contributing: Editing/Typos
===========================
<http://bugs.activestate.com/enter_bug.cgi?product=Komodo&component=Help>
TODO
Contributing: Translations
==========================
TODO