Skip to content

Commit 6deec5f

Browse files
authored
Merge pull request #584 from RocketPy-Team/doc/landing-page
DOC: change rocketpy landing page to standard code docs.
2 parents 224e255 + 1be4b29 commit 6deec5f

File tree

11 files changed

+235
-30
lines changed

11 files changed

+235
-30
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4747
- MNT: refactor u_dot parachute method [#596](https://github.com/RocketPy-Team/RocketPy/pull/596)
4848
- BLD: Change setup.py to pyproject.toml [#589](https://github.com/RocketPy-Team/RocketPy/pull/589)
4949
- DEP: delete deprecated rocketpy.tools.cached_property [#587](https://github.com/RocketPy-Team/RocketPy/pull/587)
50+
- DOC: Change rocketpy Landing Page to Standard Code docs [#584](https://github.com/RocketPy-Team/RocketPy/pull/584)
5051
- ENH: Flight simulation speed up [#581] (https://github.com/RocketPy-Team/RocketPy/pull/581)
5152
- MNT: Modularize Rocket Draw [#580](https://github.com/RocketPy-Team/RocketPy/pull/580)
5253
- DOC: Improvements of Environment docstring phrasing [#565](https://github.com/RocketPy-Team/RocketPy/pull/565)

docs/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"sphinx_design",
4242
"jupyter_sphinx",
4343
"nbsphinx",
44-
"m2r2",
4544
]
4645

4746
# source_suffix = '.rst'
@@ -96,7 +95,7 @@
9695
# relative to this directory. They are copied after the builtin static files,
9796
# so a file named "default.css" will overwrite the builtin "default.css".
9897
html_static_path = ["static"]
99-
html_css_files = ["notebooks.css"]
98+
html_css_files = ["rocketpy.css"]
10099
html_favicon = "static/favicon.ico"
101100
html_theme_options = {
102101
"logo_link": "index",

docs/index.rst

Lines changed: 87 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,92 @@
1-
.. RocketPy documentation master file, created by
2-
sphinx-quickstart on Wed Mar 4 06:03:53 2020.
3-
You can adapt this file completely to your liking, but it should at least
4-
contain the root `toctree` directive.
1+
######################
2+
RocketPy Documentation
3+
######################
4+
5+
**Version**: |release|
6+
7+
**Useful links**:
8+
`Installation <https://docs.rocketpy.org/en/latest/user/installation.html>`_ |
9+
`Source Repository <https://github.com/RocketPy-Team/RocketPy>`_ |
10+
`Issue Tracker <https://github.com/RocketPy-Team/RocketPy/issues>`_ |
11+
`Q&A Support <https://discord.gg/b6xYnNh>`_ |
12+
13+
RocketPy is the next-generation trajectory simulation solution for High-Power Rocketry. The code is written as a Python library and allows for a complete 6 degrees of freedom simulation of a rocket's flight trajectory, including high-fidelity variable mass effects as well as descent under parachutes. Weather conditions, such as wind profiles, can be imported from sophisticated datasets, allowing for realistic scenarios. Furthermore, the implementation facilitates complex simulations, such as multi-stage rockets, design and trajectory optimization and dispersion analysis.
14+
15+
.. grid:: 2
16+
17+
.. grid-item-card::
18+
:img-top: ./static/landing_images/getting_started.svg
19+
20+
Getting started
21+
^^^^^^^^^^^^^^^
22+
23+
Simulating your first rocket? Check out the Beginner's Guide. It contains an
24+
introduction to RocketPy main concepts and walks you through the process of
25+
setting up a simulation.
26+
27+
+++
28+
29+
.. button-ref:: user/first_simulation
30+
:expand:
31+
:color: secondary
32+
:click-parent:
33+
34+
To the beginner's guide
35+
36+
.. grid-item-card::
37+
:img-top: ./static/landing_images/user_guide.svg
38+
39+
User guide
40+
^^^^^^^^^^
41+
42+
The user guide provides in-depth information on
43+
RocketPy functionalities with useful background information and explanation.
44+
45+
+++
46+
47+
.. button-ref:: user/index
48+
:expand:
49+
:color: secondary
50+
:click-parent:
51+
52+
To the user guide
53+
54+
.. grid-item-card::
55+
:img-top: ./static/landing_images/api.svg
56+
57+
API reference
58+
^^^^^^^^^^^^^
59+
60+
The reference guide contains a detailed description of RocketPy modules. Here it is described how the methods work and which parameters can be used. It assumes that you already have an understanding of key concepts.
61+
62+
+++
63+
64+
.. button-ref:: reference/index
65+
:expand:
66+
:color: secondary
67+
:click-parent:
68+
69+
To the reference guide
70+
71+
.. grid-item-card::
72+
:img-top: ./static/landing_images/contributor.svg
73+
74+
Contributor's guide
75+
^^^^^^^^^^^^^^^^^^^
76+
77+
Want to contribute to RocketPy source code? The contributing guidelines will guide you through the process of improving RocketPy.
78+
79+
+++
80+
81+
.. button-ref:: development/index
82+
:expand:
83+
:color: secondary
84+
:click-parent:
85+
86+
To the contributor's guide
587

688
.. toctree::
7-
:maxdepth: 4
89+
:maxdepth: 1
890
:hidden:
991

1092
User Guide <user/index>
@@ -13,11 +95,3 @@
1395
Technical <technical/index>
1496
Flight Examples <examples/index>
1597

16-
.. mdinclude:: ../README.md
17-
18-
Indices and tables
19-
==================
20-
21-
* :ref:`genindex`
22-
* :ref:`modindex`
23-
* :ref:`search`

docs/requirements.in

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
nbsphinx==0.9.4
22
pydata-sphinx-theme==0.15.2
3-
m2r2==0.3.3.post2
43
jupyter-sphinx==0.5.3
54
sphinx_design==0.5.0
65
ipykernel==6.29.4
76
pandas==2.2.2
8-
lxml_html_clean==0.1.1
9-
docutils==0.20.1
7+
lxml_html_clean==0.1.1

docs/requirements.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ defusedxml==0.7.1
4040
# via nbconvert
4141
docutils==0.20.1
4242
# via
43-
# -r docs/requirements.in
44-
# m2r2
4543
# nbsphinx
4644
# pydata-sphinx-theme
4745
# sphinx
@@ -100,8 +98,6 @@ lxml==5.2.2
10098
# nbconvert
10199
lxml-html-clean==0.1.1
102100
# via -r docs/requirements.in
103-
m2r2==0.3.3.post2
104-
# via -r docs/requirements.in
105101
markupsafe==2.1.5
106102
# via
107103
# jinja2
@@ -111,9 +107,7 @@ matplotlib-inline==0.1.7
111107
# ipykernel
112108
# ipython
113109
mistune==0.8.4
114-
# via
115-
# m2r2
116-
# nbconvert
110+
# via nbconvert
117111
nbclient==0.10.0
118112
# via nbconvert
119113
nbconvert==6.5.4

0 commit comments

Comments
 (0)