Skip to content

Commit

Permalink
Create structure for new operations doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregwilmer committed Aug 2, 2017
1 parent 8322249 commit b5e2308
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 1 deletion.
18 changes: 17 additions & 1 deletion symmetric-assemble/asciidoc.gradle
Expand Up @@ -91,6 +91,17 @@ task generateDocs(type: Copy) {
'scmVersion' : scmVersion
])
}

into('html') {
from ("$buildDir/src/asciidoc/html5/operations") { include "operations.html" }
filter(org.apache.tools.ant.filters.ReplaceTokens, tokens: [
'appVersion': version,
'appMajorVersion': version.substring(0, version.lastIndexOf(".")),
'buildTime': new java.text.SimpleDateFormat('yyyy-MM-dd HH:mm:ss').format(new java.util.Date()),
'scmVersion' : scmVersion
])

}

into('pdf') {
from ("$buildDir/src/asciidoc/pdf") { include "user-guide.pdf" }
Expand All @@ -99,6 +110,10 @@ task generateDocs(type: Copy) {
into('pdf') {
from ("$buildDir/src/asciidoc/pdf/tutorials") { include "tutorials.pdf" }
}

into('pdf') {
from ("$buildDir/src/asciidoc/pdf/operations") { include "operations.pdf" }
}

doFirst {
println "Deleting $destinationDir.path"
Expand Down Expand Up @@ -134,7 +149,8 @@ asciidoctor { (1)
doctype: 'book',
sourceDocumentNames: [
symAssembleDir + 'user-guide.ad',
symAssembleDir + 'tutorials/tutorials.ad']
symAssembleDir + 'tutorials/tutorials.ad',
symAssembleDir + 'operations/operations.ad']
]
attributes = [
'source-highlighter':'coderay',
Expand Down
28 changes: 28 additions & 0 deletions symmetric-assemble/src/asciidoc/operations/operations.ad
@@ -0,0 +1,28 @@
:toc: left
:toclevels: 3
:imagesdir: ../images
:icons: font
:source-highlighter: coderay
:linkattrs:
:relpathprefix: '../'
:numbered:

ifdef::pro[]
= SymmetricDS Pro @appMajorVersion@ Operations Guide
endif::pro[]

ifndef::pro[]
= SymmetricDS @appMajorVersion@ Operations Guide
endif::pro[]



Copyright (C) 2007-2017 JumpMind, Inc

Version @appVersion@

_Permission to use, copy, modify, and distribute this SymmetricDS Operations Guide
for any purpose and without fee is hereby granted in perpetuity, provided that
the above copyright notice and this paragraph appear in all copies._

include::troubleshooting.ad[]
3 changes: 3 additions & 0 deletions symmetric-assemble/src/asciidoc/operations/troubleshooting.ad
@@ -0,0 +1,3 @@
== Troubleshooting

This is the troubleshooting section of the guilde.

0 comments on commit b5e2308

Please sign in to comment.