Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
AyhamAl-Ali committed Jul 31, 2021
1 parent 84f14fb commit 0ef7336
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ generate <expressions/effects/events/types/functions> <loop template file> - Gen
content - In template.html, marks the point where other file is placed
```

## Generating the documentation

## How to generate the documentations

1. You will need to create `doc-templates/` directory in `Skript` directory containing all the template files located [here](https://github.com/SkriptLang/Skript/tree/master/docs)
2. Execute the command `/sk gen-docs`
3. A new `docs/` directory will be created _(if not created already)_ in `Skript` directory containing all the website files
4. Open `index.html` and browse the documentations

1. You will need to create a directory named `doc-templates` in `plugins/Skript`, and copy everything from [here](https://github.com/SkriptLang/Skript/tree/master/docs) into the directory.
2. Execute the command `/sk gen-docs`.
3. The `docs/` directory will be created _(if not created already)_ in `plugin/Skript` containing the website's files.
4. Open `index.html` and browse the documentation.
2 changes: 1 addition & 1 deletion docs/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ table {

.item-title > a {
text-decoration: none;
font-size: 80%;
font-size: 100%;
}

.item-content {
Expand Down

0 comments on commit 0ef7336

Please sign in to comment.