#What Is Loft Docs? Loft Docs is the last project documentation tool you'll ever need. Loft Docs provides one central place to manage your documentation allowing you to compose in Markdown and have the benefits of simultaneous output to the following formats:
- An indexed, multi-page, stand-alone, searchable (via js) website
- HTML
- Plaintext
- MediaWiki
- Advanced Help for Drupal
Gone are the days of having to update all your different documentation locations!
For installation instructions scroll down.
- Tasklist todo item aggregation and sorting.
- Output to many popular formats.
- Compilation hooks for before and after.
- Custom website theming.
- Searchable pages (in the website output)
- To read documentation you probably just want to load
public_html/index.htmlin a browser and proceed from there. - Plaintext documentation may also be available in
text/. - MediaWiki documentation if supported will be found in
mediawiki/.
-
You will concern yourself with the
/sourcedirectory, creating your source markdown files here. This is the source of all documentation. -
Only files in the
sourcedirectory should be edited. All other files get created during compiling. -
Images can be added to
source/images. -
Use relative links when linking to other pages inside
source. -
Use absolute links when linking to anything outside of
source.
- You will need to read about compiling below; this is the step needed to generate derivative documentation from
/source.
You should do the following to link internally to source/page2.html
<a href="page2.html">Link to Next Page</a>
If you are implementing any hooks and you need component or include files, which compile to markdown files in /source:
- Put these component files in
/partsnot in/source. - Make sure the generated files begin with the underscore, e.g.,
_my_compiled_file.md. That will indicate these files are compiled and can be deleted usingcore/clean.
Loft Docs provides a core update feature as seen below. From the root directory type:
./core/update
The rationalle behind this project is that it is easy to write markdown files, and it is easy to share a static html based documentation file, and it is easy to use Drupal Advanced Help module, and it is easy to version your documentation in git; but to do all this together at once… was NOT EASY.
But now with Loft Docs... it's easy.
##Contact
- In the Loft Studios
- Aaron Klump - Developer
- PO Box 29294 Bellingham, WA 98228-1294
- aim: theloft101
- skype: intheloftstudios
- d.o: aklump
- http://www.InTheLoftStudios.com