Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(102)

Unified Diff: Documentation/common-macros.itexi

Issue 567340043: Calculate download sizes rather than hardcoding them
Patch Set: Rebase to current master and add Portuguese support Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Documentation/common-macros.itexi
diff --git a/Documentation/common-macros.itexi b/Documentation/common-macros.itexi
index a8f4deca99b16b9ad64556d48d02e3acb7252af6..3a7523f30c4325bfcae6f217c6ade6b0de2dc95a 100644
--- a/Documentation/common-macros.itexi
+++ b/Documentation/common-macros.itexi
@@ -252,6 +252,28 @@ UNTRANSLATED NODE: IGNORE ME
@end html
@end macro
+@ifhtml
+ @ifclear bigpage
+@macro docSize{before,target,after}
+@html
+\before\<!-- file-size:, href="../\target\"-->\after\
+@end html
+@end macro
+ @end ifclear
+ @ifset bigpage
+@macro docSize{before,target,after}
+@html
+\before\<!-- file-size:, href="\target\"-->\after\
+@end html
+@end macro
+ @end ifset
+@end ifhtml
+@ifnothtml
+@macro docSize{before,target,after}
+\before\\after\
+@end macro
+@end ifnothtml
+
@ifclear web_version
@ifclear bigpage
@macro docLink{name,target,webLink}

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b