-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from executablebooks/add-tests
TEST: enable xml doctree tracking
- Loading branch information
Showing
46 changed files
with
859 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<document source="_enum_duplicate_label.rst"> | ||
<section ids="enum-duplicate-label" names="_enum_duplicate_label"> | ||
<title> | ||
_enum_duplicate_label | ||
<exercise_node classes="exercise" docname="exercise/_enum_duplicate_label" hidden="False" ids="dup" label="dup" names="dup" title="(duplicate directive 1)" type="exercise"> | ||
<title> | ||
(duplicate directive 1) | ||
<section ids="exercise-content"> | ||
<paragraph> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<document source="_enum_mathtitle_label.rst"> | ||
<section ids="enum-mathtitle-label" names="_enum_mathtitle_label"> | ||
<title> | ||
_enum_mathtitle_label | ||
<exercise_node classes="exercise" docname="exercise/_enum_mathtitle_label" hidden="False" ids="test-exc-label-math" label="test-exc-label-math" names="test-exc-label-math" title="(Test :math:`\mathbb{R}`)" type="exercise"> | ||
<title> | ||
(Test | ||
<math> | ||
\mathbb{R} | ||
) | ||
<section ids="exercise-content"> | ||
<paragraph> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<document source="_enum_notitle_label.rst"> | ||
<section ids="enum-notitle-label" names="_enum_notitle_label"> | ||
<title> | ||
_enum_notitle_label | ||
<exercise_node classes="exercise" docname="exercise/_enum_notitle_label" hidden="False" ids="text-exc-notitle" label="text-exc-notitle" names="text-exc-notitle" title="Exercise " type="exercise"> | ||
<title> | ||
Exercise | ||
<section ids="exercise-content"> | ||
<paragraph> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<document source="_enum_numref_mathtitle.rst"> | ||
<section ids="enum-numref-mathtitle" names="_enum_numref_mathtitle"> | ||
<title> | ||
_enum_numref_mathtitle | ||
<paragraph> | ||
This is a reference | ||
<pending_xref refdoc="exercise/_enum_numref_mathtitle" refdomain="std" refexplicit="False" reftarget="test-exc-label-math" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
test-exc-label-math | ||
. | ||
<paragraph> | ||
This is a second reference | ||
<pending_xref refdoc="exercise/_enum_numref_mathtitle" refdomain="std" refexplicit="True" reftarget="test-exc-label-math" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some text | ||
. | ||
<paragraph> | ||
This is a third reference | ||
<pending_xref refdoc="exercise/_enum_numref_mathtitle" refdomain="std" refexplicit="True" reftarget="test-exc-label-math" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some text %s | ||
. | ||
<paragraph> | ||
This is a fourth reference | ||
<pending_xref refdoc="exercise/_enum_numref_mathtitle" refdomain="std" refexplicit="True" reftarget="test-exc-label-math" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some text {number} | ||
. | ||
<paragraph> | ||
This is a fifth reference | ||
<pending_xref refdoc="exercise/_enum_numref_mathtitle" refdomain="std" refexplicit="True" reftarget="test-exc-label-math" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some text {name} | ||
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<document source="_enum_numref_notitle.rst"> | ||
<section ids="enum-numref-notitle" names="_enum_numref_notitle"> | ||
<title> | ||
_enum_numref_notitle | ||
<paragraph> | ||
This is a reference | ||
<pending_xref refdoc="exercise/_enum_numref_notitle" refdomain="std" refexplicit="False" reftarget="text-exc-notitle" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
text-exc-notitle | ||
. | ||
<paragraph> | ||
This is a second reference | ||
<pending_xref refdoc="exercise/_enum_numref_notitle" refdomain="std" refexplicit="True" reftarget="text-exc-notitle" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some text | ||
. | ||
<paragraph> | ||
This is a third reference | ||
<pending_xref refdoc="exercise/_enum_numref_notitle" refdomain="std" refexplicit="True" reftarget="text-exc-notitle" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some text %s | ||
. | ||
<paragraph> | ||
This is a fourth reference | ||
<pending_xref refdoc="exercise/_enum_numref_notitle" refdomain="std" refexplicit="True" reftarget="text-exc-notitle" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some text {number} | ||
. | ||
<paragraph> | ||
This is a fifth reference | ||
<pending_xref refdoc="exercise/_enum_numref_notitle" refdomain="std" refexplicit="True" reftarget="text-exc-notitle" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some text {name} | ||
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<document source="_enum_numref_placeholders.rst"> | ||
<section ids="enum-numref-placeholders" names="_enum_numref_placeholders"> | ||
<title> | ||
_enum_numref_placeholders | ||
<paragraph> | ||
This reference does not include math | ||
<pending_xref refdoc="exercise/_enum_numref_placeholders" refdomain="std" refexplicit="True" reftarget="test-exc-label" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some {number} text %s test {name} | ||
. | ||
<paragraph> | ||
This reference does not include math | ||
<pending_xref refdoc="exercise/_enum_numref_placeholders" refdomain="std" refexplicit="True" reftarget="test-exc-label" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some {number} text %s test | ||
. | ||
<paragraph> | ||
This reference does not include math | ||
<pending_xref refdoc="exercise/_enum_numref_placeholders" refdomain="std" refexplicit="True" reftarget="test-exc-label" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some {name} text %s test | ||
. | ||
<paragraph> | ||
This reference does not include math | ||
<pending_xref refdoc="exercise/_enum_numref_placeholders" refdomain="std" refexplicit="True" reftarget="test-exc-label" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some {name} text {number} test | ||
. | ||
<paragraph> | ||
This reference does not include math | ||
<pending_xref refdoc="exercise/_enum_numref_placeholders" refdomain="std" refexplicit="True" reftarget="test-exc-label" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some %s text test | ||
. | ||
<paragraph> | ||
This reference includes math | ||
<pending_xref refdoc="exercise/_enum_numref_placeholders" refdomain="std" refexplicit="True" reftarget="test-exc-label-math" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some {number} text %s test {name} | ||
. | ||
<paragraph> | ||
This reference includes math | ||
<pending_xref refdoc="exercise/_enum_numref_placeholders" refdomain="std" refexplicit="True" reftarget="test-exc-label-math" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some {number} text %s test | ||
. | ||
<paragraph> | ||
This reference includes math | ||
<pending_xref refdoc="exercise/_enum_numref_placeholders" refdomain="std" refexplicit="True" reftarget="test-exc-label-math" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some {name} text %s test | ||
. | ||
<paragraph> | ||
This reference includes math | ||
<pending_xref refdoc="exercise/_enum_numref_placeholders" refdomain="std" refexplicit="True" reftarget="test-exc-label-math" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some {name} text {number} test | ||
. | ||
<paragraph> | ||
This reference includes math | ||
<pending_xref refdoc="exercise/_enum_numref_placeholders" refdomain="std" refexplicit="True" reftarget="test-exc-label-math" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some %s text test | ||
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<document source="_enum_numref_title.rst"> | ||
<section ids="enum-numref-title" names="_enum_numref_title"> | ||
<title> | ||
_enum_numref_title | ||
<paragraph> | ||
This is a reference | ||
<pending_xref refdoc="exercise/_enum_numref_title" refdomain="std" refexplicit="False" reftarget="test-exc-label" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
test-exc-label | ||
. | ||
<paragraph> | ||
This is a second reference | ||
<pending_xref refdoc="exercise/_enum_numref_title" refdomain="std" refexplicit="True" reftarget="test-exc-label" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some text | ||
. | ||
<paragraph> | ||
This is a third reference | ||
<pending_xref refdoc="exercise/_enum_numref_title" refdomain="std" refexplicit="True" reftarget="test-exc-label" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some text %s | ||
. | ||
<paragraph> | ||
This is a fourth reference | ||
<pending_xref refdoc="exercise/_enum_numref_title" refdomain="std" refexplicit="True" reftarget="test-exc-label" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some text {number} | ||
. | ||
<paragraph> | ||
This is a fifth reference | ||
<pending_xref refdoc="exercise/_enum_numref_title" refdomain="std" refexplicit="True" reftarget="test-exc-label" reftype="numref" refwarn="True"> | ||
<literal classes="xref std std-numref"> | ||
some text {name} | ||
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<document source="_enum_ref_mathtitle.rst"> | ||
<section ids="enum-ref-mathtitle" names="_enum_ref_mathtitle"> | ||
<title> | ||
_enum_ref_mathtitle | ||
<paragraph> | ||
This is a reference | ||
<pending_xref refdoc="exercise/_enum_ref_mathtitle" refdomain="std" refexplicit="False" reftarget="test-exc-label-math" reftype="ref" refwarn="True"> | ||
<inline classes="xref std std-ref"> | ||
test-exc-label-math | ||
. | ||
<paragraph> | ||
This is a second reference | ||
<pending_xref refdoc="exercise/_enum_ref_mathtitle" refdomain="std" refexplicit="True" reftarget="test-exc-label-math" reftype="ref" refwarn="True"> | ||
<inline classes="xref std std-ref"> | ||
some text | ||
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<document source="_enum_ref_notitle.rst"> | ||
<section ids="enum-ref-notitle" names="_enum_ref_notitle"> | ||
<title> | ||
_enum_ref_notitle | ||
<paragraph> | ||
This is a reference | ||
<pending_xref refdoc="exercise/_enum_ref_notitle" refdomain="std" refexplicit="False" reftarget="text-exc-notitle" reftype="ref" refwarn="True"> | ||
<inline classes="xref std std-ref"> | ||
text-exc-notitle | ||
. | ||
<paragraph> | ||
This is a second reference | ||
<pending_xref refdoc="exercise/_enum_ref_notitle" refdomain="std" refexplicit="True" reftarget="text-exc-notitle" reftype="ref" refwarn="True"> | ||
<inline classes="xref std std-ref"> | ||
some text | ||
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<document source="_enum_ref_title.rst"> | ||
<section ids="enum-ref-title" names="_enum_ref_title"> | ||
<title> | ||
_enum_ref_title | ||
<paragraph> | ||
This is a reference | ||
<pending_xref refdoc="exercise/_enum_ref_title" refdomain="std" refexplicit="False" reftarget="test-exc-label" reftype="ref" refwarn="True"> | ||
<inline classes="xref std std-ref"> | ||
test-exc-label | ||
. | ||
<paragraph> | ||
This is a second reference | ||
<pending_xref refdoc="exercise/_enum_ref_title" refdomain="std" refexplicit="True" reftarget="test-exc-label" reftype="ref" refwarn="True"> | ||
<inline classes="xref std std-ref"> | ||
some text | ||
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<document source="_enum_title_class_label.rst"> | ||
<section ids="enum-title-class-label" names="_enum_title_class_label"> | ||
<title> | ||
_enum_title_class_label | ||
<exercise_node classes="exercise test-exc" docname="exercise/_enum_title_class_label" hidden="False" ids="test-exc-label" label="test-exc-label" names="test-exc-label" title="(Test exercise directive)" type="exercise"> | ||
<title> | ||
(Test exercise directive) | ||
<section ids="exercise-content"> | ||
<paragraph> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<document source="_enum_title_nolabel.rst"> | ||
<section ids="enum-title-nolabel" names="_enum_title_nolabel"> | ||
<title> | ||
_enum_title_nolabel | ||
<exercise_node classes="exercise" docname="exercise/_enum_title_nolabel" hidden="False" ids="exercise/_enum_title_nolabel-exercise-0" label="exercise/_enum_title_nolabel-exercise-0" names="exercise/_enum_title_nolabel-exercise-0" title="(Test exercise directive)" type="exercise"> | ||
<title> | ||
(Test exercise directive) | ||
<section ids="exercise-content"> | ||
<paragraph> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
Oops, something went wrong.