From 70839496c9e3151f59152498dbca0a3d787bdff2 Mon Sep 17 00:00:00 2001 From: maheshgudi Date: Thu, 12 Jul 2018 13:48:46 +0530 Subject: Modify documentation for question upload --- .../moderator_docs/creating_question.rst | 28 ++++++++++++++++++---- yaksh/templates/yaksh/showquestions.html | 2 +- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/yaksh/documentation/moderator_docs/creating_question.rst b/yaksh/documentation/moderator_docs/creating_question.rst index 82bb6e5..3e878ea 100644 --- a/yaksh/documentation/moderator_docs/creating_question.rst +++ b/yaksh/documentation/moderator_docs/creating_question.rst @@ -330,14 +330,34 @@ Features in Question * **Download Questions** - Select questions from the list of questions displayed on the Questions page. Click on the Download Selected button to download the questions. This will create a zip file of the Questions selected. + Select questions from a list of questions displayed on the + Questions page. Click on the Download Selected button to download + the questions. This will create a zip file of the Questions + selected. The zip will contain yaml file and an folder called + **additional_files** which will contain files required by questions + downloaded. Finally one can also download a template yaml file + and modify it to add his/her questions. * **Upload Questions** - Click on the browse button. This will open up a window. Select the zip file of questions and click Ok and then click on Upload file button, questions will be uploaded and displayed on the Questions page. + Click on the **Upload and Download questions** tab in the + **Question Page**. + One can upload Yaml file with extensions .yaml or .yml. + Please note that you cannot upload files associated to a question. + Yaml file can have any name. + + One can also upload zip with the following zip structure - + + .. code:: + + .zip + |-- .yaml or .yml + |-- .yaml or .yml + |-- folder1 + | |-- Files required by questions + |-- folder2 + | |-- Files required by questions - Zip file should contain **questions_dump.yaml** from which questions will be loaded. - Zip file can contain files related to questions. * **Test Questions** diff --git a/yaksh/templates/yaksh/showquestions.html b/yaksh/templates/yaksh/showquestions.html index 06c088c..ff7a627 100644 --- a/yaksh/templates/yaksh/showquestions.html +++ b/yaksh/templates/yaksh/showquestions.html @@ -15,7 +15,7 @@
-- cgit