git-svn-id: file:///svn/unbound/trunk@1577 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2009-04-02 10:14:27 +00:00
parent db94e389da
commit a5c76d0579
8 changed files with 13 additions and 8 deletions

View file

@ -343,8 +343,8 @@ doc:
if test -n "$(doxygen)"; then \
$(doxygen) $(srcdir)/doc/unbound.doxygen; fi
if test -x "`which sphinx-build 2>&1`"; then \
sphinx-build -b html pythonmod/doc/source doc/html/pythonmod
sphinx-build -b html libunbound/python/doc/source doc/html/pyunbound
sphinx-build -b html pythonmod/doc doc/html/pythonmod; \
sphinx-build -b html libunbound/python/doc doc/html/pyunbound;\
fi
strip:

View file

@ -1,5 +1,6 @@
2 April 2009: Wouter
- pyunbound (libunbound python plugin) compiles using libtool.
- documentation for pythonmod and pyunbound is generated in doc/html.
1 April 2009: Wouter
- suppress errors when trying to contact authority servers that gave

View file

@ -495,10 +495,12 @@ EXCLUDE = ./build \
util/configparser.h \
util/configlexer.c \
util/locks.h \
pythonmod/Unbound.py \
pythonmod/unboundmodule.py \
pythonmod/interface.h \
pythonmod/examples/resgen.py \
pythonmod/examples/resmod.py \
libunbound/python/unbound.py \
libunbound/python/libunbound_wrap.c \
./ldns-src
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or

View file

@ -15,7 +15,9 @@ import sys, os
# If your extensions are in another directory, add it here. If the directory
# is relative to the documentation root, use os.path.abspath to make it
# absolute, like shown here.
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),'../../')))
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),'../')))
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),'../../../')))
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),'../../../.libs/')))
#print sys.path
# General configuration

View file

@ -10,7 +10,7 @@ This packet will be send to a client that asked for it.
Complete source code
--------------------
.. literalinclude:: ../../../examples/log.py
.. literalinclude:: ../../examples/log.py
:language: python
Testing

View file

@ -11,7 +11,7 @@ This example shows how to handle queries and generate response packet.
Complete source code
--------------------
.. literalinclude:: ../../../examples/resgen.py
.. literalinclude:: ../../examples/resgen.py
:language: python
Testing

View file

@ -16,7 +16,7 @@ In other cases, the validator module guarantees updating data which are produced
Complete source code
--------------------
.. literalinclude:: ../../../examples/resmod.py
.. literalinclude:: ../../examples/resmod.py
:language: python
Testing

View file

@ -160,5 +160,5 @@ Proof that the unbound still works as resolver.
Complete source code
--------------------
.. literalinclude:: ../../../examples/dict.py
.. literalinclude:: ../../examples/dict.py
:language: python