Contributing to the Documentation#
Thank you for your interest in improving the Solar Orbiter Data Documentation!
There are several ways to contribute:
Update documentation: Fix typos, improve explanations, or add useful links.
Add gallery examples: Contribute Python scripts demonstrating Solar Orbiter data analysis.
Request new examples: Suggest examples you’d like to see.
Report issues: Found a problem or missing information? Open an issue on GitHub.
Requesting an Example or Reporting an Issue#
If you have an idea for a new example or a problem with the documentation, open an issue on GitHub: GitHub Issues
- When submitting an issue, please include:
A short description of the example you’d like to see.
If possible, links to related data or papers.
Getting Started with Contributions#
This documentation is hosted on GitHub. To make changes, follow these steps:
Fork the repository on GitHub: Solar Orbiter Docs Repository
Clone your fork:
git clone https://github.com/YOUR_USERNAME/solar-orbiter-docs.git cd solar-orbiter-docs
To install dependencies locally, run:
pip install -r requirements.txt
Create a new branch for your changes:
git checkout -b update-docs
Make edits to the docs/ folder (e.g., update .rst files, add gallery examples).
Test your changes locally:
cd docs make clean make html
Open _build/html/index.html in a browser to check your updates.
Commit and push your changes:
git add . git commit -m "Update documentation" git push origin update-docs
Open a Pull Request on GitHub.
For guidance on using GitHub, see the Creating a pull request guide.
Adding an Example to the Gallery#
To contribute an example to the Example Gallery, follow these steps:
Create a Python script in examples/ (e.g., examples/my_example.py).
The script should include:
A docstring explaining its purpose.
A plot or output using matplotlib, sunpy, or other relevant libraries.
Example format:
""" Example: Plotting Solar Orbiter EUI Data """ import sunpy.map import matplotlib.pyplot as plt # Load example EUI data my_map = sunpy.map.Map("path/to/eui_data.fits") # Plot the map my_map.plot() plt.show()
Add your script to the gallery:
Place it inside examples/
It will automatically appear in the Example Gallery after merging.
Adding Useful Links#
If you know of useful Solar Orbiter-related sites, add them to index.rst under the Useful Links section.
Example:
`Solar Orbiter Science Nuggets <https://www.cosmos.esa.int/web/solar-orbiter/science-nuggets>`__
—
Technical Details#
This documentation is built using Sphinx and PyData Sphinx Theme.
Builds are automatically deployed via Read the Docs.