Newer
Older
Generate gazelle framework documentation from markdown files.
This project generates static website (using jekyll) and PDF documents (oudated).
## Build and preview website with Docker
It requires Docker and docker-compose installed.
```bash
docker-compose up --build
```
Document is then available at <http://localhost:1080/gazelle-documentation/>
```bash
sudo apt-get install make git git-svn texlive-xetex pandoc ruby-dev
```
Then, from `gazelle-dev-documentation` folder run to install some more libs and required gems
### Generate the documents and the website
```bash
make
```
### Generate all the documents and start Jekyll (do not use in production)
```shell
make view
```
### Generate the PDF version of the release note
```shell
make release-notes
```
## Folder structure
gazelle-documentation
|
+--tool1
| |--installation.md
| |--Makefile
| |--media/
| |--user.md
| | |--1_0_0.md (one file per release, named with version identifier)
| |--target/ (Created at compile time)
|
+--tool2
| |--installation.md
| |--Makefile
| |--media/
| |--user.md
| | |--1_0_0.md (one file per release, named with version identifier)
| |--target/ (Created at compile time)
|
|
+--Makefile.generic
+--Makefile
+--target/ (Created at compile time)
## Markdown files
The source files use the Markdown language.
To get fancy final documents, you need:
* A YAML header containing all the requested metadata (see YAML section)
* Use Relative paths to pictures (eg. *“./media/mypicture.jpg”*)
* Use Relative paths to point the resources located on the same platform (eg. If you need to reference a page in your tool, start the URL at *“/theTool”*)
The YAML header is used by Jekyll and pandoc to generate menus and front pages, make sure all the metadata are present and up-to-date. The *.md files must start with the YAML header.
The YAML header is used by Jekyll and pandoc to generate menus and front pages, make sure all the metadata are present and up-to-date. The *.md files must start with the YAML header.
http://pandoc.org/
[Pandoc installation package](https://github.com/jgm/pandoc/releases/tag/1.17.2)
http://blog.cigrainger.com/2014/07/pandoc-markdown.html