Developing¶
Documentation¶
Building¶
Go to the root folder and run
./release_doc.sh
this creates a python virtual environment and installs all dependent packages.
The virtualenv can be found in
docs/build/.env
Writing¶
- For setup have a look at _BUILDINGDOC the documentation
- Once setup you, activate this environment for convenience
source docs/build/.env/bin/activate
- Change the files in
docs/source
- run
make html
from the docs directory
Review your documentation¶
Run a local webserver in the background
cd docs/build/html/ python -m SimpleHTTPServer 8000 & cd -
Open your browser and navigate to http://localhost:8000
After each build refresh your browser to see the latest content
When finished, shut down the webserver
# list the processes running in the background jobs # remember the number infront of the python -m SimpleHttpServer command fg <remembered number> # now hit ctrl+c to stop the server
Automatic Building on change¶
Once setup you, activate this environment for convenience
source docs/build/.env/bin/activate
Start automatic build when editing a documentation if you want to see the latest changes in the browser
watchmedo shell-command ./source/ --pattern '*.rst' --recursive --command 'make html' --ignore-patterns="*/.*" --wait
when finished hit ctrl+c to stop the file watcher
Lemur Tutorials¶
iOS Basic Introduction