forked from mongodb/docs-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sam Kleinman
committed
Aug 26, 2014
1 parent
163c0c1
commit 31c199f
Showing
9 changed files
with
299 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
=============== | ||
Giza Background | ||
=============== | ||
|
||
Overview | ||
-------- | ||
|
||
Giza is a collection of tools built around `Sphinx | ||
<http://sphinx-doc.org/>`_, that coordinates assembling, building, and | ||
deploying documentation. Giza primarily addresses the MongoDB | ||
documentation project; however, its design is sufficiently generic to | ||
be able to facilitate the builds of multiple documentation resources | ||
produced at MongoDB. | ||
|
||
Features and Goals | ||
------------------ | ||
|
||
Giza has the following objectives and primary features: | ||
|
||
Local Build | ||
~~~~~~~~~~~ | ||
|
||
Facilitate fully-local test builds. Contributors to the | ||
documentation should be able to generate the documentation using the | ||
exact same process used to produce the production version of the | ||
resources. | ||
|
||
Content Generation | ||
~~~~~~~~~~~~~~~~~~ | ||
|
||
Generate content from structured forms into reStructuredText that | ||
Sphinx can publish. In an effort to manage duplicated content, and | ||
facilitate sustainable content reuse, Giza translates structured | ||
content, procedures, including command line interfaces, tables of | ||
contents, and API interfaces. | ||
|
||
Parallelism | ||
~~~~~~~~~~~ | ||
|
||
Run multiple Sphinx builds concurrently. Practically speaking, | ||
building the documentation requires running Sphinx multiple | ||
times. Building the documentation requires multiple invocations of | ||
Sphinx, to produce: | ||
|
||
- multiple versions of the manual (i.e. HTML, ``json``, PDF, ePub, | ||
etc.) | ||
|
||
- transitions of the content in different human languages. | ||
|
||
- different editions of a text to address different editions of a | ||
single resource. (e.g. a student and instructor version of a | ||
training resource.) | ||
|
||
Internally, Sphinx itself is not optimally parallelized, and | ||
it's considerably more efficient to run multiple Sphinx processes in | ||
parallel, particularly for larger resources and as the matrix of | ||
required build artifacts grows. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,6 @@ produced at MongoDB. | |
|
||
.. toctree:: | ||
|
||
/core/giza | ||
/tutorial | ||
/api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ Tutorials | |
.. toctree:: | ||
|
||
/tutorial/set-up-giza | ||
/tutorial/use-giza |
Oops, something went wrong.