From b4be6a9b6ba8b5418bec724a98c9262ec57da8f2 Mon Sep 17 00:00:00 2001 From: Vasyl Nakvasiuk Date: Thu, 11 Apr 2013 14:12:53 +0300 Subject: [PATCH] add Word Cloud to public and develop docs --- .../word_cloud/word_cloud.rst | 41 +++++++++++++++++++ doc/public/index.rst | 1 + 2 files changed, 42 insertions(+) create mode 100644 doc/public/course_data_formats/word_cloud/word_cloud.rst diff --git a/doc/public/course_data_formats/word_cloud/word_cloud.rst b/doc/public/course_data_formats/word_cloud/word_cloud.rst new file mode 100644 index 0000000000..8942d134ed --- /dev/null +++ b/doc/public/course_data_formats/word_cloud/word_cloud.rst @@ -0,0 +1,41 @@ +********************************************** +Xml format of "Word Cloud" module [xmodule] +********************************************** + +.. module:: word_cloud + +Format description +================== + +The main tag of Word Cloud module input is: + +.. code-block:: xml + + ... + +The following attributes can be specified for this tag:: + + [display_name| AUTOGENERATE] – Display name of xmodule. When this attribute is not defined - display name autogenerate with some hash. + [num_inputs| 5] – Number of inputs. + [num_top_words| 250] – Number of max words, which will be displayed. + +.. note:: + + If you want to use the same word cloud (the same storage of words), you must use the same display_name value. + +Example +======= + +Examples of word_cloud without all attributes (all attributes get by default) +----------------------------------------------------------------------------- + +.. code-block:: xml + + + +Examples of poll with all attributes +------------------------------------ + +.. code-block:: xml + + \ No newline at end of file diff --git a/doc/public/index.rst b/doc/public/index.rst index ee681a822e..064b3ff443 100644 --- a/doc/public/index.rst +++ b/doc/public/index.rst @@ -26,6 +26,7 @@ Specific Problem Types course_data_formats/graphical_slider_tool/graphical_slider_tool.rst course_data_formats/poll_module/poll_module.rst course_data_formats/conditional_module/conditional_module.rst + course_data_formats/word_cloud/word_cloud.rst course_data_formats/custom_response.rst