diff options
author | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-12-09 19:14:58 +0000 |
---|---|---|
committer | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-12-09 19:14:58 +0000 |
commit | a23af1f5f7dc4b256b56f05ce27841eb13e1cb4f (patch) | |
tree | 587c5c9ef407f12d25d57039c66e1d5908e62bb4 /doc | |
parent | cc365513edc0ea7829e44a7854a47f3fcf8a17d1 (diff) | |
download | volse-hubzilla-a23af1f5f7dc4b256b56f05ce27841eb13e1cb4f.tar.gz volse-hubzilla-a23af1f5f7dc4b256b56f05ce27841eb13e1cb4f.tar.bz2 volse-hubzilla-a23af1f5f7dc4b256b56f05ce27841eb13e1cb4f.zip |
Issue #732
Diffstat (limited to 'doc')
-rw-r--r-- | doc/doco.bb | 25 | ||||
-rw-r--r-- | doc/main.bb | 5 |
2 files changed, 28 insertions, 2 deletions
diff --git a/doc/doco.bb b/doc/doco.bb new file mode 100644 index 000000000..3fd0ee94f --- /dev/null +++ b/doc/doco.bb @@ -0,0 +1,25 @@ +[b]Creating Documentation[/b] + +To contribute documentation, simply put some words in a cunning order, and make their existence known to a developer. You can do this literally anywhere as long as a developer can see it. Once made aware, somebody will check it in for you. You should try to avoid proprietary formats, or locations that require authentication with methods other than Zot in order to make it easy for a developer to access, but even this is not a strict requirement. + +If you wish to contribute directly, that's fine too. To contribute directly, documentation should be in one of the following formats: + +[li]Markdown[/li] +[li]BBCode[/li] +[li]HTML[/li] +[li]Plain Text[/li] + +Other formats are also allowed, but support for the format must be added to mod/help.php first. + +If editing a plain text file, please keep column width to 80. This is because plain text is used in instances where we may not have a working installation - the installation documentation, for example - and it should be easy to read these from a CLI text editor. + +The advantage of Markdown is that it is human readable. + +The advantage of BBCode is that it is identity aware. + +Therefore, if using BBCode, try to make the most of it: +[li]Use ZRL links where appropriate to ensure a link to another site retains authentication and keeps identity based documentation working[/li] +[li]Use baseurl or observer.baseurl tags where appropriate instead of example.com for authenticated viewers.[/li] +[li]Support non-authenticated users with observer=0 tags. We presently do not do this due to historical oversights. This needs adding everywhere[/li] + +#include doc/macros/main_footer.bb; diff --git a/doc/main.bb b/doc/main.bb index b4b74dcc1..4f1852642 100644 --- a/doc/main.bb +++ b/doc/main.bb @@ -53,6 +53,7 @@ Zot is the great new communicaton protocol invented especially for the RedMatrix [zrl=[baseurl]/help/Creating-Templates]Creating Comanche Templates[/zrl]
[zrl=[baseurl]/help/Widgets]Core Widgets[/zrl]
[zrl=[baseurl]/help/plugins]Plugins[/zrl]
+[zrl=[baseurl]/help/doco]Contributing Documentation[/zrl]
[zrl=[baseurl]/help/DerivedTheme1]Creating Derivative Themes[/zrl]
[zrl=[baseurl]/help/schema_development]Schemas[/zrl]
[zrl=[baseurl]/help/Translations]Translations[/zrl]
@@ -77,7 +78,7 @@ Zot is the great new communicaton protocol invented especially for the RedMatrix [url=https://zothub.com/channel/one]Development Channel[/url]
[url=[baseurl]/help/credits]RedMatrix Credits[/url]
- +
[size=large][b]About This RedMatrix Hub[/b][/size]
-[zrl=[baseurl]/help/TermsOfService]Terms of Service For This Hub[/zrl] +[zrl=[baseurl]/help/TermsOfService]Terms of Service For This Hub[/zrl]
[zrl=[baseurl]/siteinfo]Hub Information (/siteinfo)[/zrl]
|