From 892cf7bace03c3b3f5aeaf481d03a56da3c327bb Mon Sep 17 00:00:00 2001 From: Victor Shnayder Date: Tue, 18 Sep 2012 13:46:57 -0400 Subject: [PATCH] cleanup tabs documentation a bit --- doc/xml-format.md | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/doc/xml-format.md b/doc/xml-format.md index 181a814069..342b807eb8 100644 --- a/doc/xml-format.md +++ b/doc/xml-format.md @@ -358,19 +358,14 @@ Links that include `/course` will be rewritten to the root of your course in the If you want to customize the courseware tabs displayed for your course, specify a "tabs" list in the course-level policy. e.g.: -"tabs" : [ -{ "type": "courseware"}, # no name--always "Courseware" for consistency between courses -{"name": "Course Info", - "type": course_info"}, -{"name": "My Discussion", - "type": external_"link", - "link": "http://www.mydiscussion.org/blah"}, -{"name": "Progress", -"type": "Progress"}, -{"name": "Wonderwiki", - "type": "wiki"}, -{"type": "textbooks"} # generates one tab per textbook, taking names from the textbook titles -] + "tabs" : [ + {"type": "courseware"}, # no name--always "Courseware" for consistency between courses + {"type": "course_info", "name": "Course Info"}, + {"type": "external_link", "name": "My Discussion", "link": "http://www.mydiscussion.org/blah"}, + {"type": "progress", "name": "Progress"}, + {"type": "wiki", "name": "Wonderwiki"}, + {"type": "textbooks"} # generates one tab per textbook, taking names from the textbook titles + ] * If you specify any tabs, you must specify all tabs. They will appear in the order given.