third_party.pigweed.src/docs/BUILD.gn
Alexei Frolov 8ffcb91912 Documentation for docgen
This change adds documentation for the pw_docgen module describing how
to use it to build documentation for Pigweed projects.

Change-Id: Ia8bb57d26b96f748adc021cc86f0a16865611295
2019-11-25 22:49:59 +00:00

35 lines
941 B
Plaintext

# Copyright 2019 The Pigweed Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
import("$dir_pw_docgen/docs.gni")
pw_doc_group("core_docs") {
sources = [
"embedded_cpp_guide.rst",
"style_guide.rst",
]
}
pw_doc_gen("docs") {
conf = "conf.py"
index = "index.rst"
output_directory = target_gen_dir
deps = [
":core_docs",
"$dir_pw_bloat:docs",
"$dir_pw_docgen:docs",
"$dir_pw_preprocessor:docs",
]
}