From da9b0e3e807f05831c00b2f02a16b76eafbb6743 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Fri, 26 Jun 2015 21:56:43 +0200 Subject: [PATCH] [doc] sync doc with latest wiki, build HTML --- doc/Home.html | 137 ++++++++++++++++++++++------------ doc/Home.md | 125 ++++++++++++++++++++----------- doc/Ideas-for-plugins.html | 26 ------- doc/Ideas-for-plugins.md | 11 --- doc/Running-unit-tests.html | 143 ++++++++++++++++++++++++++++++++++++ doc/Running-unit-tests.md | 127 ++++++++++++++++++++++++++++++++ doc/_Sidebar.html | 70 ------------------ doc/_Sidebar.md | 37 ---------- doc/images/firefoxshare.png | Bin 0 -> 757 bytes 9 files changed, 443 insertions(+), 233 deletions(-) delete mode 100644 doc/Ideas-for-plugins.html delete mode 100644 doc/Ideas-for-plugins.md create mode 100644 doc/Running-unit-tests.html create mode 100644 doc/Running-unit-tests.md delete mode 100644 doc/_Sidebar.html delete mode 100644 doc/_Sidebar.md create mode 100644 doc/images/firefoxshare.png diff --git a/doc/Home.html b/doc/Home.html index e4d117f1..2cb54c86 100644 --- a/doc/Home.html +++ b/doc/Home.html @@ -14,8 +14,7 @@

Shaarli wiki

Welcome to the Shaarli wiki! Here you can find some info on how to use, configure, tweak and solve problems with your Shaarli. For general info, read the README.

-

If you have any questions or ideas, please join the chat (also reachable via IRC), post them in our general discussion or read the current issues. If you've found a bug, please create a new issue.

-

If you'd like a feature added, see if it fits in the list of Ideas for Plugins and update the corresponding bug report.

+

If you have any questions or ideas, please join the chat (also reachable via IRC), post them in our general discussion or read the current issues. If you've found a bug, please create a new issue. If you would like a feature added to Shaarli, check the issues labeled feature, enhancement, and plugin.

Note: This documentation is available online at https://github.com/shaarli/Shaarli/wiki, and locally in the doc/ directory of your Shaarli installation.


@@ -25,7 +24,9 @@
  • Basic Usage

  • Other usage examples

  • -
  • Related software
  • +
  • Related software

    +
  • Other links
  • FAQ

    This bookmarklet button in compatible with Firefox, Opera, Chrome and Safari. Under Opera, you can't drag'n drop the button: You have to right-click on it and add a bookmark to your personal toolbar.

    +

    Add Shaarli as a sharing service to Firefox

    + + +

    Other usage examples

    Shaarli can be used:

    -

    +

    Configuration

    Main data/options.php file

    To change the configuration, create the file data/options.php, example:

    @@ -153,10 +174,10 @@
  • BAN_AFTER (4) : An IP address will be banned after this many failed login attempts.
  • BAN_DURATION (1800) : Duration of ban (in seconds). (1800 seconds = 30 minutes)
  • OPEN_SHAARLI (false) : If you set this option to true, anyone will be able to add/modify/delete/import/exports links without having to login.
  • -
  • HIDE_TIMESTAMPS (false) : If you set this option to true, the date/time of each link will not be displayed (including in RSS Feed).
  • +
  • HIDE_TIMESTAMPS (false) : If you set this option to true, the date/time of each link will not be displayed (including in RSS Feed).#related-software
  • ENABLE_THUMBNAILS (true) : Enable/disable thumbnails.
  • RAINTPL_TMP (tmp/) : Raintpl cache directory (keep the trailing slash!)
  • -
  • `RAINTPL_TPL (tpl/) : Raintpl template directory (keep the trailing slash!). Edit this option if you want to change the rendering template (page structure) used by Shaarli. See Changing template
  • +
  • RAINTPL_TPL (tpl/) : Raintpl template directory (keep the trailing slash!). Edit this option if you want to change the rendering template (page structure) used by Shaarli. See Changing template
  • CACHEDIR ('cache') : Directory where the thumbnails are stored.
  • ENABLE_LOCALCACHE (true) : If you have a limited quota on your webspace, you can set this option to false: Shaarli will not generate thumbnails which need to be cached locally (vimeo, flickr, etc.). Thumbnails will still be visible for the services which do not use the local cache (youtube.com, imgur.com, dailymotion.com, imageshack.us)
  • UPDATECHECK_FILENAME ($GLOBALS['config']['DATADIR'].'/lastupdatecheck.txt') : name of the file used to store available shaarli version.
  • @@ -164,7 +185,8 @@
  • ENABLE_UPDATECHECK: Determines whether Shaarli check for new releases at https://github.com/shaarli/Shaarli
  • SHOW_ATOM (false) : Show an ATOM Feed button next to the Subscribe (RSS) button. ATOM feeds are available at the address ?do=atom regardless of this option.
  • ARCHIVE_ORG (false) : For each link, display a link to an archived version on archive.org
  • -
  • ENABLE_RSS_PERMALINKS (true): choose whether the RSS item title link points directly to the link, or to the entry on Shaarli (permalink). true is the original Shaarli bahevior (point directly to the link)
  • +
  • ENABLE_RSS_PERMALINKS (true): choose whether the RSS item title link points directly to the link, or to the entry on Shaarli (permalink). true is the original Shaarli bahevior (point directly to the link)
  • +
  • HIDE_PUBLIC_LINKS (false): setting this to true hides all links, even public ones, for non-logged in users.
  • Changing theme

    Changing template

    -

    | 💥 | This feature is currently being worked on and will be improved in the next releases. Experimental. |
    |---------|---------|

    +

    | WARNING | This feature is currently being worked on and will be improved in the next releases. Experimental. |
    |---------|---------|

    $GLOBALS['config']['RAINTPL_TPL'] = 'tpl/my-template/' ;

    -

    You can find a list of compatible templates in Related Software

    +

    You can find a list of compatible templates in Related Software

    Backup

    You have two ways of backing up your database: