Skip to content

Commit 13e66f6

Browse files
DOC: fix minor documentation issues
1 parent 45c758b commit 13e66f6

File tree

13 files changed

+24
-20
lines changed

13 files changed

+24
-20
lines changed

docs/conf.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,6 @@
123123
"github_url": "https://github.com/RocketPy-Team/RocketPy",
124124
"navbar_end": ["theme-switcher", "navbar-icon-links.html"],
125125
"icon_links": [
126-
{
127-
"name": "GitHub",
128-
"url": "https://github.com/RocketPy-Team/RocketPy/",
129-
"icon": "fa-brands fa-square-github",
130-
"type": "fontawesome",
131-
},
132126
{
133127
"name": "LinkedIn",
134128
"url": "https://www.linkedin.com/company/rocketpy/",

docs/examples/cavour_flight_sim.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@
320320
"cell_type": "markdown",
321321
"metadata": {},
322322
"source": [
323-
"# Flight Simulation DATA"
323+
"## Flight Simulation DATA"
324324
]
325325
},
326326
{
@@ -375,7 +375,7 @@
375375
"cell_type": "markdown",
376376
"metadata": {},
377377
"source": [
378-
"# Data analysis"
378+
"## Data analysis"
379379
]
380380
},
381381
{

docs/examples/halcyon_flight_sim.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@
448448
"cell_type": "markdown",
449449
"metadata": {},
450450
"source": [
451-
"# Flight Simulation Data"
451+
"## Flight Simulation Data"
452452
]
453453
},
454454
{
@@ -503,7 +503,7 @@
503503
"cell_type": "markdown",
504504
"metadata": {},
505505
"source": [
506-
"# Data analysis"
506+
"## Data analysis"
507507
]
508508
},
509509
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Sensor Class
22
------------
33

4-
.. autoclass:: rocketpy.sensors.Barometer
4+
.. autoclass:: rocketpy.sensors.Sensor
55
:members:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Accelerometer Class
2-
---------------
2+
-------------------
33

44
.. autoclass:: rocketpy.sensors.Accelerometer
55
:members:

docs/reference/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ This reference manual details functions, modules, methods and attributes include
1414
classes/Components
1515
classes/Rocket
1616
classes/Parachute
17+
classes/sensors/index.rst
1718
classes/Flight
1819
Utilities <classes/utils/index>
1920
classes/EnvironmentAnalysis

docs/user/rocket/generic_surface.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ rocket's configuration:
289289
rocket.add_surfaces(generic_surface, position=(0,0,0))
290290
291291
The position of the generic surface is defined in the User Defined coordinate
292-
System, see :ref:`rocketaxes` for more information.
292+
System, see :ref:`rocket_axes` for more information.
293293

294294
.. tip::
295295
If defining the coefficients of the entire rocket is desired, only a single

rocketpy/rocket/rocket.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,7 +1739,7 @@ def add_cm_eccentricity(self, x, y):
17391739
17401740
See Also
17411741
--------
1742-
:ref:`rocketaxes`
1742+
:ref:`rocket_axes`
17431743
17441744
Notes
17451745
-----
@@ -1777,7 +1777,7 @@ def add_cp_eccentricity(self, x, y):
17771777
17781778
See Also
17791779
--------
1780-
:ref:`rocketaxes`
1780+
:ref:`rocket_axes`
17811781
"""
17821782
self.cp_eccentricity_x = x
17831783
self.cp_eccentricity_y = y
@@ -1807,7 +1807,7 @@ def add_thrust_eccentricity(self, x, y):
18071807
18081808
See Also
18091809
--------
1810-
:ref:`rocketaxes`
1810+
:ref:`rocket_axes`
18111811
"""
18121812
self.thrust_eccentricity_y = x
18131813
self.thrust_eccentricity_x = y

rocketpy/sensors/accelerometer.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ def __init__(
8888
Sample rate of the sensor in Hz.
8989
orientation : tuple, list, optional
9090
Orientation of the sensor in the rocket. The orientation can be
91-
given as:
91+
given as either:
92+
9293
- A list of length 3, where the elements are the Euler angles for
9394
the rotation yaw (ψ), pitch (θ) and roll (φ) in radians. The
9495
standard rotation sequence is z-y-x (3-2-1) is used, meaning the
@@ -99,6 +100,7 @@ def __init__(
99100
of reference is defined as to have z axis along the sensor's normal
100101
vector pointing upwards, x and y axes perpendicular to the z axis
101102
and each other.
103+
102104
The rocket frame of reference is defined as to have z axis
103105
along the rocket's axis of symmetry pointing upwards, x and y axes
104106
perpendicular to the z axis and each other. A rotation around the x
@@ -204,6 +206,7 @@ def measure(self, time, **kwargs):
204206
Current time in seconds.
205207
kwargs : dict
206208
Keyword arguments dictionary containing the following keys:
209+
207210
- u : np.array
208211
State vector of the rocket.
209212
- u_dot : np.array

rocketpy/sensors/barometer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def measure(self, time, **kwargs):
144144
Current time in seconds.
145145
kwargs : dict
146146
Keyword arguments dictionary containing the following keys:
147+
147148
- u : np.array
148149
State vector of the rocket.
149150
- u_dot : np.array

0 commit comments

Comments
 (0)