--- a/cubicweb/pyramid/core.py Fri Jan 27 16:26:09 2017 +0100
+++ b/cubicweb/pyramid/core.py Fri Jan 27 15:53:15 2017 +0100
@@ -209,7 +209,7 @@
:param request: A pyramid request
:param vid: A CubicWeb view id
- :param **kwargs: Keyword arguments to select and instanciate the view
+ :param kwargs: Keyword arguments to select and instanciate the view
:returns: The rendered view content
"""
vreg = request.registry['cubicweb.registry']
--- a/cubicweb/web/formwidgets.py Fri Jan 27 16:26:09 2017 +0100
+++ b/cubicweb/web/formwidgets.py Fri Jan 27 15:53:15 2017 +0100
@@ -671,9 +671,12 @@
choose a date anterior(/posterior) to this DatePicker.
example:
- start and end are two JQueryDatePicker and start must always be before end
+
+ start and end are two JQueryDatePicker and start must always be before end::
+
affk.set_field_kwargs(etype, 'start_date', widget=JQueryDatePicker(min_of='end_date'))
affk.set_field_kwargs(etype, 'end_date', widget=JQueryDatePicker(max_of='start_date'))
+
That way, on change of end(/start) value a new max(/min) will be set for start(/end)
The invalid dates will be gray colored in the datepicker
"""
--- a/doc/api/pyramid/authplugin.rst Fri Jan 27 16:26:09 2017 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-.. _authplugin_module:
-
-:mod:`cubicweb.pyramid.authplugin`
-----------------------------------
-
-.. automodule:: cubicweb.pyramid.authplugin
-
- .. autoclass:: DirectAuthentifier
- :show-inheritance:
- :members:
--- a/doc/api/pyramid/tools.rst Fri Jan 27 16:26:09 2017 +0100
+++ b/doc/api/pyramid/tools.rst Fri Jan 27 15:53:15 2017 +0100
@@ -1,7 +1,7 @@
.. _tools_module:
:mod:`cubicweb.pyramid.tools`
-----------------------------
+-----------------------------
.. automodule:: cubicweb.pyramid.tools
--- a/doc/index.rst Fri Jan 27 16:26:09 2017 +0100
+++ b/doc/index.rst Fri Jan 27 15:53:15 2017 +0100
@@ -108,7 +108,7 @@
.. toctree::
:maxdepth: 1
- js_api/index
+ book/en/devweb/js_api/index
Developpers
~~~~~~~~~~~