diff --git a/.travis.yml b/.travis.yml index 89f566a..52dbde4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,4 +37,4 @@ deploy: bucket: "com.ossez.docs" skip_cleanup: true local_dir: build/asciidoc/html5 - upload-dir: akka-docs + upload-dir: protocol-buffers-docs diff --git a/build.gradle b/build.gradle index 6031d0a..be60c3c 100644 --- a/build.gradle +++ b/build.gradle @@ -7,14 +7,10 @@ apply plugin: 'java' version = '1.0.0' asciidoctor { - def source = project.sourceSets.main.java.srcDirs[0] + def build = file('build.gradle') - // add extra inputs since these include files that are included - inputs.dir source - - attributes 'build-gradle': file('build.gradle'), - 'sourcedir': source, + attributes 'build-gradle': build, 'endpoint-url': 'https://docs.ossez.com', 'source-highlighter': 'coderay', 'imagesdir': 'images', diff --git a/src/docs/asciidoc/index.adoc b/src/docs/asciidoc/index.adoc new file mode 100644 index 0000000..a6b9ba1 --- /dev/null +++ b/src/docs/asciidoc/index.adoc @@ -0,0 +1,8 @@ += Protocol Buffers 文档 +YuCheng Hu +:doctype: book +:page-layout: docs +:page-description: Protocol Buffers +:page-keywords: Protocol Buffers + +Protocol Buffers 相关文档的内容。