Arquivos
Brian Swetland 62de40cbe5 [ddk][h2md] a tool for generating markdown docs from api headers
It's simple-minded, but gets the job done without any complex
dependencies, and will allow us to keep detailed docs in the headers
while still generating nice markdown in the docs/... directories.

Change-Id: I68b64aaa3a4771320c63ca5a390741d5b41186c3
2017-06-19 12:25:16 -07:00

16 linhas
375 B
Bash
Arquivo Executável

#!/usr/bin/env bash
# Copyright 2017 The Fuchsia Authors
#
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT
for h2md in ./build-*/tools/h2md ;
do
echo $h2md
break;
done
find system/ -name \*.h -or -name \*.c -or -name \*.cpp | xargs grep '//@doc(' -l | xargs $h2md -v