doc22940 / grav-plugin-hypothesis

This Grav plugin displays the Hypothesis sidebar on your site, supporting public or private annotations on any page.

Home Page:http://demo.hibbittsdesign.org/grav-hypothesis-plugin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hypothesis Plugin

The Hypothesis Plugin is for Grav CMS and displays the Hypothesis sidebar on your Grav site.

Installation

Installing the Hypothesis plugin can be done in one of two ways. The GPM (Grav Package Manager) installation method enables you to quickly and easily install the plugin with a simple terminal command, while the manual method enables you to do so via a zip file.

GPM Installation (Preferred)

The simplest way to install this plugin is via the Grav Package Manager (GPM) through your system's terminal (also called the command line). From the root of your Grav install type:

bin/gpm install hypothesis

This will install the Hypothesis plugin into your /user/plugins directory within Grav. Its files can be found under /your/site/grav/user/plugins/hypothesis.

Manual Installation

To install this plugin, just download the zip version of this repository and unzip it under /your/site/grav/user/plugins. Then, rename the folder to hypothesis. You can find these files on GitHub or via GetGrav.org.

You should now have all the plugin files under

/your/site/grav/user/plugins/hypothesis

NOTE: This plugin is a modular component for Grav which requires Grav and the Error and Problems to operate.

Configuration

Before configuring this plugin, you should copy the user/plugins/hypothesis/hypothesis.yaml to user/config/plugins/hypothesis.yaml and only edit that copy.

Here is the default configuration and an explanation of available options:

enabled: true

Page Options (Admin Panel)

'Hypothesis' Admin page option

Page Options (Markdown)

Once the plugin is installed, Grav pages will support the following Page Header/FrontMatter option:

hide_hypothesis: true    # hide Hypothesis sidebar on this page

About

This Grav plugin displays the Hypothesis sidebar on your site, supporting public or private annotations on any page.

http://demo.hibbittsdesign.org/grav-hypothesis-plugin/

License:MIT License


Languages

Language:PHP 100.0%