Kylo documents are stored in a separate project and are published to ReadTheDocs
Below is the link to the test site
http://kylo-docs-test.readthedocs.io/en/latest/index.html
The documents are created using the RestructuredText format
http://docutils.sourceforge.net/docs/user/rst/quickstart.html
- You create or edit a document
- Build and test the HTML file locally
- Commit the file to Github
- ReadTheDocs uses a Github hook to trigger a build on commit
$ brew install python
$ sudo pip install sphinx
$ sudo pip install sphinx-autobuild
$ sudo pip install sphinx_rtd_theme
Download Pandoc
The open source application Pandoc is useful for this conversion. Download the appropriate Pandoc package from https://github.com/jgm/pandoc/releases/tag/1.19.1 . Install Pandoc
Use Homebrew and run this command:
$ homebrew: brew install pandoc
There are two methods for creating new documents.
- Create a word document and convert to RST.
- Start from RST directly.
- Author a word document.
- Run Pandoc to convert.
$ pandoc -f docx NameofFile.docx -t rst -o NameofFile.rst
- Once the new .rst file is created, all additional editing is done in that file using reStructuredText syntax.
- Run "make html" to rebuild the HTML locally.
- View the index.html file in the _build folder to view the local build.
- Commit and push your changes
- Create an RST document by making a new file with the "rst" extension.
- Run "make html" to rebuild the HTML locally.
- View the index.html file in the _build folder to view the local build.
- Commit and push your changes