8000 Merge pull request #1 from ev3dev-lang-java/develop · ev3dev-lang-java/docs@efdd250 · GitHub
[go: up one dir, main page]

Skip to content

Commit efdd250

Browse files
authored
Merge pull request #1 from ev3dev-lang-java/develop
Develop
2 parents 2f68eaf + 819fa45 commit efdd250

File tree

130 files changed

+3565
-495
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+3565
-495
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.idea
22
*.iml
3-
.gradle
43
build
5-
4+
.gradle
1 Byte
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#Tue Apr 24 08:13:58 BST 2018
2+
gradle.version=4.7

README.adoc

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
This is the repository about the documentation about the project.
3+
4+
## Local development
5+
6+
To test in local, in the terminal view of Intellij execute:
7+
8+
[source]
9+
----
10+
./gradlew -t asciidoctor
11+
----
12+
13+
Later, create another terminal tab and execute:
14+
15+
[source]
16+
----
17+
./gradlew livereload
18+
----
19+
20+
Finally, create another terminal to serve the contents:
21+
22+
[source]
23+
----
24+
python -m SimpleHTTPServer 8000
25+
----
26+
27+
If you open the document in a Web browser with the live reload plugin, you could see the changes.
28+
29+
[source]
30+
----
31+
http://localhost:8000/build/docs/html5/
32+
----

README.md

Expand all lines: README.md
Lines changed: 0 additions & 22 deletions
This file was deleted.

architecture/index.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

build.gradle

Lines changed: 53 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,57 @@
1-
buildscript {
2-
repositories {
3-
jcenter()
1+
plugins {
2+
id 'org.asciidoctor.convert' version '1.5.3'
3+
id 'org.kordamp.gradle.livereload' version '0.2.1'
4+
}
5+
6+
apply plugin: 'org.asciidoctor.convert'
7+
apply plugin: 'org.kordamp.gradle.livereload'
8+
9+
asciidoctorj {
10+
version = '1.5.5'
11+
}
12+
13+
//Wrapper
14+
task wrapper(type: Wrapper) {
15+
description = 'Generates gradlew[.bat] scripts'
16+
gradleVersion = '4.7'
17+
}
18+
19+
asciidoctor {
20+
description = project.description
21+
logDocuments = true
22+
backends 'html5'
23+
sourceDir = file('src/main/asciidoc')
24+
sources {
25+
include '**/*.adoc'
426
}
5-
dependencies {
6-
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.0'
27+
resources {
28+
from(sourceDir) {
29+
include '**/*.png'
30+
include '**/*.jpg'
31+
include '**/*.java'
32+
}
33+
into '.'
734
}
35+
attributes 'icons': 'font',
36+
'title': project.name,
37+
'revnumber': '0.8.0',
38+
'toc': 'left',
39+
'toc-title':'Table of Contents',
40+
'encoding': 'utf-8',
41+
'linkcss': true,
42+
'idprefix':'',
43+
'idseparator':'-',
44+
'numbered': true,
45+
'linkattrs': true,
46+
//'source-highlighter': 'highlightjs',
47+
'source-highlighter': 'prettify'
48+
//'docinfodir': 'docinfo',
49+
//'docinfo': 'shared'
50+
outputDir = file('build/docs')
851
}
952

10-
apply plugin: "org.asciidoctor.gradle.asciidoctor"
53+
defaultTasks 'asciidoctor'
54+
55+
liveReload {
56+
docRoot asciidoctor.outputDir.canonicalPath
57+
}

compatibility/index.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

getting_started/brick.md

Lines changed: 0 additions & 140 deletions
This file was deleted.

getting_started/index.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

getting_started/laptop.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

gradle/wrapper/gradle-wrapper.jar

53.5 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Sat Jun 24 19:24:17 BST 2017
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-all.zip

0 commit comments

Comments
 (0)
0