Skip to content

Commit 8ed80f3

Browse files
committed
add the instruction of using a diagram plugin
1 parent 50d775d commit 8ed80f3

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@ $ dita install net.infotexture.dita-bootstrap
1616

1717
Please note that the order of installation is crucial on some systems. If you fail to follow this exact order when installing the plugins, you may need to uninstall all of them and start again.
1818

19-
3. Generate a website for the documents. If `dita` is in your `$PATH`, you can do this:
19+
3. Install a dita diagram plugin. This has to be installed manually, by copying the folder `com.oxygenxml.diagrams.svg` to your dita installation location's `plugins` directory, then install it with
2020

21-
````
22-
$ dita --project config/smartlayer-docsite.yaml -o out/document.smartlayer.network
23-
````
21+
```
22+
$ dita --install
23+
```
24+
25+
It should prompt that plugin `com.oxygenxml.diagrams.svg` is successfully installed.
2426

25-
If `dita` is installed in a different location, for example `/home/christoph/dita-ot-4.1/bin/dita`, use this command:
27+
3. Generate a website for one of the document projects. For example, `config/smartlayer-docsite.yaml`:
2628

2729
````
28-
$ /home/christoph/dita-ot-4.1/bin/dita --project config/tokenscript-docsite.yaml
30+
$ dita --project config/smartlayer-docsite.yaml -o out/document.smartlayer.network
2931
````
30-
3132
This will create a website in the `out/` directory.
3233

3334
## Document Structure

0 commit comments

Comments
 (0)