Alexei Frolov | 0efdb11 | 2019-11-14 17:22:08 -0800 | [diff] [blame] | 1 | # Copyright 2019 The Pigweed Authors |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 4 | # use this file except in compliance with the License. You may obtain a copy of |
| 5 | # the License at |
| 6 | # |
| 7 | # https://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 12 | # License for the specific language governing permissions and limitations under |
| 13 | # the License. |
| 14 | |
| 15 | import("$dir_pw_docgen/docs.gni") |
| 16 | |
Keir Mierle | 2c1e56b | 2019-11-15 16:32:11 -0800 | [diff] [blame] | 17 | pw_doc_group("core_docs") { |
| 18 | sources = [ |
| 19 | "embedded_cpp_guide.rst", |
| 20 | "style_guide.rst", |
| 21 | ] |
| 22 | } |
| 23 | |
Alexei Frolov | 0efdb11 | 2019-11-14 17:22:08 -0800 | [diff] [blame] | 24 | pw_doc_gen("docs") { |
| 25 | conf = "conf.py" |
Wyatt Hepler | b82f995 | 2019-11-25 13:56:31 -0800 | [diff] [blame] | 26 | sources = [ |
| 27 | "index.rst", |
| 28 | "modules.rst", |
| 29 | ] |
Alexei Frolov | 0efdb11 | 2019-11-14 17:22:08 -0800 | [diff] [blame] | 30 | output_directory = target_gen_dir |
| 31 | deps = [ |
Keir Mierle | 2c1e56b | 2019-11-15 16:32:11 -0800 | [diff] [blame] | 32 | ":core_docs", |
Alexei Frolov | 0efdb11 | 2019-11-14 17:22:08 -0800 | [diff] [blame] | 33 | "$dir_pw_bloat:docs", |
Alexei Frolov | 8ffcb91 | 2019-11-18 11:00:20 -0800 | [diff] [blame] | 34 | "$dir_pw_docgen:docs", |
Armando Montanez | d2e4903 | 2019-12-06 13:06:01 -0800 | [diff] [blame] | 35 | "$dir_pw_dumb_io:docs", |
| 36 | "$dir_pw_dumb_io_baremetal_stm32f429:docs", |
| 37 | "$dir_pw_dumb_io_stdio:docs", |
Alexei Frolov | 0efdb11 | 2019-11-14 17:22:08 -0800 | [diff] [blame] | 38 | "$dir_pw_preprocessor:docs", |
Wyatt Hepler | ee3e02f | 2019-12-05 10:52:31 -0800 | [diff] [blame^] | 39 | "$dir_pw_presubmit:docs", |
| 40 | "$dir_pw_span:docs", |
| 41 | "$dir_pw_status:docs", |
Wyatt Hepler | fe85de2 | 2019-11-19 17:10:20 -0800 | [diff] [blame] | 42 | "$dir_pw_string:docs", |
Alexei Frolov | d0b2d48 | 2019-12-04 11:06:23 -0800 | [diff] [blame] | 43 | "$dir_pw_test_server:docs", |
Alexei Frolov | 0efdb11 | 2019-11-14 17:22:08 -0800 | [diff] [blame] | 44 | ] |
| 45 | } |