-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update markdown styling for all markdown files
Remove README under tests/.
- Loading branch information
Showing
11 changed files
with
351 additions
and
536 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
EMMO use cases | ||
============== | ||
This demo contains two use cases on how EMMO can be used to achieve | ||
vertical and horizontal interpoerability, respectivily. | ||
# EMMO use cases | ||
|
||
> **WARNING**: This demonstration is still work in progress. Especially documentation is lacking. | ||
This demo contains two use cases on how EMMO can be used to achieve vertical and horizontal interpoerability, respectivily. | ||
|
||
!!! warning | ||
This demonstration is still work in progress. | ||
Especially documentation is lacking. | ||
|
||
Content | ||
------- | ||
* [Vertical interoperability](vertical/README.md) | ||
* [Horizontal interoperability](horizontal/README.md) | ||
## Content | ||
|
||
- [Vertical interoperability](vertical/README.md). | ||
- [Horizontal interoperability](horizontal/README.md). | ||
|
||
The user case - welding an aluminium plate to steel | ||
=================================================== | ||
## The user case - welding an aluminium plate to steel | ||
|
||
FIXME - add an overall description of the user case here... | ||
<!-- FIXME - add an overall description of the user case here... --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,68 @@ | ||
Generate documentation for EMMO | ||
=============================== | ||
This directory contains the needed templates, introductory text and | ||
figures for generating the full EMMO documentation using `ontodoc`. | ||
Since the introduction is written in markdown, pandoc is required for | ||
both pdf and html generation. | ||
# Generate documentation for EMMO | ||
|
||
For a standalone html documentation including all inferred relations, | ||
enter this directory and run | ||
This directory contains the needed templates, introductory text and figures for generating the full EMMO documentation using `ontodoc`. | ||
Since the introduction is written in markdown, pandoc is required for both pdf and html generation. | ||
|
||
ontodoc --template=emmo.md --format=html emmo-inferred emmo.html | ||
For a standalone html documentation including all inferred relations, enter this directory and run: | ||
|
||
Pandoc options may be adjusted with the files | ||
[pandoc-args.yaml](pandoc-args.yaml) and | ||
[pandoc-html-args.yaml](pandoc-html-args.yaml). | ||
```console | ||
ontodoc --template=emmo.md --format=html emmo-inferred emmo.html | ||
``` | ||
|
||
Similarly, for generating pdf documentation, enter this directory and run | ||
Pandoc options may be adjusted with the files [pandoc-args.yaml](pandoc-args.yaml) and [pandoc-html-args.yaml](pandoc-html-args.yaml). | ||
|
||
ontodoc --template=emmo.md emmo-inferred emmo.pdf | ||
Similarly, for generating pdf documentation, enter this directory and run: | ||
|
||
By default, we have configured pandoc to use xelatex for better unicode | ||
support. It is possible to change these settings in | ||
[pandoc-options.yaml](pandoc-options.yaml) and | ||
[pandoc-pdf-options.yaml](pandoc-pdf-options.yaml). | ||
```console | ||
ontodoc --template=emmo.md emmo-inferred emmo.pdf | ||
``` | ||
|
||
By default, we have configured pandoc to use xelatex for better unicode support. | ||
It is possible to change these settings in [pandoc-options.yaml](pandoc-options.yaml) and [pandoc-pdf-options.yaml](pandoc-pdf-options.yaml). | ||
|
||
## Content of this directory | ||
|
||
Content of this directory | ||
------------------------- | ||
### `ontodoc` templates with introductory text and document layout | ||
* [emmo.md](emmo.md): Main template for EMMO. It includes the other | ||
templates. | ||
* [introduction.md](introduction.md): Introductory text. | ||
* [relations.md](relations.md): Introduction and sections for Relations | ||
chapter. | ||
* [classes.md](classes.md): Introduction and sections for Classes | ||
* [figs](figs): Figures used in the introduction. | ||
|
||
* [emmo.md](emmo.md): Main template for EMMO. | ||
It includes the other templates. | ||
* [introduction.md](introduction.md): Introductory text. | ||
* [relations.md](relations.md): Introduction and sections for Relations chapter. | ||
* [classes.md](classes.md): Introduction and sections for Classes. | ||
* [figs](figs): Figures used in the introduction. | ||
|
||
### `pandoc` configuration files | ||
* [emmodoc-meta.yaml](emmodoc-meta.yaml): Metadata for EMMO, like title, | ||
authers, abstract, etc. | ||
* [pandoc-options.yaml](pandoc-options.yaml): General pandoc options. | ||
* [pandoc-html-options.yaml](pandoc-html-options.yaml): Additional pandoc options | ||
for html generation. | ||
* [pandoc-pdf-options.yaml](pandoc-pdf-options.yaml): Additional pandoc options | ||
for pdf generation. | ||
* [pandoc-html.css](pandoc-html.css): css file used for html generation. | ||
* [pandoc-template.html](pandoc-template.html): Modified copy of the | ||
standard pandoc html template with a small adjustment for the author list. | ||
* [pandoc-template.tex](pandoc-template.tex): Modified copy of the | ||
standard pandoc latex template with a small adjustment for the author list. | ||
|
||
|
||
Using this example as a starting point for documenting your own ontology | ||
------------------------------------------------------------------------ | ||
For simple html documentation, you can skip all input files and simply | ||
run `ontodoc` as | ||
|
||
ontodoc --format=simple-html YOUR_ONTO.owl YOUR_ONTO.html | ||
|
||
It is also possible to include ontodoc templates using the --template | ||
option for adding additional information and structure the document. | ||
In this case the template may only contain `ontodoc` pre-processer | ||
directives and inline html, but not markdown. | ||
|
||
In order to produce output in pdf (or any other output format supported | ||
by pandoc), you can write your `ontodoc` template in markdown (with | ||
`ontodoc` pre-processer directives) and follow these steps to get started: | ||
|
||
* Copy all the files starting with `pandoc-` to a new directory. | ||
* Create a metadata yaml file for your ontology. You can use | ||
[emmodoc-meta.yaml](emmodoc-meta.yaml) as a template. | ||
* Update [pandoc-options.yaml](pandoc-options.yaml). Especially change: | ||
- `input-files` to the name of your new yaml metadata file | ||
- `logo` to the path of your logo (or remove it) | ||
- `titlegraphic` to the path of your title figure (or remove it) | ||
* Optionally add `ontodoc` template files with additional information | ||
about your ontology and document layout. | ||
|
||
That should be it. Good luck! | ||
|
||
* [emmodoc-meta.yaml](emmodoc-meta.yaml): Metadata for EMMO, like title, authers, abstract, etc. | ||
* [pandoc-options.yaml](pandoc-options.yaml): General pandoc options. | ||
* [pandoc-html-options.yaml](pandoc-html-options.yaml): Additional pandoc options for html generation. | ||
* [pandoc-pdf-options.yaml](pandoc-pdf-options.yaml): Additional pandoc options for pdf generation. | ||
* [pandoc-html.css](pandoc-html.css): css file used for html generation. | ||
* [pandoc-template.html](pandoc-template.html): Modified copy of the standard pandoc html template with a small adjustment for the author list. | ||
* [pandoc-template.tex](pandoc-template.tex): Modified copy of the standard pandoc latex template with a small adjustment for the author list. | ||
|
||
## Using this example as a starting point for documenting your own ontology | ||
|
||
For simple html documentation, you can skip all input files and simply run `ontodoc` as | ||
|
||
```console | ||
ontodoc --format=simple-html YOUR_ONTO.owl YOUR_ONTO.html | ||
``` | ||
|
||
It is also possible to include ontodoc templates using the `--template` option for adding additional information and structure the document. | ||
In this case the template may only contain `ontodoc` pre-processer directives and inline html, but not markdown. | ||
|
||
In order to produce output in pdf (or any other output format supported by pandoc), you can write your `ontodoc` template in markdown (with `ontodoc` pre-processer directives) and follow these steps to get started: | ||
|
||
* Copy all the files starting with `pandoc-` to a new directory. | ||
* Create a metadata YAML file for your ontology. | ||
You can use [emmodoc-meta.yaml](emmodoc-meta.yaml) as a template. | ||
* Update [pandoc-options.yaml](pandoc-options.yaml). | ||
Especially change: | ||
* `input-files` to the name of your new yaml metadata file. | ||
* `logo` to the path of your logo (or remove it). | ||
* `titlegraphic` to the path of your title figure (or remove it). | ||
* Optionally add `ontodoc` template files with additional information about your ontology and document layout. | ||
|
||
That should be it. | ||
Good luck! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.