Commit 6b2cc509 authored by Marcel Rieger's avatar Marcel Rieger
Browse files

Clear js and py doc build in "make clean", add monkey patch to avoid errors for dynamic members.

parent 94dd4664
......@@ -48,6 +48,8 @@ help:
clean:
rm -rf $(BUILDDIR)
rm -rf source/js
rm -rf source/py
srcs:
python preprocess -s ../vispa/static/js/ -t source/js
......
......@@ -26,7 +26,7 @@ Shared classes
``Emitter()``
^^^^^^^^^^^^
^^^^^^^^^^^^^
.. include:: js/base/emitter.rst
......
......@@ -275,3 +275,16 @@ texinfo_documents = [
# Example configuration for intersphinx: refer to the Python standard library.
# intersphinx_mapping = {'http://docs.python.org/': None}
# monkey patches
import cherrypy
# cherrypy toolbox
def cptoolbox_getattr(self, attr):
def member(*args, **kwargs):
def wrapper(fn):
return fn
return wrapper
return member
cherrypy.tools.__class__.__getattr__ = cptoolbox_getattr
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment