Learn how to use Cozy, host your own server and develop applications.
This documentation is built with MkDocs.
To edit the documentation, just edit the files inside src
.
If you want to see your updates, install mkdocs:
pip install --user mkdocs
Fetch external documentation and add it to mkdocs.yml (do not commit this the changes in References
) :
./fetch.sh
pip install -r requirements.txt
python add_external_docs.py
Expected python version is 2.7.10
Run MkDocs:
mkdocs serve
And point your favorite browser to http://127.0.0.1:8000/
External documentations are listed in the OUTSIDE_DOCS file. They are consolidated in this documentation during build. This lets developers edit their documentation in their repository while the single site makes it convenient to search for information only in one location.
Each repository maintains its own table of contents, which controls what is shown under the References menu.
See ./fetch.sh, ./build.sh, and ./add_external_docs.py scripts for more information.
The documentation is built automatically by Travis
- when the
dev
is pushed - every day (since we cannot detect changes in external documentations)
After the build, it is available on https://docs.cozy.io/.
To test the whole site:
rm -rf docs/*
cp index.html docs/
mkdocs build -f mkdocs.yml
cd site/
python -m SimpleHTTPServer