diff --git a/core/src/main/resources/lib/form/submit.jelly b/core/src/main/resources/lib/form/submit.jelly
index dbc37b0f9e7a0803a024c2d6cfa55040079d8379..72000de18e5185dddbec3262af74153a46a9c175 100644
--- a/core/src/main/resources/lib/form/submit.jelly
+++ b/core/src/main/resources/lib/form/submit.jelly
@@ -1,6 +1,11 @@
-
+
+ Submit button themed by YUI. This should be always
+ used instead of the plain <input tag.
+
+
+ The text of the submit button. Something like "submit", "OK", etc.
+
+
diff --git a/core/src/main/resources/lib/layout/header.jelly b/core/src/main/resources/lib/layout/header.jelly
index 90f27a9dca53d3e807e6f03312018b6193c4e7b3..8da2dbb8f1fcfa9e1b3658947c4bb831ffe2713b 100644
--- a/core/src/main/resources/lib/layout/header.jelly
+++ b/core/src/main/resources/lib/layout/header.jelly
@@ -1,4 +1,9 @@
+
+ Header portion of the HTML page, that gets rendered into the <head> tag.
+ Multiple <l:header> elements can be specified, and can even come after
+ <l:main-panel>.
+
diff --git a/core/src/main/resources/lib/layout/layout.jelly b/core/src/main/resources/lib/layout/layout.jelly
index 49e8ff20870507507cd7f550043cbb2658a2fa4d..7b80b6a045db8bd49f1f6d75a4e562e5335d3a1a 100644
--- a/core/src/main/resources/lib/layout/layout.jelly
+++ b/core/src/main/resources/lib/layout/layout.jelly
@@ -1,19 +1,32 @@
-
+
+ Outer-most tag for a normal (non-AJAX) HTML rendering.
+ This is used with nested <side-panel> and <main-panel>
+ to form Hudson's basic HTML layout.
+
+
+ Title of the HTML page. Rendered into <title> tag.
+
+
+ If non-null, auto refresh is disabled on this page.
+ This is necessary for pages that include forms.
+
+
+ specify path that starts from "/" for loading additional CSS stylesheet.
+ path is interprted as relative to the context root. e.g.,
+
+
+ This was originally added to allow plugins to load their stylesheets, but
+ plugins should now do so by inserting <style> elements and/or <script> elements
+ in <l:header/> tag.
+
+
+ If given, this page is only made available to users that has the specified permission.
+ (The permission will be checked against the "it" object.)
+
+
diff --git a/core/src/main/resources/lib/layout/yui.jelly b/core/src/main/resources/lib/layout/yui.jelly
index 34007f003ff7ae2612b6aed648df18f2a9ee0657..d5d16d6fb785e227608fe4e5ddb083cb61bc5c94 100644
--- a/core/src/main/resources/lib/layout/yui.jelly
+++ b/core/src/main/resources/lib/layout/yui.jelly
@@ -1,10 +1,12 @@
-
+
+ Load Yahoo UI module.
+
+ YUI module name to load.
+
+
+ if loading beta module, use suffix='-beta'
+
+
\ No newline at end of file