From 53ed6d7d1e678d7486337ce67a2f17b30bac21ac Mon Sep 17 00:00:00 2001 From: nodiscc Date: Thu, 26 Jan 2017 18:52:54 +0100 Subject: Generate HTML documentation using MkDocs (WIP) MkDocs is a static site generator geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML file. * http://www.mkdocs.org/ * http://www.mkdocs.org/user-guide/configuration/ Ref. #312 * remove pandoc-generated HTML documentation * move markdown doc to doc/md/, * mkdocs.yml: * generate HTML doc in doc/html * add pages TOC/ordering * use index.md as index page * Makefile: remove execute permissions from generated files * Makefile: rewrite htmlpages GFM to markdown conversion using sed: awk expression aslo matched '][' which causes invalid output on complex links with images or code blocks * Add mkdocs.yml to .gitattributes, exclude this file from release archives * Makefile: rename: htmldoc -> doc_html target * run make doc: pull latest markdown documentation from wiki * run make htmlpages: update html documentation --- doc/Plugins.html | 155 ------------------------------------------------------- 1 file changed, 155 deletions(-) delete mode 100644 doc/Plugins.html (limited to 'doc/Plugins.html') diff --git a/doc/Plugins.html b/doc/Plugins.html deleted file mode 100644 index 08ce8a86..00000000 --- a/doc/Plugins.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - Shaarli – Plugins - - - - - - -
- -
-

Plugins

-

Plugin installation

-

There is a bunch of plugins shipped with Shaarli, where there is nothing to do to install them.

-

If you want to install a third party plugin:

- -
| index.php
-| plugins/
-|---| custom_plugin/
-|   |---| custom_plugin.php
-|   |---| ...
-
- -

Plugin configuration

-

In Shaarli's administration page (Tools link), go to Plugin administration.

-

Here you can enable and disable all plugins available, and configure them.

-

administration screenshot

-

Plugin order

-

In the plugin administration page, you can move enabled plugins to the top or bottom of the list. The first plugins in the list will be processed first.

-

This is important in case plugins are depending on each other. Read plugins README details for more information.

-

Use case: The (non existent) plugin shaares_footer adds a footer to every shaare in Markdown syntax. It needs to be processed before (higher in the list) the Markdown plugin. Otherwise its syntax won't be translated in HTML.

-

File mode

-

Enabled plugin are stored in your config.php parameters file, under the array:

-
$GLOBALS['config'['ENABLED_PLUGINS']]('ENABLED_PLUGINS'].html)
-

You can edit them manually here.
-Example:

-
$GLOBALS['config'['ENABLED_PLUGINS'] = array(]('ENABLED_PLUGINS']-=-array(.html)
-    'qrcode', 
-    'archiveorg',
-    'wallabag',
-    'markdown',
-);
-

Plugin usage

-

Official plugins

-

Usage of each plugin is documented in it's README file:

- -

Third party plugins

-

See Community & related software

- - -- cgit v1.2.3