2018-09-13 14:40:29 -07:00
# Slim Bootloader Documentation
2019-04-23 17:29:36 -07:00
This documentation is written in RST (ReStructuredText) format and can be built into web pages using Sphinx rendered with an HTML theme (sphinx-rtd-theme).
2018-09-13 14:40:29 -07:00
## Philosophy
2019-04-23 17:29:36 -07:00
This documentation is meant to help someone who is new to Slim Bootloader project and interested in getting started with the code.
2018-09-13 14:40:29 -07:00
## Getting Started
In order to build the web site content from the source code, install additional python packages:
`pip install sphinx docutils sphinx-rtd-theme sphinxcontrib-websupport`
To make public content:
`make html`
The generated HTML file is located in 'build'.
## Review Your Changes
2019-04-23 17:29:36 -07:00
1. Start a Python HTTP server from the documentation repo's root folder
2018-09-13 14:40:29 -07:00
2019-04-23 17:29:36 -07:00
`cd <documentation repo root folder>`
2020-06-15 21:50:30 -07:00
For Python 2 do `python -m SimpleHTTPServer` , for Python 3 do `python -m http.server`
2018-09-13 14:40:29 -07:00
2022-09-13 08:17:44 -07:00
2. Open your browser to load HTML page from http://localhost:8000/build/html
2018-09-13 14:40:29 -07:00
## Submit changes (for contributors)
Follow the github workflow to submit your pull request.
## Diving In
If you are not familiar with RST and Sphinx, start with https://restructuredtext.readthedocs.io/en/latest/index.html
With that, start with any file with .rst extension.
## License
See LICENSE file
## Technical Writer's Guide
* Technical details only. Focus on "how it works".
* Make every subject short and practical
* Focus on design schemes but also make it convenient like recipes