https://github.com/codemonstur/slate4j
A maven plugin for generating slate documentation
https://github.com/codemonstur/slate4j
Last synced: 23 days ago
JSON representation
A maven plugin for generating slate documentation
- Host: GitHub
- URL: https://github.com/codemonstur/slate4j
- Owner: codemonstur
- License: mit
- Created: 2019-12-24T10:54:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-27T20:06:10.000Z (over 1 year ago)
- Last Synced: 2025-07-06T06:19:27.231Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 213 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/codemonstur/slate4j/releases)
[](http://mvnrepository.com/artifact/com.github.codemonstur/slate4j)
[](https://opensource.org/licenses/mit-license.php)
# Slate4j
Produces an HTML file that looks similar and has the same functionality as slate.
The output isn't exactly the same but is close enough to work with.
These are the known changes and issues:
- The search icon isn't there
- The syntax highlighting works with a different library and in a different way
- Images are inlined
- It is not possible to override all the code the way you can in slate
The big benefit of this code is that it is nothing more than a self contained maven plugin.
No need to install ruby or node or mess around with docker trying to get the original slate to work.
## Configuration
Add this to the pom:
```
com.github.codemonstur
slate4j
0.1.0
generate-resources
compile
```
Slate4j will read slate markdown from `src/main/docs/index.html.md`.
And generate output in `target/classes/docs/index.html`.