This is the official Conio SDK documentation repository for both platforms Android and iOS.
The whole documentation is written in Markdown and the documentation site is generated through MkDocs.
In order to correctly maintain and update the documentation, you need to install and setup MkDocs
.
-
Install Brew
-
Install Pip
2.1
brew install python
2.2
brew unlink python && brew link python
-
Install Python3 with
brew install python3
-
Upgrade Pip with
pip3 install --upgrade pip
-
Install MkDocs with
pip3 install mkdocs
-
Install MkDocs Material Extensions with
python3 -m pip install mkdocs-material-extensions
-
Install mkdocs-i18n for internationalization with
pip install mkdocs-i18n
-
Install mkdocs-pdf-export-plugin (NB: it requires other dependencies as described here)
-
Check to see if Python3 is installed on the system (the python3 program corresponds to Python 3 and python corresponds to Python 2):
$ which python3 /usr/bin/python3 $ python3 --version Python 3.4.2
If necessary, install Python:
$ sudo apt-get install python3
-
Check to see if Pip: is installed
$ which pip3 /usr/bin/pip3 $ pip3 --version pip 1.5.6 from /usr/lib/python3/dist-packages (python 3.4)
If pip3 is not installed, install it:
$ sudo apt-get install python3-pip
-
Install MkDocs with
$ pip3 install mkdocs
-
Install MkDocs Material Extensions with
$ pip3 install mkdocs-material
-
Install mkdocs-i18n for internationalization with
$ pip3 install mkdocs-i18n
-
Install mkdocs-pdf-export-plugin (NB: it requires other dependencies as described here)
Please refer to official MkDocs documentation to update and/or modify generated site settings/layout and to MkDocs Material theme to customize theme.
MkDocs comes with a built-in dev-server that lets you preview your documentation as you work on it.
Simply run mkdocs serve
from root folder and go here.
The dev-server also supports auto-reloading, and will rebuild your documentation whenever anything in the configuration file, documentation directory, or theme directory changes.
If you add new *.md
files, you will need to execute mkdocs build
in order to generate new pages, check here for more info.
Once docs are updated and pushed to repository, you will need to deploy the new site with mkdocs gh-deploy --force
command.
Check your changes visiting https://sdk-docs.conio.com/
- Matteo Gazzato - matteo.gazzato@conio.com
- Giovanni Di Donato - giovanni@conio.com