This documentation was made only with the Documenter (except the images)
The Documenter offers a way to generate documentations for authors of envatos marketplaces.
Some of you are maybe not familiar with HTML/CSS and all that fancy stuff and your only way to publish documents is Word.
For these guys and girls I made the Documenter.
Please read this documentation before you make your own. Of course you can just play around with the premade docs (thanks JeffreyWay)
Nothing!
Yeah that's right! I offer this service for free!
If you have to much money you can donate for sure
It's really simple.
There are two ways to save your work:
Here is the HTML Structure of the Documentation (simplified):
<body> <div id="documenter_sidebar"> <a href="#documenter_cover" id="documenter_logo"></a> <ol id="documenter_nav"> <li><a href="#{section_id}">{Section Name}</a></li> <li><a href="#{section_id}">{Section Name}</a></li> <li><a href="#{section_id}">{Section Name}</a> <ol> <li><a href="#{section_id}_{subcat_id}">{SubCat Name}</a></li> <li><a href="#{section_id}_{subcat_id}">{SubCat Name}</a></li> <li><a href="#{section_id}_{subcat_id}">{SubCat Name}</a></li> </ol> </li> ... </ol> <div id="documenter_copyright">Copyright {Your Name} {Current Year}<br> made with the <a href="http://rxa.li/documenter">Documenter v{Version}</a> </div> </div> <div id="documenter_content"> <section id="{section_id}"> <h3>{Section Name}</h3> {content} </section> <section id="{section_id}"> <h3>{Section Name}</h3> {content} <h4 id="{section_id}_{submenu_id}">{SubCat Name}</h4> {content} </section> ... </div> </body>
You can use submenus within the navigation.
Activeate the checkbox and use H4 headlines as the name
The H4 will get an id:
<h4 id="section_name_subcategory_name">Subcategory Name</h4>
The Documenter offers a smart way to brand your Documentation
Include a URL to your Logo. I recommend png with transparent background and smaller then 200x200 pixels.
If you would like to include a custom CSS to change the appearance of your documentation enter a URL to your CSS file. Check out the HTML Structure and the Custom Classes as well!
With the color options you can style your documentation so it fits your visual needs.
Start with a Theme or define each color separately. You can specify a background image too.
The box on the right gives you a minimalistic preview
Define a custom scrolling function. The duration defines how long the scrolling will happen.
I recommend not to abuse this part. Buyers maybe get confused with some bouncing pages
Cufon provides a simple way to include your custom font across all modern browsers. This technology is based on JavaScript and work with nearly every font you can imagine.
I prepared some Styles:
This is a warning
This is a info
This is just plain text
function javascript(){ alert('this is a javascript function'); }
#cssblock{ width:999px; }
<?php echo 'Hello PHP'; ?>
<div id="html"> I am HTML! </div>
package{ import flash.display.Sprite; public class FirstCircle extends Sprite{ public function FirstCircle(){ } } }
I'm using the SyntaxHighlighter by Alex Gorbatchev which is awesome!
Currently the Documenter can handle following syntax's:
I don't think we need more
For more customisation I included custom classes
A custom class converts
<p> contents </p>
into
<p class="c_{number}"> contents </p>
{number} is a placeholder for a number from 1 to 9
You can style this paragraph within a custom CSS file
Here five examples of custom classes:
Custom Style 1
Custom Style 2
Custom Style 3
Custom Style 4
Custom Style 5
You can access custom classes in the very left drop down of the toolbar
You can use <a> tag to jump from on section to another:
Just name the href of the a with the id of the section:
<a href="#features">Go to Features</a>
If you like to refer to a specific section of your documentation you can simple ad the hastag at the end of the url:
http://revaxarts-themes.com/leaf/docs/
comes
http://revaxarts-themes.com/leaf/docs/#the_template_builder
the hash is the id of the section
You can automatically save your work and restore it later if your browser crashes.
Your saved doc will stay available one week after creation
When you have finished your documentation you can save your work wherever you like.
Just copy all the contents of the box at the very bottom.
You can import that string by pasting it into the import field or enter the URL to the JSON file
Click outside the box and the Documenter will generate your documentation.
You can save your documentations. You need a webserver which can handle php files.
Enter the URL of your script which handles the Advanced Options
You script must return the URL of the saves JSON file
You can find an example script here
After you have built your documentation you can find a button at the "custom docs" section
The Advance Options gives you a possiblity to send the documentation to your server. Furthermore it's used to save documentation.
You can enter URL to a script located on your server which recives the JSON or the zip file.
You can enter a password in the third field which will get included so you can check it on your server.
If you set a URL for the JSON these variables will get sent to the server:
$_POST = array( 'json' => THE_JSON_OF_YOUR_DOC 'pwd' => MD5_HASH_OF_YOUR_PASSWORD )
If you set a URL for the ZIP file these variables will get sent to the server:
$_POST = array( 'name' => 'documentation.zip', 'pwd' => MD5_HASH_OF_YOUR_PASSWORD ) $_FILES = array( 'file' => array( 'name' => 'documentation.zip', 'type' => 'application/octet-stream', 'tmp_name' => TEMP_FILE_NAME, 'error' => 0, 'size' => FILESIZE ) ) </pre>
You can start with this script and modify it for your needs
Added Favicon support better iOS 5 support
Added Save functionality Drop Pastebin integration New Look! Bug fixes
Submenu Support Bug fixes
Autosave feature Custom CSS file Custom Classes Background Image Support Browser Back Button Support Validation for URLs and E-Mails Removed the wrapper in the HTML Structure (use the body instead) Some optical improvements Some technical improvements Bug fixes
support for iPhone, iPod Touch, iPad deeplinking support Navigation gets a scrollbar if it gets out of view External links are no opening in a new window No more empty fields in the documentation New Field: Website 4 new Themes Bug fixes
Themeselecter Easy Easing “today” checkbox for last Update E-mail addresses are now encoded (simple spam protection) Bug fixes
Thanks so much to
List of all the kind people who donated:
If you wan't to get into this list please donate any amount
I spent a lot of time on this thing. Nevertheless it's still not finished. I like to improve it wherever I can and appreciate your feedback.
Best wishes
Xaver Birsak, revaxarts.com