httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r428752 - /httpd/site/trunk/xdocs/dev/styleguide.xml
Date Fri, 04 Aug 2006 15:21:09 GMT
Author: pquerna
Date: Fri Aug  4 08:21:07 2006
New Revision: 428752

Add id tags to the different examples in the styleguide, so when explaining to people why
something is wrong, you can link directly to the example.

No changes to the guide's content itself.


Modified: httpd/site/trunk/xdocs/dev/styleguide.xml
--- httpd/site/trunk/xdocs/dev/styleguide.xml (original)
+++ httpd/site/trunk/xdocs/dev/styleguide.xml Fri Aug  4 08:21:07 2006
@@ -75,7 +75,7 @@
 <title>Details and Examples</title>
-<li><strong>Indentation, General Style</strong>
+<li id="ex-indentation"><strong>Indentation, General Style</strong>
 <p>Each level of indentation of code is four spaces. Tab characters
    should never be used. Specific indentation rules for function
@@ -116,7 +116,7 @@
+<li id="ex-comments"><strong>Comments</strong>
 <p>Provide comments which explain the function of code where it is not
    clear from the code itself.  Provide rationale where necessary for
@@ -132,7 +132,7 @@
-<li><strong>Function Declaration and Layout</strong>
+<li id="ex-func-decl"><strong>Function Declaration and Layout</strong>
 <p>Functions are laid out as follows:</p>
@@ -154,7 +154,7 @@
    see the section on indenting <A HREF="#long-exps">long declarations
    and invocations</A>.</strong></p>
-<li><strong>Function Calls</strong>
+<li id="ex-func-calls"><strong>Function Calls</strong>
 <p>Space after commas in function calls. No space between function name
    and opening bracket.</p>
@@ -166,7 +166,7 @@
    and invocations</A>.</strong>
-<li><strong>Flow-Control Layout</strong>
+<li id="ex-flow"><strong>Flow-Control Layout</strong>
 <p>Flow-control statements (<samp>if</samp>, <samp>while</samp>,
    <samp>for</samp>, <EM>etc.</EM>) are laid out as in this example:</p>
@@ -192,7 +192,7 @@
-<li><strong><samp>for</samp> Layout</strong>
+<li id="ex-for"><strong><samp>for</samp> Layout</strong>
 <p>Space after the semi-colons. Example:</p>
@@ -201,7 +201,7 @@
-<li><strong><samp>switch</samp> Layout</strong>
+<li id="ex-switch"><strong><samp>switch</samp> Layout</strong>
 <p><samp>case</samp> lines within a <samp>switch()</samp> are
indented to
    same level as the switch 
@@ -218,7 +218,7 @@
+<li id="ex-expressions"><strong>Expressions</strong>
 <p>Space before and after assignment and other and operators. No space
    between unary operators (increment, decrement, and negation) and the
@@ -234,7 +234,7 @@
-<li><strong>Capitalisation of Enums</strong>
+<li id="ex-enums"><strong>Capitalisation of Enums</strong>
 <p>No rule.</p>

View raw message