Skip to content

Commit 8a497d7

Browse files
committed
Update to newer myst-parser.
1 parent d29d924 commit 8a497d7

File tree

14 files changed

+36
-42
lines changed

14 files changed

+36
-42
lines changed

requirements.txt

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
Sphinx>=3.5.4
1+
Sphinx>=4.3
22
sphinx-intl>=2.0.1
33
sphinx-rtd-theme>=0.5.2
44
git+https://github.com/overte-org/video.git
55

6-
#Because of a bug in myst-parser, we require a version *before* 0.17.0. See https://github.com/executablebooks/MyST-Parser/issues/519#issuecomment-1044450711
7-
myst-parser>=0.14.0, <0.17.0
8-
9-
# myst-parser < 0.17.2 requires attrs but the package doesn't depend on it.
10-
attrs
11-
12-
# ReadTheDocs indirectly depends on some too new extension versions. Upgrading myst-parser later should fix this.
13-
sphinxcontrib-applehelp<=1.0.4
14-
sphinxcontrib-devhelp<=1.0.5
15-
sphinxcontrib-htmlhelp<=2.0.4
16-
sphinxcontrib-serializinghtml<=1.1.9
17-
sphinxcontrib-qthelp<=1.0.6
6+
myst-parser>=2.0.0
187

198
# Utility for easily running builds in Python virtual environments.
209
venv-run

source/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
extensions = [
4242
'myst_parser', 'sphinxcontrib.video'
4343
]
44+
# Myst-parser throws "local id not found" warnings on perfectly valid links to RST sections.
45+
# Unfortunately, this also silences the working "cross-reference target not found" warnings.
46+
suppress_warnings = ["myst.xref_missing"]
47+
48+
myst_heading_anchors = 3
4449

4550
# Add any paths that contain templates here, relative to this directory.
4651
templates_path = ['_templates']

source/create/entities/add-sounds.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ In this example, we will walk through the steps to create a bouncing ball that e
1313

1414
1. Create a wall to bounce your ball off of:
1515
1. [Add a cube entity](create-entities) to your domain.
16-
2. [Resize the entity](entity-appearance.html#set-the-size-of-an-entity) to approximately 10m wide, 10m high and 1m deep (X:10, Y:10, Z:1).
17-
2. Create a ball by [adding a sphere entity](create-entities) to your domain. Optionally, [change the color](entity-appearance.html#change-the-color-of-an-entity) of your ball, so that it is different than your wall.
16+
2. [Resize the entity](entity-appearance.rst#set-the-size-of-an-entity) to approximately 10m wide, 10m high and 1m deep (X:10, Y:10, Z:1).
17+
2. Create a ball by [adding a sphere entity](create-entities) to your domain. Optionally, [change the color](entity-appearance.rst#change-the-color-of-an-entity) of your ball, so that it is different than your wall.
1818
3. In the **Create** app, click on 'Properties' and scroll down to the 'Collision' settings. Check the box for 'Collides' and 'Dynamic'.
1919
4. For 'Collision Sound', enter the URL of your sound file. The sound must be a *.wav* file, uncompressed, 48Khz, 16 bit. The URL can be either a web address, or an ATP reference to the assets on this domain server.
2020
5. Scroll down to the 'Physics' settings. Set the 'Gravity' for Y to -5. This will cause your ball to fall a little more slowly than things on earth (use -9.8 if you want that). Gravity is in units of m/s<sup>2</sup>.
@@ -23,7 +23,7 @@ As soon as you click off the ball, the gravity will cause the ball to fall downw
2323

2424
**See Also**
2525

26-
+ [Set Entity Behavior on Collision](entity-behavior.html#set-entity-behavior-on-collision)
27-
+ [Set How an Entity Moves in a Gravitational Field](entity-physics.html#set-how-an-entity-moves-in-a-gravitational-field)
26+
+ [Set Entity Behavior on Collision](entity-behavior.rst#set-entity-behavior-on-collision)
27+
+ [Set How an Entity Moves in a Gravitational Field](entity-physics.rst#set-how-an-entity-moves-in-a-gravitational-field)
2828

2929

source/create/entities/avatar-interactions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
In real life, you interact with objects on a daily basis. In Overte, your avatar can also interact with objects (entities) in the metaverse. There are a number of ways you can define the interactions you have with objects: you can write scripts to change the properties of an entity. You can create entities that are unique to your avatar (we call these "avatar entities"). And don't forget that you can set an entity's behavior and collision properties, so that objects are grabbable, triggerable, or dynamic.
44

55
**On This Page:**
6-
+ [Control Interactions with Entities using Scripts](#control-interactions-with-entities-using-Scripts)
6+
+ [Control Interactions with Entities using Scripts](#control-interactions-with-entities-using-scripts)
77
+ [Create Avatar Entities](#create-avatar-entities)
88

99
## Control Interactions with Entities using Scripts
@@ -43,11 +43,11 @@ A full range of entity parameters are controllable with these functions. Entitie
4343

4444
Your avatar will also interact with avatar entities. Avatar entities are entities that are attached to your avatar, and unlike domain entities, they travel with your avatar when you go to other domains. Examples of avatar entities include wearables such as glasses or hats.
4545

46-
Avatar entities live on the [Avatar Mixer](../../explore/get-started/architecture.html#assignment-clients), so they are connected to (and move with) your avatar. We've listed the ways you can create avatar entities with some examples:
46+
Avatar entities live on the [Avatar Mixer](../../explore/get-started/architecture.rst#assignment-clients), so they are connected to (and move with) your avatar. We've listed the ways you can create avatar entities with some examples:
4747
4848
1. [Create a wearable:](../wearables) All wearables are avatar entities.
49-
2. [Clone as an avatar entity:](entity-behavior.html#make-an-entity-cloneable) When you clone an entity as an avatar entity, you make a copy of the entity and attach it to your avatar. Every copy of that entity will now leave with the avatar when they leave the domain. For example, if you have a coffee shop in your domain, you can set all coffee cups to be cloned as avatar entities. Any user who clones a coffee cup will take the avatar entity with them when they exit the domain. You can keep your domain free of clutter using this property.
50-
3. Add an avatar entity using a script: You can add an avatar entity using scripts. For example, you can create a script to have a pet (avatar entity) follow you around as you explore Overte.
49+
2. [Clone as an avatar entity:](entity-behavior.rst#make-an-entity-cloneable) When you clone an entity as an avatar entity, you make a copy of the entity and attach it to your avatar. Every copy of that entity will now leave with the avatar when they leave the domain. For example, if you have a coffee shop in your domain, you can set all coffee cups to be cloned as avatar entities. Any user who clones a coffee cup will take the avatar entity with them when they exit the domain. You can keep your domain free of clutter using this property.
50+
3. Add an avatar entity using a script: You can add an avatar entity using scripts. For example, you can create a script to have a pet (avatar entity) follow you around as you explore Overte.
5151
5252
This example script adds a cube as an avatar entity to your domain.
5353
```

source/create/entities/create-entities.md

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ You can choose from the following entity types:
3535

3636
**See Also**
3737

38-
+ [The Create App](../tools.html#the-create-app)
38+
+ [The Create App](../tools.rst#the-create-app)
3939
+ [Add a Material Entity](material-entity)
4040
+ [Change How Entities Look](entity-appearance)
4141
+ [Import Your 3D Model](../3d-models/import-model)

source/create/entities/create-spotlight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In this tutorial, you will learn how light entities work by creating a gold spot
44

55
**On This Page:**
66

7-
+ [Prerequisites](#prerequisities)
7+
+ [Prerequisites](#prerequisites)
88
+ [Create a Wall to Shine the Light On](#create-a-wall-to-shine-the-light-on)
99
+ [Create the Gold Spotlight](#create-the-gold-spotlight)
1010

source/create/entities/display-youtube.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ In this tutorial, you will learn how web entities work by creating one displayin
44

55
**On This Page:**
66

7-
- [Prerequisites](#prerequisities)
7+
- [Prerequisites](#prerequisites)
88
- [Create a Web Entity](#create-a-web-entity)
9-
- [Display Vircadia's YouTube Channel](#display-vircadia-s-youtube-channel)
9+
- [Display Overte's YouTube Channel](#display-overtes-youtube-channel)
1010

1111
## Prerequisites
1212

@@ -29,13 +29,13 @@ To create a web entity:
2929
<p>Currently, only 20 web entities can run at the same time in a domain to avoid performance issues. </p>
3030
</div>
3131

32-
## Display Vircadia's YouTube Channel
32+
## Display Overte's YouTube Channel
3333

34-
You can make the web entity display Vircadia's YouTube channel.
34+
You can make the web entity display Overte's YouTube channel.
3535

36-
1. In Interface, pull up your HUD or Tablet and go to **Create**.
36+
1. In Interface, pull up your HUD or Tablet and go to **Create**.
3737
2. Select your web entity and go to the 'Properties' tab.
38-
3. Scroll down until you see the 'Source URL' option. Enter the Vircadia YouTube channel URL: https://www.youtube.com/channel/UC5gVObAP0ANbXr-lNCjP3xg. You should see the new page as soon as you hit 'Enter'.
38+
3. Scroll down until you see the 'Source URL' option. Enter the Overte YouTube channel URL: https://www.youtube.com/@Overte-ru3ey. You should see the new page as soon as you hit 'Enter'.
3939

4040
![](_images/source-url.PNG)
4141
![](_images/youtube-web-entity.PNG)

source/create/entities/portal-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The portal.js script we've used:
3636

3737
## Create and Edit an Entity to Use as a Portal
3838

39-
Any entity you create to be used as a portal has to be [collisionless](entity-behavior.html#set-entity-behavior-on-collision) so that the script can detect when you walk into the entity.
39+
Any entity you create to be used as a portal has to be [collisionless](entity-behavior.rst#set-entity-behavior-on-collision) so that the script can detect when you walk into the entity.
4040

4141
1. In Interface, pull up your HUD or Tablet and go to **Create**.
4242
2. [Create an entity](create-entities) to be used as a portal. This can be a 3D model or a box or sphere entity.

source/explore/interact.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ You can collide (or run into) objects and other avatars in Overte. Likewise, obj
3131

3232
Without this collision property set, objects will move straight through other entities and avatars. As you interact with your environment, take note on which objects have collisions enabled based on whether or not you can walk through them.
3333

34-
When creating your own entities, you can [set the Collision property](../create/entities/entity-behavior.html#entity-collision-behavior) to turn on or off collisions.
34+
When creating your own entities, you can [set the Collision property](../create/entities/entity-behavior.rst#entity-collision-behavior) to turn on or off collisions.
3535

3636
## Triggered Entities
3737

source/explore/personalize/install-apps.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ We've listed some of the apps we created and how you can use them.
5454
### Spectator Cam
5555
The Spectator Camera is a camera you can use to record or livestream what you and your friends do in Overte. It is only available in HMD mode, and requires a recording software such as [Open Broadcaster Software (OBS)](https://obsproject.com/) to work correctly. Check out their [official overview guide](https://obsproject.com/forum/threads/official-overview-guide.402/) for more details.
5656

57-
[Use the instructions above](#install-an-app) to install the Spectator Camera app.
57+
[Use the instructions above](#install-tablet-apps) to install the Spectator Camera app.
5858

5959
<div class="admonition note">
6060
<p class="admonition-title">Note</p>
@@ -71,7 +71,7 @@ To use the Spectator Camera app:
7171

7272
### Finger Painting
7373

74-
The Fingerpaint app lets your paint your environment, your own avatar, or even another user's avatar. [Use the instructions above](#install-an-app) to install the Fingerpaint app.
74+
The Fingerpaint app lets your paint your environment, your own avatar, or even another user's avatar. [Use the instructions above](#install-tablet-apps) to install the Fingerpaint app.
7575

7676
To use the Fingerpaint app:
7777
1. In Interface, pull up your HUD or Tablet and go to **Body Paint**.
@@ -84,7 +84,7 @@ To use the Fingerpaint app:
8484

8585
The Text to Speech app synthesizes the text you type into speech. You can use this app if you don't wish to use your voice, have microphone issues, or have disabilities.
8686

87-
[Use the instructions above](#install-an-app) to install the Text to Speech app.
87+
[Use the instructions above](#install-tablet-apps) to install the Text to Speech app.
8888

8989
<div class="admonition note">
9090
<p class="admonition-title">Note</p>

0 commit comments

Comments
 (0)