Lacey-Anne Sanderson a38f0e4497 Merge pull request #699 from tripal/684-tv3-widget_docs vor 6 Jahren
..
_images c3edddf7a5 data structurs vor 6 Jahren
_static ffd12f7f71 Theme Rtd's: added @almasaeed2010's suggestions. vor 6 Jahren
dev_guide e34ed2e7ab Updated docs with Bradford's suggestions. vor 6 Jahren
user_guide 4b03d8bff7 updated publishing code to properly use job object for reporting progress vor 6 Jahren
Makefile 9269ca5151 init rtd vor 6 Jahren
README.md 783cc0b493 Added our current syntax to the guide. vor 6 Jahren
conf.py 386a88792d Merge pull request #651 from tripal/650-theme_rtd vor 6 Jahren
dev_guide.rst ae0c172b1e Added documentation :-) vor 6 Jahren
index.rst 12ab113686 replace some lorem titles vor 6 Jahren
make.bat 9269ca5151 init rtd vor 6 Jahren
tripal_doxygen.config cd364447d6 Working on updating in-line documenation for Tv3 API release vor 7 Jahren
user_guide.rst 190ce9be68 Merge branch '7.x-3.x' into revert-663-revert-628-541-tv3-ajax_fields vor 6 Jahren

README.md

The Tripal documentation is written in Restructured Text, compiled with Sphinx, and built/hosted with ReadTheDocs. This directory, when compiled, is hosted at https://tripal.readthedocs.io/en/latest/

For minor changes, you can simply Edit the file using the Github editor, which will allow you to make a Pull Request. Once approved, your changes will be reflected in the documentation automatically!

Guide

Install Sphinx

For minor changes, you don't need to build the documentation! If you want to see how your changes will look on the built site, however, you will need Sphinx installed.

For more information, please see the Sphinx setup guide: http://www.sphinx-doc.org/en/master/usage/quickstart.html

Building your changes

For more extensive edits, or when contributing new guides, you should build the documentation locally. From the docs root (eg /var/www/html/sites/all/modules/tripal/docs/, execute make html. The built site will be in docs/_build/html/index.html.

Tripal conventions

Please follow these guidelines when updating our docs. Let us know if you have any questions or something isn't clear.

Please place images in the same folder as the guide text file, following the convention [file_name].[n].[optional description].[extension]. For example, configuring_page_display.3.rearrange.png or configuring_page_display.1.png are both located in docs/user_guide/ and are part of the configuring_page_display.rst guide.

We currently use the following syntax:

Title of File (using title case)
=================================

Introduction text.

Section Title
-------------

We use double backticks to indicate ``inline-code`` including file names, function and method names, paths, etc.

Longer code-blocks should begin with the ``.. code-block:: [type]`` directive and should be indented at least one 
level. There should also be a blank line before and after it as shown below.

.. code-block:: sql
  if ($needs_documentation) {
      use $these_guidelines;
      $contribute_docs = $appreciated;
  }

Section 1.1 Title
^^^^^^^^^^^^^^^^^

The use of appropriate sections makes reading documentation and later specific details easier. Sub sections such 
as this one will be hidden unless the main section is already selected.