User Tools

Site Tools


evergreen-docs:dig_style_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
evergreen-docs:dig_style_guide [2018/07/09 08:37] – [Linking] rjs7evergreen-docs:dig_style_guide [2019/03/07 08:54] – [Headers] rjs7
Line 11: Line 11:
   * Headers should be in title case (i.e. capitalize important words)   * Headers should be in title case (i.e. capitalize important words)
   * Headers can be formatted in either of two ways, but a single AsciiDoc file should use the same style consistently.   * Headers can be formatted in either of two ways, but a single AsciiDoc file should use the same style consistently.
 +
 +=== Changing A Section Heading ===
 +To prevent breaking internal links:
 +  - Any time we edit a section heading (even fixing a typo), first check the HTML of the docs for the autogenerated anchor name.  (This will be in an <a id=""> tag, just inside the "<h2>" tag, or "<h3>", etc. Example anchor name: "_shelving_location_groups")
 +  - Search the docs code for that exact anchor name to find any references. (These will look like "<<anchor_name,link text>>".)
 +  - Update the section heading and any references you found (it's okay to guess at the new anchor name; the docs committer can double-check this after it's published).
 +  - NOTE: This may change the docs page URL, which would break external links and bookmarks. To prevent this, ask the DIG email list how they handle redirecting pages that move.
  
 **Header Prefix Syntax** **Header Prefix Syntax**
Line 31: Line 38:
 ++++++++++++++ ++++++++++++++
 </code> </code>
 +
  
 ==== Other Formatting ==== ==== Other Formatting ====
evergreen-docs/dig_style_guide.txt · Last modified: 2023/06/01 12:22 by gmcharlton

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.