Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Unified Diff: utils/dartdoc/dartdoc

Issue 8772067: Navigation in generated docs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Respond to review. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/dartdoc/README.txt ('k') | utils/dartdoc/dartdoc.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/dartdoc/dartdoc
diff --git a/utils/dartdoc/dartdoc b/utils/dartdoc/dartdoc
index d2b949452aa4ff02ae370a8c6c7ee78e75adb3a1..b3b3397463ac8935d1a5e7eed48f2ecc7f05c4c9 100755
--- a/utils/dartdoc/dartdoc
+++ b/utils/dartdoc/dartdoc
@@ -20,6 +20,15 @@ if [ "interact.dart" -nt "static/interact.js" ]
echo "Compiled interact.dart."
fi
+# Clean the output directory.
+if [ -d "docs" ]; then
+ rm -r docs
+fi
+mkdir docs
+
+# Copy the static files over.
+cp static/* docs
+
# Ditch the first arg so we can pass any extra arguments to dartdoc.
shift
« no previous file with comments | « utils/dartdoc/README.txt ('k') | utils/dartdoc/dartdoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698