Skip to content

Commit 1711356

Browse files
committed
Generate HTML from AsciiDoc sources with Gradle
See README.md for details.
1 parent 05425b8 commit 1711356

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Gradle
2+
.gradle
3+
build
4+
15
# IDEA
26
.idea
37
*.iml

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
= Bisq Network Documentation
2+
3+
These are the sources for the docs hosted at https://docs.bisq.network.
4+
5+
To build these docs locally, clone this repository and run
6+
7+
./gradlew build
8+
9+
Then open `build/asciidoc/html5/index.html` in your browser.

build.gradle

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
plugins {
2+
id 'org.asciidoctor.convert' version '1.5.3'
3+
}
4+
5+
asciidoctor {
6+
sourceDir = file('.')
7+
8+
resources {
9+
from(sourceDir) {
10+
include '**/*.png'
11+
}
12+
}
13+
14+
attributes 'source-highlighter': 'coderay',
15+
toc : 'left',
16+
sectanchors : '',
17+
idprefix : '',
18+
idseparator : '-'
19+
}
20+
21+
build.dependsOn asciidoctor

index.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
= The Bisq Network Manual
2+
ifdef::env-github,env-browser[:outfilesuffix: .adoc]
3+
4+
- link:dao/phase-zero{outfilesuffix}[Phase Zero]
5+
- link:exchange/howto/list-asset.adoc[How to list an asset]

0 commit comments

Comments
 (0)