Merge pull request #12467 from edx/ahodges/xrefs
Updates and corrects href links to readthedocs
This commit is contained in:
@@ -78,7 +78,7 @@ log = logging.getLogger(__name__)
|
||||
|
||||
DOCS_ANCHOR_TAG_OPEN = (
|
||||
"<a target='_blank' "
|
||||
"href='http://edx.readthedocs.org/projects/ca/en/latest/exercises_tools/lti_component.html'>"
|
||||
"href='http://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/exercises_tools/lti_component.html'>"
|
||||
)
|
||||
|
||||
# Make '_' a no-op so we can scrape strings. Using lambda instead of
|
||||
|
||||
@@ -5,18 +5,18 @@ metadata:
|
||||
data: |
|
||||
<problem>
|
||||
<p>
|
||||
Circuit schematic problems allow students to create virtual circuits by
|
||||
arranging elements such as voltage sources, capacitors, resistors, and
|
||||
MOSFETs on an interactive grid. The system evaluates a DC, AC, or
|
||||
Circuit schematic problems allow students to create virtual circuits by
|
||||
arranging elements such as voltage sources, capacitors, resistors, and
|
||||
MOSFETs on an interactive grid. The system evaluates a DC, AC, or
|
||||
transient analysis of the circuit.
|
||||
</p>
|
||||
<p>
|
||||
For more information, see
|
||||
<a href="http://edx.readthedocs.org/projects/edx-partner-course-staff/en/latest/exercises_tools/circuit_schematic_builder.html" target="_blank">
|
||||
For more information, see
|
||||
<a href="http://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/exercises_tools/circuit_schematic_builder.html" target="_blank">
|
||||
Circuit Schematic Builder Problem</a> in <i>Building and Running an edX Course</i>.
|
||||
</p>
|
||||
<p>
|
||||
When you add the problem, be sure to select <strong>Settings</strong>
|
||||
When you add the problem, be sure to select <strong>Settings</strong>
|
||||
to specify a <strong>Display Name</strong> and other values that apply.
|
||||
</p>
|
||||
<p>You can use the following example problems as models.</p>
|
||||
@@ -32,7 +32,7 @@ data: |
|
||||
if response[0] == 'dc':
|
||||
for node in response[1:]:
|
||||
dc_value = node['output']
|
||||
|
||||
|
||||
if dc_value == .5:
|
||||
correct = ['correct']
|
||||
else:
|
||||
@@ -61,14 +61,14 @@ data: |
|
||||
correct = ['incorrect']
|
||||
</answer>
|
||||
</schematicresponse>
|
||||
|
||||
|
||||
<solution>
|
||||
<div class="detailed-solution">
|
||||
<p>Explanation</p>
|
||||
<p>
|
||||
You can form a voltage divider that evenly divides the input
|
||||
voltage with two identically valued resistors, with the sampled
|
||||
voltage taken in between the two.
|
||||
voltage taken in between the two.
|
||||
</p>
|
||||
<p><img src="/static/images/voltage_divider.png" alt=""/></p>
|
||||
<p>
|
||||
|
||||
@@ -4,7 +4,7 @@ metadata:
|
||||
markdown: !!null
|
||||
data: |
|
||||
<problem>
|
||||
<p>
|
||||
<p>
|
||||
In custom Python-evaluated input (also called "write-your-own-grader"
|
||||
problems), the grader uses a Python script that you create and embed in
|
||||
the problem to evaluate a learner's response or provide hints. These
|
||||
@@ -12,7 +12,7 @@ data: |
|
||||
the most common write-your-own-grader problems.
|
||||
</p>
|
||||
<p>
|
||||
You can use script tag format or answer tag format to create these problems.
|
||||
You can use script tag format or answer tag format to create these problems.
|
||||
</p>
|
||||
<p>
|
||||
You can create custom Python-evaluated input problems that provide
|
||||
@@ -20,16 +20,16 @@ data: |
|
||||
also add images to the solution by using an HTML "img" tag. Note that
|
||||
the "img" tag must be between the "div" tags that are inside the
|
||||
"solution" tags, and that learners do not see these images until they
|
||||
click the "Show Answer" button.
|
||||
click the "Show Answer" button.
|
||||
</p>
|
||||
<p> For more information, see <a
|
||||
href="http://edx.readthedocs.org/projects/edx-partner-course-staff/en/latest/exercises_tools/custom_python.html" target="_blank">
|
||||
href="http://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/exercises_tools/custom_python.html" target="_blank">
|
||||
Write-Your-Own-Grader Problem</a> in <i>Building and Running an edX Course</i>.
|
||||
</p>
|
||||
<p>When you add the problem, be sure to select <strong>Settings</strong>
|
||||
</p>
|
||||
<p>When you add the problem, be sure to select <strong>Settings</strong>
|
||||
to specify a <strong>Display Name</strong> and other values that apply.</p>
|
||||
<p>You can use the following example problem as a model.</p>
|
||||
<p>______________________________________________________________________________</p>
|
||||
<hr />
|
||||
|
||||
<script type="loncapa/python">
|
||||
|
||||
@@ -60,9 +60,9 @@ data: |
|
||||
<p>Explanation</p>
|
||||
<p>Any set of integers on the line \(y = 10 - x\) and \(y = 20 - x\) satisfy these constraints.</p>
|
||||
<p>To add an image to the solution, use an HTML "img" tag. Make sure to include alt text.</p>
|
||||
<img src="/static/images/placeholder-image.png" width="400"
|
||||
alt="Description of image, with a primary goal of explaining its
|
||||
relevance to the problem or concept being illustrated for someone
|
||||
<img src="/static/images/placeholder-image.png" width="400"
|
||||
alt="Description of image, with a primary goal of explaining its
|
||||
relevance to the problem or concept being illustrated for someone
|
||||
who is unable to see the image."/>
|
||||
</div>
|
||||
</solution>
|
||||
|
||||
@@ -9,13 +9,13 @@ data: |
|
||||
In drag and drop problems, students respond to a question by dragging text or objects to a specific location on an image.
|
||||
</p>
|
||||
<p>
|
||||
For more information, see
|
||||
<a href="http://edx.readthedocs.org/projects/edx-partner-course-staff/en/latest/exercises_tools/drag_and_drop.html" target="_blank">
|
||||
Drag and Drop Problem</a> in <i>Building and Running an edX Course</i>.</p>
|
||||
<p>When you add the problem, be sure to select <strong>Settings</strong>
|
||||
For more information, see
|
||||
<a href="http://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/exercises_tools/drag_and_drop_deprecated.html" target="_blank">
|
||||
Drag and Drop Problem (Deprecated)</a> in <i>Building and Running an edX Course</i>.</p>
|
||||
<p>When you add the problem, be sure to select <strong>Settings</strong>
|
||||
to specify a <strong>Display Name</strong> and other values that apply.</p>
|
||||
<p>You can use the following example problems as models.</p>
|
||||
<p>_____________________________________________________________________________</p>
|
||||
<hr />
|
||||
<customresponse>
|
||||
<h3>Simple Drag and Drop</h3>
|
||||
<p>Drag each word in the scrollbar to the bucket that matches the number of letters in the word.</p>
|
||||
|
||||
@@ -22,7 +22,7 @@ data: |
|
||||
<p>
|
||||
To create these problems, you use MathJax to change your plain text into
|
||||
"beautiful math." For more information about how to use MathJax in Studio,
|
||||
see <a href="http://edx.readthedocs.org/projects/edx-partner-course-staff/en/latest/exercises_tools/mathjax.html" target="_blank">
|
||||
see <a href="http://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/exercises_tools/mathjax.html" target="_blank">
|
||||
A Brief Introduction to MathJax in Studio</a> in <i>Building and Running an edx
|
||||
Course</i>.
|
||||
</p>
|
||||
|
||||
@@ -9,14 +9,14 @@ data: |
|
||||
problem, students click inside a defined region in an image. You define this
|
||||
region by including coordinates in the body of the problem. You can define
|
||||
one rectangular region, multiple rectangular regions, or one non-rectangular
|
||||
region. For more information, see
|
||||
<a href="http://edx.readthedocs.org/projects/edx-partner-course-staff/en/latest/exercises_tools/image_mapped_input.html" target="_blank">Image Mapped Input
|
||||
region. For more information, see
|
||||
<a href="http://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/exercises_tools/image_mapped_input.html" target="_blank">Image Mapped Input
|
||||
Problem</a> in <i>Building and Running an edx Course</i>.
|
||||
</p>
|
||||
<p>When you add the problem, be sure to select <strong>Settings</strong>
|
||||
<p>When you add the problem, be sure to select <strong>Settings</strong>
|
||||
to specify a <strong>Display Name</strong> and other values that apply.</p>
|
||||
<p>You can use the following example problem as a model.</p>
|
||||
|
||||
|
||||
<p>What country is home to the Great Pyramid of Giza as well as the cities
|
||||
of Cairo and Memphis? Click the country on the map below.</p>
|
||||
<imageresponse>
|
||||
|
||||
@@ -14,18 +14,19 @@ data: |
|
||||
edX grading system.
|
||||
</p>
|
||||
<p>
|
||||
The JS Input problem that you create must use HTML, JavaScript, and cascading
|
||||
style sheets (CSS). You can use any application creation tool, such as the
|
||||
Google Web Toolkit (GWT), to create your JS Input problem.
|
||||
The JS Input problem that you create must use HTML, JavaScript, and
|
||||
cascading style sheets (CSS). You can use any application creation tool,
|
||||
such as the Google Web Toolkit (GWT), to create your JS Input problem.
|
||||
</p>
|
||||
<p>
|
||||
For more information, see
|
||||
<a href="http://edx.readthedocs.org/projects/edx-partner-course-staff/en/latest/exercises_tools/custom_javascript.html" target="_blank">
|
||||
<p>
|
||||
For more information, see
|
||||
<a href="http://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/exercises_tools/custom_javascript.html" target="_blank">
|
||||
Custom JavaScript Problem</a> in <i>Building and Running an edX Course</i>.
|
||||
</p>
|
||||
<p>JavaScript developers should also see <a href="http://edx.readthedocs.org/projects/edx-developer-guide/en/latest/extending_platform/javascript.html" target="_blank">
|
||||
<p>JavaScript developers can also see
|
||||
<a href="http://edx.readthedocs.io/projects/edx-developer-guide/en/latest/extending_platform/javascript.html" target="_blank">
|
||||
Custom JavaScript Applications</a> in the <i>EdX Developer's Guide</i>.</p>
|
||||
<p>When you add the problem, be sure to select <strong>Settings</strong>
|
||||
<p>When you add the problem, be sure to select <strong>Settings</strong>
|
||||
to specify a <strong>Display Name</strong> and other values that apply.</p>
|
||||
<p>You can use the following example problem as a model.</p>
|
||||
|
||||
@@ -52,7 +53,7 @@ data: |
|
||||
'''
|
||||
]]>
|
||||
</script>
|
||||
<p>In the following image, click the objects until the cone is yellow
|
||||
<p>In the following image, click the objects until the cone is yellow
|
||||
and the cube is blue.</p>
|
||||
<customresponse cfn="vglcfn">
|
||||
<jsinput gradefn="WebGLDemo.getGrade"
|
||||
|
||||
@@ -89,11 +89,11 @@ metadata:
|
||||
data: |
|
||||
<?xml version="1.0"?>
|
||||
<problem showanswer="closed" rerandomize="never" weight="10" display_name="lec1_Q2">
|
||||
<p>If you have a problem that is already written in LaTeX, you can use this problem type to
|
||||
easily convert your code into XML. After you paste your code into the LaTeX editor,
|
||||
<p>If you have a problem that is already written in LaTeX, you can use this problem type to
|
||||
easily convert your code into XML. After you paste your code into the LaTeX editor,
|
||||
you only need to make a few minor adjustments.</p>
|
||||
<p>For more information, see
|
||||
<a href="http://edx.readthedocs.org/projects/edx-partner-course-staff/en/latest/exercises_tools/problem_in_latex.html" target="_blank">
|
||||
<p>For more information, see
|
||||
<a href="http://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/exercises_tools/problem_in_latex.html" target="_blank">
|
||||
Problem Written in LaTeX</a> in <i>Building and Running an edX Course</i>.</p>
|
||||
<p>You can use the following example problems as models.</p>
|
||||
<p><strong>Example Option Problem</strong></p>
|
||||
@@ -225,4 +225,4 @@ data: |
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
</problem>
|
||||
</problem>
|
||||
|
||||
@@ -12,12 +12,12 @@ metadata:
|
||||
|
||||
>>How many miles away from Earth is the sun? Use scientific notation to answer.<<
|
||||
|
||||
= 9.3*10^7
|
||||
or= 9.296*10^7
|
||||
= 9.3*10^7
|
||||
or= 9.296*10^7
|
||||
|
||||
>>The square of what number is -100?<<
|
||||
|
||||
= 10*i
|
||||
= 10*i
|
||||
|
||||
[explanation]
|
||||
The sun is 93,000,000, or 9.3*10^7, miles away from Earth.
|
||||
@@ -32,12 +32,10 @@ data: |
|
||||
that learners can see below the response field.</p>
|
||||
|
||||
<p>The system can handle several types of characters, including basic
|
||||
operators, fractions, exponents, and common constants such as i. You can
|
||||
refer learners to
|
||||
<a href="http://edx.readthedocs.org/projects/edx-guide-for-students/en/latest/SFD_mathformatting.html" target="_blank">
|
||||
Entering Mathematical and Scientific Expressions</a> in the <i>edX Guide for
|
||||
Students</i> for information about how to enter text into the field.</p>
|
||||
<p>When you add the problem, be sure to select <strong>Settings</strong>
|
||||
operators, fractions, exponents, and common constants such as i. You can
|
||||
refer learners to
|
||||
<a href="http://edx.readthedocs.io/projects/edx-guide-for-students/en/latest/completing_assignments/SFD_mathformatting.html#math-formatting" target="_blank">Entering Mathematical and Scientific Expressions</a> in the <i>EdX Learner's Guide</i> for information about how to enter text into the field.</p>
|
||||
<p>When you add the problem, be sure to select <strong>Settings</strong>
|
||||
to specify a <strong>Display Name</strong> and other values that apply.</p>
|
||||
|
||||
<p>You can use the following example problems as models.</p>
|
||||
@@ -57,4 +55,4 @@ data: |
|
||||
<p>-100 is the square of 10 times the imaginary number, i.</p>
|
||||
</div>
|
||||
</solution>
|
||||
</problem>
|
||||
</problem>
|
||||
|
||||
Reference in New Issue
Block a user