Commit Graph

24 Commits

Author SHA1 Message Date
Victor Shnayder
281ad63d2b split testing support in the LMS.
Adds a split_test_module XModule, that can choose one of its children
to display, based on a get_condition_for_user API added to the runtime.

To test, add something like this to an xml course, or make equivalent
 tweaks in mongo.

 <vertical url_name="split_test_vert">
    <split_test url_name="split1" experiment_id="0" condition_id_to_child='{"0": "i4x://MITx/6.00x/html/split_test_cond0", "1": "i4x://MITx/6.00x/html/split_test_cond1"}'>
       <html url_name="split_test_cond0">condition 0</html>
       <html url_name="split_test_cond1">condition 1</html>
    </split_test>
  </vertical>

Also needs an experiment configured in the course policy json: e.g.

        "user_partitions": [{"id": 0,
                                      "name": "Experiment 0",
                                      "description": "Unicorns?",
                                      "version": 1,
                                      "groups": [{"id": 0,
                                                        "name": "group 0",
                                                        "version": 1},
                                                        {"id": 1,
                                                        "name": "group 1",
                                                        "version": 1}]}]

(This particular snippet will work inside a course with org MITx
 and course name 6.00x)

Co-Author: Sarina Canelake <sarina@edx.org>
Co-Author: Julia Hansbrough <julia@edx.org>
Co-Author: Diana Huang <diana@edx.org>
Co-Author: Calen Pennington <cale@edx.org>

[LMS-2095]
2014-03-05 13:45:08 -05:00
David Baumgold
8a370ea14b Reorganize documentation files for i18n
STUD-1094
2014-01-16 14:11:11 -05:00
Calen Pennington
65d051af03 Add documentation of LMS/Studio features usable by XBlocks
[LMS-192]
2014-01-15 11:28:57 -05:00
David Baumgold
3d2ad59c51 Merge pull request #1907 from edx/db/whitespace-fixes
whitespace-only changes
2013-12-13 11:40:54 -08:00
David Baumgold
fb13bed947 Updating comments and docs for MITx -> edX transition 2013-12-10 13:21:18 -05:00
David Baumgold
28f22393bf whitespace-only changes 2013-12-10 11:45:49 -05:00
polesye
ee7c71817a Add special cases to doc. 2013-10-23 12:37:11 +03:00
Anton Stupak
aecc20af6b Add Timed Transcripts Editor. 2013-10-22 21:45:03 +03:00
Valera Rozuvan
d02ef8bc12 Add Learning Tools Interoperability (LTI) blade.
LTI blade allows to include LTI components to courses.
Python integration, Jasmine and acceptance tests are included.
2013-09-09 23:54:49 +03:00
Alexander Kryklia
719ec8f9d8 Revert "Merge pull request #804 from edx/valera/lti_module"
This reverts commit 2894b21c32, reversing
changes made to 34d0fe1554.
2013-09-09 22:51:57 +03:00
Alexander Kryklia
e5ec4600df Add documentation to LTI module and to dev docs 2013-09-09 19:13:22 +03:00
Will Daly
12cf060ba7 Silence doc test errors/warnings 2013-08-26 15:57:58 -04:00
Julian Arni
852977c2d2 Mock only if on RTD.
And some code cleanup.
2013-08-19 10:24:52 -04:00
Julian Arni
6716783009 Fix import mocks.
Prevents sphinx from bailing on builds that involve unavailable imports.
2013-08-06 14:01:22 -04:00
Julian Arni
0bbd80fedf Add verbose option 2013-08-06 14:00:31 -04:00
Julian Arni
5c477a9004 Make builds quiet by default 2013-08-02 16:24:07 -04:00
Julian Arni
2bb7372a6b Remove django.utils dependency
And fix path issues.
2013-08-02 08:08:51 -04:00
Julian Arni
78ca8fb7be Add rtd-specific syspath 2013-08-02 08:08:51 -04:00
Julian Arni
c0f6ec6cf5 Merge branch 'master' into jkarni/docs-merge
Conflicts:
	docs/source/conf.py
2013-07-30 10:23:35 -04:00
Julian Arni
79b1bffdc8 fix breakage from dir renaming 2013-07-16 13:30:39 -04:00
Ned Batchelder
f3d8738365 static_template_view.models is gone, remove it from docs. 2013-07-16 13:09:23 -04:00
Ned Batchelder
954ddf496d We don't need to run sphinx on our tests. 2013-07-16 13:08:06 -04:00
Julian Arni
bf60b24aa8 Switch to common structure and shared resources 2013-07-16 13:01:12 -04:00
Lyla Fischer
e3fa27a3d8 moved docs into one repo. Broke compilation 2013-07-11 10:38:20 -04:00