diff options
author | King | 2018-07-12 13:01:00 -0700 |
---|---|---|
committer | GitHub | 2018-07-12 13:01:00 -0700 |
commit | f61742f04f417cfb60576f9904afd0dc5c537b3c (patch) | |
tree | ffb6fe127dde126e1ee88852c137895de754708f /yaksh/documentation | |
parent | 3d9b15c8f8df3c313045cc32f6d4aefaec6f378f (diff) | |
parent | 70839496c9e3151f59152498dbca0a3d787bdff2 (diff) | |
download | online_test-f61742f04f417cfb60576f9904afd0dc5c537b3c.tar.gz online_test-f61742f04f417cfb60576f9904afd0dc5c537b3c.tar.bz2 online_test-f61742f04f417cfb60576f9904afd0dc5c537b3c.zip |
Merge pull request #496 from maheshgudi/questions_yaml
Question upload can take yaml and zip files
Diffstat (limited to 'yaksh/documentation')
-rw-r--r-- | yaksh/documentation/moderator_docs/creating_question.rst | 28 |
1 files changed, 24 insertions, 4 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** |