Skip to content

Commit

Permalink
Merge pull request #711 from RocketPy-Team/doc/env-example-build
Browse files Browse the repository at this point in the history
DOC: Fix docs References and Examples Build.
  • Loading branch information
phmbressan authored Oct 10, 2024
2 parents 156aaa5 + 26e0a43 commit 2b63cd9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/reference/classes/sensors/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Sensor Classes
Accelerometer Class <accelerometer>
Barometer Class <barometer>
Gyroscope Class <gyroscope>
GNSS Receiver Class <gnss>
GNSS Receiver Class <gnss_receiver>
6 changes: 3 additions & 3 deletions docs/user/environment/0-setup/elevation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ It is integrated with RocketPy and can be used as follows.

First, initialize a new Environment:

.. jupyter-execute::
.. code-block:: python
env = Environment(
date=(2019, 2, 10, 18),
Expand All @@ -45,13 +45,13 @@ First, initialize a new Environment:
Then, set the elevation using Open-Elevation:

.. jupyter-execute::
.. code-block:: python
env.set_elevation("Open-Elevation")
To get information from the Environment, use the following method:

.. jupyter-execute::
.. code-block:: python
env.prints.launch_site_details()
Expand Down
2 changes: 1 addition & 1 deletion docs/user/environment/1-atm-models/soundings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ We will use the same sounding station as we did for the Wyoming Soundings.

Initialize a new Environment instance:

.. jupyter-execute::
.. code-block:: python
url = r"https://rucsoundings.noaa.gov/get_raobs.cgi?data_source=RAOB&latest=latest&start_year=2019&start_month_name=Feb&start_mday=5&start_hour=12&start_min=0&n_hrs=1.0&fcst_len=shortest&airport=83779&text=Ascii%20text%20%28GSD%20format%29&hydrometeors=false&start=latest"
Expand Down

0 comments on commit 2b63cd9

Please sign in to comment.