diff options
author | David Chen <dzc@google.com> | 2016-08-31 15:35:33 +0000 |
---|---|---|
committer | Klaus Aehlig <aehlig@google.com> | 2016-09-01 08:30:45 +0000 |
commit | a4ddb857f42e91a6ae7df82981d53f10699a450c (patch) | |
tree | 70201f85a41f0a16be92eaa57e9969c1e58d0102 | |
parent | 34b67e2c22a15d2dbde7f64673e9c54ea039d40f (diff) |
Fix links on doc pages that were pointing to .md files.
--
MOS_MIGRATED_REVID=131832236
-rwxr-xr-x | site/jekyll-tree.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/site/jekyll-tree.sh b/site/jekyll-tree.sh index f8b28c1e94..c2c8e985c6 100755 --- a/site/jekyll-tree.sh +++ b/site/jekyll-tree.sh @@ -111,10 +111,13 @@ function process_doc { } function process_docs { - for f in $(find "$OUT_DIR/docs" -name "*.html"); do + for f in $(find "$OUT_DIR/versions/master/docs" -name "*.html"); do process_doc $f done - for f in $(find "$OUT_DIR/docs" -name "*.md"); do + for f in $(find "$OUT_DIR/versions/master/docs" -name "*.md"); do + process_doc $f + done + for f in $(find "$OUT_DIR/designs" -name "*.md"); do process_doc $f done } @@ -129,7 +132,7 @@ function main { unpack_build_encyclopedia unpack_skylark_library unpack_skylark_rule_docs - cp ${CLR_HTML} ${OUT_DIR}/docs + cp ${CLR_HTML} ${OUT_DIR}/versions/master/docs process_docs package_output } |