Skip to content

Commit

Permalink
docs: Fix up aliases that got renamed.
Browse files Browse the repository at this point in the history
These aliases got renamed in the source file so update them where they
are referenced.
  • Loading branch information
feanil committed Dec 19, 2023
1 parent 622d49a commit 64fff3c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions docs/xblock-tutorial/concepts/fields.rst
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,9 @@ You can customize the OLX representation of the XBlock by using the
Field Requirements in the edX Platform
**************************************

For information about field requirements in the edX Platform, see :ref:`edX LMS
<EdX Learning Management System as an XBlock Runtime>` and
:ref:`edX Studio <EdX Studio as an XBlock Runtime>`.
For information about field requirements in the edX Platform, see :ref:`Open edX LMS
<Open edX Learning Management System as an XBlock Runtime>` and
:ref:`Open edX Studio <Open edX Studio as an XBlock Runtime>`.

******************************
Default Fields in a New XBlock
Expand Down
22 changes: 11 additions & 11 deletions docs/xblock-tutorial/concepts/methods.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ XBlock.
.. contents::
:local:
:depth: 1

.. _View Methods:

************
Expand All @@ -22,15 +22,15 @@ the XBlock.

An XBlock can have multiple view methods. For example, an XBlock might have a
student view for rendering the XBlock for learners, and an editing view for
rendering the XBlock to course staff.
rendering the XBlock to course staff.

.. note::
The XBlock view names are specified by runtime applications; you cannot use
arbitrary view names.
.. note::
The XBlock view names are specified by runtime applications; you cannot use
arbitrary view names.

For information about the view requirements in the edX Platform, see :ref:`edX
LMS <EdX Learning Management System as an XBlock Runtime>` and
:ref:`edX Studio <EdX Studio as an XBlock Runtime>`.
For information about the view requirements in the edX Platform, see :ref:`Open edX
LMS <Open edX Learning Management System as an XBlock Runtime>` and
:ref:`Open edX Studio <Open edX Studio as an XBlock Runtime>`.

Typically, you define a view to produce a fragment that is used to render the
XBlock as part of a web page. Fragments are aggregated hierarchically. You can
Expand Down Expand Up @@ -104,12 +104,12 @@ Default Methods in a New XBlock
When you create a new XBlock, two methods are added automatically.

* The view method ``student_view``.

You can modify the contents of this view, but to use your XBlock with the edX
Platform, you must keep the method name ``student_view``.

* The handler method ``increment_count``.
* The handler method ``increment_count``.

This method is for demonstration purposes and you can remove it.


Expand Down
4 changes: 2 additions & 2 deletions docs/xblock-tutorial/concepts/runtimes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ XBlock Runtimes
###############

An XBlock runtime is the application that hosts XBlock. For example, the XBlock
SDK, the :ref:`edX LMS <EdX Learning Management System as an XBlock Runtime>`,
and :ref:`edX Studio <EdX Studio as an XBlock Runtime>` are all XBlock runtime
SDK, the :ref:`Open edX LMS <Open edX Learning Management System as an XBlock Runtime>`,
and :ref:`Open edX Studio <Open edX Studio as an XBlock Runtime>` are all XBlock runtime
applications. You can also render an individual XBlock in HTML with the XBlock
URL.

Expand Down

0 comments on commit 64fff3c

Please sign in to comment.