Xfce Wiki

Sub domains
 

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
contribute:documentation:creating_new_pages [2026/09/17 03:47] – spelling correction kevinbowencontribute:documentation:creating_new_pages [2026/11/30 04:11] (current) – kevinbowen
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-====== Formatting Guidelines for New Pages ======+====== Formatting Guidelines for Documentation Pages ======
  
   * **[[#Use the NOTOC header|Use the NOTOC header]]**   * **[[#Use the NOTOC header|Use the NOTOC header]]**
Line 9: Line 9:
  
  
-If a new documentation, or wiki page is needed, it is important to keep its layout and appearance consistent with the rest of the documentation.+If a new documentation page is needed, it is important to maintain a layout and appearance that is consistent with the rest of the documentation.
  
-Below are some guidelines to use when creating a new documentation page.+Below are some guidelines to follow when creating a new documentation page.
  
 ---- ----
Line 24: Line 24:
 ===== Creating a Table of Contents ===== ===== Creating a Table of Contents =====
  
-As a general rule, if a page becomes longer than one visual screen, and has multiple sections, it is recommended to manually create a table of contents.+As a general rule, if viewing a page requires scrolling, and has multiple sections, it is recommended to manually create a table of contents(ToC).
  
-Using the [[:start|Main Docs.xfce.org page]] as an example, we have a table of contents consisting of three main sections+Using the [[:start|Main Docs.xfce.org page]] as an example, we have a table of contents consisting of three main sections:
  
 <code> <code>
Line 34: Line 34:
 </code> </code>
  
-Each link refers to a main header further down the page.+Each link refers to a main header located further down the page.
  
 ---- ----
Line 45: Line 45:
 ---- ----
 </code> </code>
-(four dashes) in between two blank lines. Be sure to preview your changes before saving to ensure that the divider properly renders.+(four dashes) in between two blank lines. Be sure to preview your changes before saving to ensure that the divider properly renders on the page.
  
 [[|Back to Top]] [[|Back to Top]]
Line 52: Line 52:
 ===== Using Back to Top links ===== ===== Using Back to Top links =====
  
-'Back to Top' links are used on Xfce's documentation pages as a navigational aid for readers on documentation pages that are larger than a few sentences.+'Back to Top' links are used throughout Xfce's documentation pages as a navigational aid for readers of documentation pages that are larger than a few sentences.
  
 If a section is long enough and the top of the page scrolls far beyond the top of the screen, insert the code ''<nowiki>[[|Back to Top]]</nowiki>'' followed by a horizontal rule to allow the reader to return back to the top of page and the table of contents.  If a section is long enough and the top of the page scrolls far beyond the top of the screen, insert the code ''<nowiki>[[|Back to Top]]</nowiki>'' followed by a horizontal rule to allow the reader to return back to the top of page and the table of contents. 
Line 63: Line 63:
 </code> </code>
  
-This is not a strict rule and would depend on how large a section. If there are a number of small sections on one screen, a "Back to Top" is not necessarily needed for each section. This is a bit of a judgement call required on the part of the editor to strike a balance between a reader's useability of the page and cluttering the page with unneeded links.+This is not a strict rule and depends upon the size of a section. If there are a number of small sections on one screen, a "Back to Top" is not necessarily needed for each section. This requires a bit of a judgement call on the part of the editor: striking a balance between a reader's useability of the page and cluttering the page with extra, unneeded links.
  
 ---- ----
Line 69: Line 69:
 ===== Creating back-links ===== ===== Creating back-links =====
  
-At the bottom of the page, if it makes sense, create one or two back-links to the main page. For example, on the [[:xfce:thunar:thunar-archive-plugin:bugs|Thunar-archive-plugin bugs]] page, there are two backlinks included at the bottom of the page. One returns the user to the subsection on the thunar archive plugin, and the second goes back to the main thunar page. This is coded in the editing window, as follows:+At the bottom of a page, if it makes sense, create one or two back-links to the main page. For example, on the [[:xfce:thunar:thunar-archive-plugin:bugs|Thunar-archive-plugin bugs]] page, there are two backlinks included at the bottom of the page. One returns the user to the subsection on the thunar archive plugin, and the second goes back to the main thunar page. This is coded in the editing window, as follows:
  
 <code> <code>