DLXS Style Guide
From DLXS Documentation
Line 36: | Line 36: | ||
The preferable way of linking to a file is: | The preferable way of linking to a file is: | ||
- | + | <pre> | |
<nowiki> | <nowiki> | ||
[[Sample Makefile.html|Makefile.html click here]] | [[Sample Makefile.html|Makefile.html click here]] | ||
</nowiki> | </nowiki> | ||
(everything before the pipe | won't show) | (everything before the pipe | won't show) | ||
- | + | </pre> | |
and NOT: | and NOT: | ||
+ | <pre> | ||
<nowiki> | <nowiki> | ||
"For more information about the [[Makefile.html click here]]." | "For more information about the [[Makefile.html click here]]." | ||
</nowiki> | </nowiki> | ||
+ | |||
This isn't the best way to create a new page, it names the page whatever is in the brackets, and then forevermore you have to remember that it's not called "Sample Makefile.html" or something more intuitive when you want to link to it. | This isn't the best way to create a new page, it names the page whatever is in the brackets, and then forevermore you have to remember that it's not called "Sample Makefile.html" or something more intuitive when you want to link to it. | ||
+ | </pre> |
Revision as of 20:57, 8 October 2007
DLXS style guide (a work in progress)
Release markup
Additions about a forthcoming release should just be added to any relevant pages as a new paragraph. Header tags should also be used and the paragraph should be given a title "Release X" so it can be easily searched and integrated when the release is ready. more...
For example:
Release X
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent velit. Curabitur non turpis sit amet nulla viverra feugiat. Ut sit amet pede. In hac habitasse platea dictumst. Nam ultrices. Duis pellentesque augue non velit. In nisi. Aenean nonummy. Fusce quis ligula nec nisi rhoncus adipiscing. Nullam laoreet nibh sed lacus. Quisque aliquam turpis id nibh. Nunc faucibus justo at dolor. Integer blandit est vel sem. Sed suscipit lorem sed mi tincidunt elementum.
Text formatting markup
<pre></pre>
Here is some text
Here is some text
Citation | lorem ipsum |
pre | lorem ipsum |
code | lorem ipsum
|
tt | lorem ipsum |
Linking
The preferable way of linking to a file is:
[[Sample Makefile.html|Makefile.html click here]] (everything before the pipe | won't show)
and NOT:
"For more information about the [[Makefile.html click here]]." This isn't the best way to create a new page, it names the page whatever is in the brackets, and then forevermore you have to remember that it's not called "Sample Makefile.html" or something more intuitive when you want to link to it.