From da7e9d8afae5eec54c68a6d67c798d83a429351e Mon Sep 17 00:00:00 2001 From: Sean Hammond Date: Wed, 27 Nov 2013 20:03:20 +0100 Subject: [PATCH] [#847] Fix a couple of Sphinx includes --- doc/theming/javascript.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/theming/javascript.rst b/doc/theming/javascript.rst index 8babd46e7e2..30673dbf6ac 100644 --- a/doc/theming/javascript.rst +++ b/doc/theming/javascript.rst @@ -20,7 +20,7 @@ To get CKAN to call some custom JavaScript code, we need to: Create the file ``ckanext-example_theme/fanstatic/favorite.js``, with these contents: - .. literalinclude:: /../ckanext/example_theme/v15_initialize_a_javascript_module/fanstatic/favorite.js + .. literalinclude:: /../ckanext/example_theme/v16_initialize_a_javascript_module/fanstatic/favorite.js This bit of |javascript| calls the ``ckan.module()`` function to register a new JavaScript module with CKAN. ``ckan.module()`` takes two arguments: the @@ -40,7 +40,7 @@ To get CKAN to call some custom JavaScript code, we need to: ``ckanext-example_theme/templates/snippets/package_item.html`` with these contents: - .. literalinclude:: /../ckanext/example_theme/v15_initialize_a_javascript_module/templates/snippets/package_item.html + .. literalinclude:: /../ckanext/example_theme/v16_initialize_a_javascript_module/templates/snippets/package_item.html .. todo:: Link to something about HTML data-* attributes.