diff options
author | pab <devnull@localhost> | 2009-08-23 22:09:51 +0000 |
---|---|---|
committer | pab <devnull@localhost> | 2009-08-23 22:09:51 +0000 |
commit | ab68d3ae741db780df50c704d46b52e18ba5a3b9 (patch) | |
tree | 1092b68106c0bf9c5fa9d57beff10193a8d08b50 /doc | |
parent | 3eeb414a634593bc0398622dfc21af745781bd8a (diff) |
Fix problems
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile | 4 | ||||
-rw-r--r-- | doc/index.txt | 3 | ||||
-rw-r--r-- | doc/userref_index.txt | 2 | ||||
-rw-r--r-- | doc/userref_usebind.txt | 2 |
4 files changed, 7 insertions, 4 deletions
diff --git a/doc/Makefile b/doc/Makefile index 263291b..ddde078 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -37,10 +37,10 @@ apihtml: mkdir -p html/api PYTHONPATH=.. $(EPYDOC) $(EPYDOCOPTS) -userref/pyxbgen_cli.txt: ../pyxb/binding/generate.py ../maintainer/gendoc +pyxbgen_cli.txt: ../pyxb/binding/generate.py ../maintainer/gendoc PYTHONPATH=.. ../maintainer/gendoc > $@ -GENERATED_TXT += userref/pyxbgen_cli.txt +GENERATED_TXT += pyxbgen_cli.txt html: $(GENERATED_TXT) $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) html diff --git a/doc/index.txt b/doc/index.txt index 9fed94b..97463ed 100644 --- a/doc/index.txt +++ b/doc/index.txt @@ -21,7 +21,8 @@ support bi-directional conversion between `XML <http://www.w3.org/XML/>`_ documents and Python instances. In concept it is similar to `JAXB <http://en.wikipedia.org/wiki/JAXB>`_ for Java and `CodeSynthesis XSD <http://www.codesynthesis.com/products/xsd/>`_ for C++. A -:ref:`thirty_sec_example` is at the bottom of this page. +:ref:`thirty_sec_example` is at the bottom of this page. Step-by-step +examples are in :ref:`userReference`. Getting Help ============ diff --git a/doc/userref_index.txt b/doc/userref_index.txt index 3bab9ff..4ea614f 100644 --- a/doc/userref_index.txt +++ b/doc/userref_index.txt @@ -1,3 +1,5 @@ +.. _userReference: + ************** User Reference ************** diff --git a/doc/userref_usebind.txt b/doc/userref_usebind.txt index 89b5b13..b89ac86 100644 --- a/doc/userref_usebind.txt +++ b/doc/userref_usebind.txt @@ -99,7 +99,7 @@ Creating Instances of Anonymous Types The style of XML schema used for purchase orders uses anonymous types for the deeper elements of the purchase order: -.. literalinclude:: ../examples/manual/po3.xsd +.. literalinclude:: ../examples/manual/po4.xsd In particular, there is no global ``item`` element that can be used to create the individual items. For situations like this, we use |