.. _contributing_docs: ************************************* Documentation Contribution Guidelines ************************************* Documentation Overview ====================== Most development starts with a GitHub Issue-- see more about issues `here `_. The documentation consists of the documentation pages (like this one) and inline code documentation to generate the code reference. The documentation pages can be found in ``science_jubilee/docs/source``. We use `Sphinx `_ to generate the documentation, which in turn uses the ReStructured Text markup language. The inline code can be found immediately after all functions in the ``science_jubilee`` package. This page provides information on how the documentation is organized and how it can be modified. To make and submit changes to the documentation, please follow the same steps outlined in the Code Contribution Guidelines. Building the Docs ----------------- All of the packages neccessary to build the documentation are specified in ``setup.py``, so you should be immediately able to build the documentation. To do so, ensure the virtual environment is activated. Then, :: cd docs make html You can preview the changes in the ``build/html`` folder; the build folder is added to ``.gitignore`` by default which means this won't be added to the repository. Adding New pages ---------------- If you are adding new documentation pages, make sure to add a label at the top of your new ``.rst`` file like so:: .. _