From 0f137b36dcdafb5e857459462ab51c2ac7e5cc22 Mon Sep 17 00:00:00 2001 From: Lucas Bartholemy Date: Tue, 3 Nov 2020 11:19:49 +0100 Subject: [PATCH] Restructured docs --- docs/DEVELOPER.md | 4 +++ README.md => docs/MANUAL.md | 60 +------------------------------------ docs/README.md | 35 ++++++++++++++++++++++ module.json | 1 + 4 files changed, 41 insertions(+), 59 deletions(-) create mode 100644 docs/DEVELOPER.md rename README.md => docs/MANUAL.md (73%) create mode 100644 docs/README.md diff --git a/docs/DEVELOPER.md b/docs/DEVELOPER.md new file mode 100644 index 00000000..f09e68d3 --- /dev/null +++ b/docs/DEVELOPER.md @@ -0,0 +1,4 @@ +# Developer + +Since CustomPages version v1.0 external modules can provide own targets through the **CustomPagesService**. + diff --git a/README.md b/docs/MANUAL.md similarity index 73% rename from README.md rename to docs/MANUAL.md index af115384..9d7a9ff4 100644 --- a/README.md +++ b/docs/MANUAL.md @@ -1,53 +1,4 @@ -[![Build Status](https://travis-ci.org/humhub/humhub-modules-custom-pages.svg?branch=master)](https://travis-ci.org/humhub/humhub-modules-custom-pages) - -## Description - -The custom pages modules allows the creation of customized **pages** and **snippets** as well as on space -global level. - -Depending on content type and target the following content types are available: - -- MarkDown (HumHub Markdown Richtext based page) -- Link (External link) -- Iframe -- Template -- Html (Only available for global pages for security reasons) -- PHP (requires further activation under `Administration -> Custom Pages -> Settings`) - -By default the module supports the following **targets** for global pages: - -- Top Navigation -- User Account Menu (Account Settings) -- Directory Menu -- No Specific target (Direct link) - -and global Snippets: - -- Dashboard -- Directory - -On space level the following page targets are supported by default: - -- Space Navigation - -and snippets: - -- Stream Sidebar - -Since v.1.0 external modules can provide own targets through the **CustomPagesService**. - -__Module website:__ -__Author:__ luke, buddh4 -__Author website:__ [humhub.org](http://humhub.org) - - -## Changelog - - - -## Bugtracker - - +# Manual ## Getting Started @@ -153,12 +104,3 @@ Another container example with a figure and floating text based upon a **image** ``` - - - - - - - - - diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 00000000..9021736c --- /dev/null +++ b/docs/README.md @@ -0,0 +1,35 @@ +# Custom Pages + +[![Build Status](https://travis-ci.org/humhub/humhub-modules-custom-pages.svg?branch=master)](https://travis-ci.org/humhub/humhub-modules-custom-pages) + +The custom pages modules allows the creation of customized **pages** and **snippets** (sidebar elements) as well as on space and on +global level. + +Depending on content type and target the following content types are available: + +- MarkDown (HumHub Markdown Richtext based page) +- Link (External link) +- Iframe +- Template +- Html (Only available for global pages for security reasons) +- PHP (requires further activation under `Administration -> Custom Pages -> Settings`) + +By default the module supports the following **targets** for global pages: + +- Top Navigation +- User Account Menu (Account Settings) +- Directory Menu +- No Specific target (Direct link) + +and global Snippets: + +- Dashboard +- Directory + +On space level the following page targets are supported by default: + +- Space Navigation + +and snippets: + +- Stream Sidebar \ No newline at end of file diff --git a/module.json b/module.json index 4a5032e0..e691751d 100644 --- a/module.json +++ b/module.json @@ -4,6 +4,7 @@ "description": "Allows admins to create custom pages (html or markdown) or external links to various navigations (e.g. top navigation, account menu).", "keywords": ["pages", "custom", "iframe", "markdown", "link", "navigation", "spaces"], "version": "1.1.0", + "homepage": "https://github.com/humhub/humhub-modules-custom-pages", "humhub": { "minVersion": "1.7" }