summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliang gao <jean.gaoliang@huawei.com>2016-07-25 03:09:00 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-25 03:09:00 +0000
commit0601ffdc51c813cbfbeb6dfdf9ec654ef0438c1b (patch)
treeb82ae8b8a6a64b8f64b7e9affbcc691dbc5dab07
parente19b546f69f8d59204f669c5d637d434c833fc09 (diff)
parent7bd5e5cf241af264fee181adc50ed3a110db13a6 (diff)
Merge "[docs] pre-hook for apidocs"
-rw-r--r--.gitignore2
-rw-r--r--docs/pre-hook.sh11
2 files changed, 12 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 6f462f55a..4843ba8ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,4 +28,4 @@ cover/
.*.sw?
/docs_build/
/docs_output/
-/releng/
+/docs/apidocs/yardstick*.rst
diff --git a/docs/pre-hook.sh b/docs/pre-hook.sh
new file mode 100644
index 000000000..4ecdb198e
--- /dev/null
+++ b/docs/pre-hook.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2016 NEC and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+sphinx-apidoc -o docs/apidocs yardstick