Skip to content

Commit 18d6571

Browse files
committed
Fix inappropriate uses of single backticks
See #74
1 parent 4e2ee43 commit 18d6571

File tree

7 files changed

+15
-14
lines changed

7 files changed

+15
-14
lines changed

programming/advanced-loading/virtual-file-system.rst

+5-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ archives as a directory hierarchy.
2222
Panda3D offers a replacement for the Python file module that supports the
2323
virtual file system. You can find it in :py:mod:`direct.stdpy.file`.
2424
The interface is exactly the same as Python's, so it's safe to put this
25-
import above all the files where you want to use the `open` function:
25+
import above all the files where you want to use the :func:`open()` function:
2626

2727
.. code-block:: python
2828
@@ -33,9 +33,10 @@ archives as a directory hierarchy.
3333
system, and it also better-supports Panda's SIMPLE_THREADS model, by avoiding
3434
blocking all threads while waiting for I/O to complete.
3535

36-
Besides the `open()` call, this module also contains replacements for various
37-
other functions provided by the Python `os` and `os.path` modules. See the
38-
:py:mod:`API reference page <direct.stdpy.file>` for a full listing.
36+
Besides the :py:func:`~direct.stdpy.file.open()` call, this module also
37+
contains replacements for various other functions provided by the Python
38+
:py:mod:`os` and :py:mod:`os.path` modules.
39+
See the :py:mod:`API reference page <direct.stdpy.file>` for a full listing.
3940

4041

4142
.. note:: This section is incomplete.

programming/hardware-support/mouse-support.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ wheel_up Mouse Wheel rolled upwards
6868
wheel_down Mouse Wheel rolled downwards
6969
========== ============================
7070

71-
If you want to hide the mouse cursor, you want the line: `cursor-hidden true` in
72-
your :ref:`Config.prc <configuring-panda3d>` or this section of code:
71+
If you want to hide the mouse cursor, you want the line: ``cursor-hidden true``
72+
in your :ref:`Config.prc <configuring-panda3d>` or this section of code:
7373

7474
.. only:: python
7575

programming/networking/distributed/distributed-object.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Zones are just numbers that have to be set on a :term:`DO` and a client needs to
1616
show interest in them to be able to see objects in them.
1717
In addition, objects that a client doesn't own can't be updated by that client.
1818
Only the object's owner can change fields in it, except if they are specially
19-
marked with the `clsend` keyword in the DC definition file.
19+
marked with the ``clsend`` keyword in the DC definition file.
2020

2121
Most DOs will have a basic class definition (eg. "Foo") and an AI definition
2222
which would be called "FooAI". The Foo class will be used on clients and the

programming/physics/ode/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ More information
2626
----------------
2727

2828
- The :mod:`panda3d.ode` page in the API Reference can list the classes and
29-
methods available (all of the classes are prefixed with `Ode`), although the
29+
methods available (all of the classes are prefixed with ``Ode``), although the
3030
function descriptions are lacking. It might also be useful to look at the
3131
`PyODE API reference <http://pyode.sourceforge.net/api-1.2.0/public/ode-module.html>`__,
3232
which uses very similar class and method names.

programming/scene-graph/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ the renderer until it is inserted into the tree.
1818
The tree consists of objects of class :class:`~.PandaNode`. This is actually a
1919
superclass for a number of other classes: :class:`~.ModelNode`,
2020
:class:`~.GeomNode`, :class:`~.LightNode`, and so forth. Throughout this manual,
21-
it is common for us to refer to objects of these classes as simply `nodes`, and
21+
it is common for us to refer to objects of these classes as simply *nodes*, and
2222
the tree that is being made up by these nodes is known as the *scene graph*.
2323

2424
There may be many scene graphs in an application. In fact, any tree of

reference/builtins.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Built-in Global Variables
3030
.. py:data:: base
3131
3232
A global instance of the :py:class:`~direct.showbase.ShowBase.ShowBase`
33-
class is available to any Python scope as `base`. This allows access to
33+
class is available to any Python scope as ``base``. This allows access to
3434
the graphical display, the scene graph, the input devices, the task and
3535
event managers, and all the other things that ShowBase is responsible for
3636
setting up and managing.
@@ -104,9 +104,9 @@ Built-in Global Variables
104104
.. py:data:: camera
105105
106106
A node that is set up with the camera used to render the default 3-D scene
107-
graph (`render`) attached to it. This is the node that should be used to
108-
manipulate this camera, but please note that it is necessary to first call
109-
:py:meth:`base.disableMouse()
107+
graph (:py:data:`render`) attached to it. This is the node that should be
108+
used to manipulate this camera, but please note that it is necessary to
109+
first call :py:meth:`base.disableMouse()
110110
<direct.showbase.ShowBase.ShowBase.disableMouse>` to ensure that the
111111
default mouse controller releases its control of the camera.
112112

tools/model-export/egg-syntax.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ Materials
499499
~~~~~~~~~
500500

501501
This defines a set of material attributes that may later be referenced with
502-
`<MRef> { name }`::
502+
``<MRef> { name }``::
503503

504504
<Material> name {
505505
[scalars]

0 commit comments

Comments
 (0)