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/Theming.html | 182 ------------------------------------------------------- 1 file changed, 182 deletions(-) delete mode 100644 doc/Theming.html (limited to 'doc/Theming.html') diff --git a/doc/Theming.html b/doc/Theming.html deleted file mode 100644 index 6b5dac35..00000000 --- a/doc/Theming.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - Shaarli – Theming - - - - - - -
- -
-

Theming

-

Foreword

-

There are two ways of customizing how Shaarli looks:

-
    -
  1. by using a custom CSS to override Shaarli's CSS
  2. -
  3. by using a full theme that provides its own RainTPL templates, CSS and Javascript resources
  4. -
-

Custom CSS

-

Shaarli's appearance can be modified by adding CSS rules to:

- -

This file allows overriding rules defined in the template CSS files (only add changed rules), or define a whole new theme.

-

Note: Do not edit tpl/default/css/shaarli.css! Your changes would be overridden when updating Shaarli.

-

See also Download CSS styles from an OPML list

-

Themes

-

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

-

Installation:

- -

Community CSS & themes

-

Custom CSS

- -

Themes

- -

Shaarli forks

- -

Example installation: AlbinoMouse theme

-

With the following configuration:

- -
$ cd ~/public_html
-
-# clone repositories
-$ git clone https://github.com/shaarli/Shaarli.git shaarli
-$ pushd shaarli/tpl
-$ git clone https://github.com/alexisju/albinomouse-template.git
-$ popd
-
-# set access rights for Apache
-$ chgrp -R http shaarli
-$ chmod g+rwx shaarli shaarli/cache shaarli/data shaarli/pagecache shaarli/tmp
-

Get config written:

- -

Edit Shaarli's configuration|Shaarli configuration:

-
# the file should be owned by Apache, thus not writeable => sudo
-$ sudo sed -i s=tpl=tpl/albinomouse-template=g shaarli/data/config.php
- - -- cgit v1.2.3