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

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: 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
Index: utils/dartdoc/dartdoc
diff --git a/utils/dartdoc/dartdoc b/utils/dartdoc/dartdoc
index 01208161b008a51990ae6391b27414bc5e97acda..dbe263a1ec6e787f389a63ec4bec5c463f811b00 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') | utils/dartdoc/files.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698