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 | |
Armando Montanez | 0874558 | 2019-12-12 10:51:50 -0800 | [diff] [blame] | 24 | # Documentation for upstream Pigweed targets. |
| 25 | group("target_docs") { |
| 26 | deps = [ |
| 27 | "$dir_pigweed/targets/stm32f429i-disc1:target_docs", |
| 28 | ] |
| 29 | } |
| 30 | |
Alexei Frolov | 0efdb11 | 2019-11-14 17:22:08 -0800 | [diff] [blame] | 31 | pw_doc_gen("docs") { |
| 32 | conf = "conf.py" |
Wyatt Hepler | b82f995 | 2019-11-25 13:56:31 -0800 | [diff] [blame] | 33 | sources = [ |
Armando Montanez | 4222532 | 2020-01-02 13:11:41 -0800 | [diff] [blame] | 34 | "../README.md", |
Wyatt Hepler | b82f995 | 2019-11-25 13:56:31 -0800 | [diff] [blame] | 35 | "index.rst", |
| 36 | "modules.rst", |
Armando Montanez | 0874558 | 2019-12-12 10:51:50 -0800 | [diff] [blame] | 37 | "targets.rst", |
Wyatt Hepler | b82f995 | 2019-11-25 13:56:31 -0800 | [diff] [blame] | 38 | ] |
Alexei Frolov | 0efdb11 | 2019-11-14 17:22:08 -0800 | [diff] [blame] | 39 | output_directory = target_gen_dir |
| 40 | deps = [ |
Keir Mierle | 2c1e56b | 2019-11-15 16:32:11 -0800 | [diff] [blame] | 41 | ":core_docs", |
Armando Montanez | 0874558 | 2019-12-12 10:51:50 -0800 | [diff] [blame] | 42 | ":target_docs", |
Keir Mierle | 3cee879 | 2020-01-22 17:08:13 -0800 | [diff] [blame] | 43 | "$dir_pw_assert:docs", |
Alexei Frolov | 0efdb11 | 2019-11-14 17:22:08 -0800 | [diff] [blame] | 44 | "$dir_pw_bloat:docs", |
Armando Montanez | 7009566 | 2020-01-09 14:25:04 -0800 | [diff] [blame] | 45 | "$dir_pw_boot_armv7m:docs", |
Rob Mohr | 49de492 | 2019-12-10 20:10:41 -0800 | [diff] [blame] | 46 | "$dir_pw_build:docs", |
Armando Montanez | 5104cd6 | 2019-12-10 14:36:43 -0800 | [diff] [blame] | 47 | "$dir_pw_cpu_exception:docs", |
| 48 | "$dir_pw_cpu_exception_armv7m:docs", |
Alexei Frolov | 8ffcb91 | 2019-11-18 11:00:20 -0800 | [diff] [blame] | 49 | "$dir_pw_docgen:docs", |
Rob Mohr | f82e7a8 | 2020-01-03 13:50:11 -0800 | [diff] [blame] | 50 | "$dir_pw_doctor:docs", |
Keir Mierle | c34f71f | 2019-12-06 12:44:47 -0800 | [diff] [blame] | 51 | "$dir_pw_dumb_io:docs", |
Rob Mohr | 49de492 | 2019-12-10 20:10:41 -0800 | [diff] [blame] | 52 | "$dir_pw_dumb_io_baremetal_stm32f429:docs", |
Armando Montanez | d2e4903 | 2019-12-06 13:06:01 -0800 | [diff] [blame] | 53 | "$dir_pw_dumb_io_stdio:docs", |
Keir Mierle | af5e358 | 2019-12-30 13:11:05 -0800 | [diff] [blame] | 54 | "$dir_pw_log:docs", |
Wyatt Hepler | 0412a7d | 2020-01-28 16:27:32 -0800 | [diff] [blame] | 55 | "$dir_pw_minimal_cpp_stdlib:docs", |
Keir Mierle | c34f71f | 2019-12-06 12:44:47 -0800 | [diff] [blame] | 56 | "$dir_pw_module:docs", |
Wyatt Hepler | c542a5d | 2020-01-15 15:43:10 -0800 | [diff] [blame] | 57 | "$dir_pw_polyfill:docs", |
Alexei Frolov | 0efdb11 | 2019-11-14 17:22:08 -0800 | [diff] [blame] | 58 | "$dir_pw_preprocessor:docs", |
Wyatt Hepler | ee3e02f | 2019-12-05 10:52:31 -0800 | [diff] [blame] | 59 | "$dir_pw_presubmit:docs", |
Alexei Frolov | 9c2ed46 | 2020-01-13 15:35:42 -0800 | [diff] [blame] | 60 | "$dir_pw_protobuf:docs", |
Alexei Frolov | 942adf0 | 2019-12-11 17:07:28 -0800 | [diff] [blame] | 61 | "$dir_pw_protobuf_compiler:docs", |
Wyatt Hepler | ee3e02f | 2019-12-05 10:52:31 -0800 | [diff] [blame] | 62 | "$dir_pw_span:docs", |
| 63 | "$dir_pw_status:docs", |
Wyatt Hepler | fe85de2 | 2019-11-19 17:10:20 -0800 | [diff] [blame] | 64 | "$dir_pw_string:docs", |
Alexei Frolov | 300dcea | 2019-12-23 13:33:59 -0800 | [diff] [blame] | 65 | "$dir_pw_target_runner:docs", |
Wyatt Hepler | 80c6ee5 | 2020-01-03 09:54:58 -0800 | [diff] [blame] | 66 | "$dir_pw_tokenizer:docs", |
Alexei Frolov | 0efdb11 | 2019-11-14 17:22:08 -0800 | [diff] [blame] | 67 | ] |
| 68 | } |