Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
VISPA
VISPA web
Commits
6b2cc509
Commit
6b2cc509
authored
Jan 12, 2016
by
Marcel Rieger
Browse files
Clear js and py doc build in "make clean", add monkey patch to avoid errors for dynamic members.
parent
94dd4664
Changes
3
Hide whitespace changes
Inline
Side-by-side
docs/Makefile
View file @
6b2cc509
...
...
@@ -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
...
...
docs/source/api.rst
View file @
6b2cc509
...
...
@@ -26,7 +26,7 @@ Shared classes
``Emitter()``
^^^^^^^^^^^^
^^^^^^^^^^^^
^
.. include:: js/base/emitter.rst
...
...
docs/source/conf.py
View file @
6b2cc509
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment