====== Getting started Creating/Editing Pages in this Wiki ======
**Note:** Creating and editing content on this site is restricted to ASI. Please contact ASI if like you would like to request additions to the documentation or report errors.
===== Creating a New Page =====
* Begin by typing the Namespace and name of the new page into the Search field and search
* Folders in DokuWiki are called namespaces.
* Manuals and Tech Notes __do not require__ a namespace, the [[:crisp_manual|CRISP manual]] uses the name ''crisp_manual'' directly.
* Commands are in the namespace ''commands'', see the [[:commands:WHO|WHO command]] for an example.
* In the image below, the namespace is ''documentation'' and the new page name is ''new_page_name''.
* DokuWiki doesn't allow uppercase or whitespace characters in page names.
{{ create_page1.png |}}
* DokuWiki then takes you to the search page, and lists all the pages that are similar or relevant. Press the ''Create This Page'' button to create the page.
{{ create_page2.png |}}
* Next, DokuWiki creates this page and shows you the Editing interface with a toolbar. Remember to save when done.
{{ create_page3.png |}}
===== Organizing the Wiki =====
* We are using the Tag system to organize pages in this wiki. This is done by adding the following syntax {{tag>tag_name}} or by pressing the {{tag.png|}} button in the above toolbar.
* A Page can have multiple Tags. For example the page [[crisp_manual|CRISP : Continuous Autofocus System]] has the tags'' manual'' and ''crisp''
* Please give the tag '' manual'' only to pages that are considered vital for the users to read in order to operate or setup the device.
* Another tag that will be common is ''tech_note''. These pages aren't considered vital for all user to read and are more specific.The following pages are organised with ''tech_note'' tag . [[tech_note_changing_piezo_drive_card_fast_slow_compensation|TN147: Changing Piezo Drive Card's Fast Slow Compensation]] and [[tech_note_crisp_error_calculation|Technical Note: CRISP Error Calculation Algorithm]]
* Atm pages that have the ''manual'' or ''tech_note'' tag will automatically be linked on this Wiki's start page.
===== Style Guide =====
For second person should I use "we" or "you"?
Should I use active voice or passive voice?
When in doubt refer to the [[https://developers.google.com/style/highlights|Google Style Guide]]. Its free and accessible, written with technical subject in mind.
===== CE Compliance =====
To Comply with CE we need to provide user with safety notices, and where possible define them to the user. This is the [[safety_notices|Safety Notices]] page. It can be included in your page with the following syntax. These icons are available on the toolbar as Wrap Plugin ({{:documentation:picker.png?nolink|}})
{{page>safety_notices}}
{{page>safety_notices}}
===== Formatting Syntax =====
Default DokuWiki syntax can be found here [[wiki:syntax|Formatting Syntax]]
Below are some custom syntax we added to this particular wiki.
==== Serial Block ====
Here are some options to display Serial commands on your page.
$ MOVE X=123 Y=-123
:A
Line beginning with '' $'' is Typeset as command , and lines without ''$'' is typeset as reply.
$ MOVE X=123 Y=-123
:A
This syntax can be gotten by pressing {{sb.png|}} button also.
SERIAL COMMAND
SERIAL COMMAND
This syntax can be gotten by pressing {{cmd.png|}} button also.
SERIAL REPLY
SERIAL REPLY
This syntax can be gotten by pressing {{reply.png|}} button also.
==== Math ====
We have the DokuWiki MathJax plugin installed in this wiki.
\begin{equation}R = \frac{(n_1 – n_2)^2}{(n_1 + n_2)^2}\end{equation}
\begin{equation}R = \frac{(n_1 – n_2)^2}{(n_1 + n_2)^2}\end{equation}
This syntax can be gotten by pressing {{math.png|}} button also.
For more MathJax syntax visit [[http://www.onemathematicalcat.org/MathJaxDocumentation/TeXSyntax.htm
|www.onemathematicalcat.org]]
More info [[https://www.dokuwiki.org/plugin:mathjax|here]]
==== Tags ====
{{tag>tag_name}}
This syntax can be gotten by pressing {{tag.png|}} button also.
More info [[https://www.dokuwiki.org/plugin:tag|here]]
==== Table ====
Give tables the ability to sort, search etc by adding the following syntax
More info [[https://www.dokuwiki.org/plugin:datatables|here]]
==== Include ====
Include another wiki page into the current one. More info [[https://www.dokuwiki.org/plugin:include|here]]
==== Collapsible sections ====
The [[https://www.dokuwiki.org/plugin:outliner|Outliner Plugin]] used to add collapsible sections to a wiki page.
--> Nested section opened#
Nested content
<--
--> Nested section opened#
Nested content
<--
Used extensively in [[commands:aflim|Command:AFLIM]]
More info [[https://www.dokuwiki.org/plugin:outliner|here]]
==== Imagebox Plugin ====
By Default, DokuWiki doesn't show Captions for images. Example:
{{ :logo.png |ASI's Logo}}
{{ :logo.png |ASI's Logo}}
The Imagebox plugin lets is add ''[]'' around the image syntax to show image caption.
[{{ :logo.png |ASI's Logo}}]
[{{ :logo.png |ASI's Logo}}]
More info [[https://www.dokuwiki.org/plugin:imagebox|here]]
==== Mermaid Charts ====
The Mermaid plugin uses [[https://mermaid.ai/open-source/|Mermaid]] to support many different kinds of charts and graphs.
graph TD
A[Enter Chart Definition] --> B(Preview)
B --> C{decide}
C --> D[Keep]
C --> E[Edit Definition]
E --> B
D --> F[Save Image and Code]
F --> B