定制 typo3/cms-documentation 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

typo3/cms-documentation

最新稳定版本:v9.3.3

Composer 安装命令:

composer require typo3/cms-documentation

包简介

Backend module for TYPO3 to list and show documentation of loaded extensions as well as custom documents.

README 文档

README

This extension provides a Backend module for TYPO3 to show both the documentation of local extensions and custom documents.

The Backend module features two actions:

  1. Show Documentation
  2. Download Documentation

Show Documentation

This view shows a list of available documents:

  • Extensions with a manual rendered as html or pdf;
  • Extensions with an OpenOffice manual (sxw);
  • Official TYPO3 documentation (tutorials, references, ...) available locally;
  • Custom documents, rendered either as html or pdf.

To be listed, documents should be stored within typo3conf/Documentation/<documentation-key>/<language>/<format>/:

documentation-key
Extensions use the documentation key typo3cms.extensions.<extension-key>.
language
Either "default" (for English) or a proper locale identifying your translated documentation. E.g., fr_FR, fr_CA, de_DE ...
format
Either html or pdf. Additional formats may be supported by 3rd party extensions (such as EXT:sphinx).

Registering Custom Documents

  1. Choose a documentation key such as <company>.<document-name>

  2. Put your documentation as HTML (main file must be Index.html) within typo3conf/Documentation/<documentation-key>/default/html/ or as PDF (any name will fit) within typo3conf/Documentation/<documentation-key>/default/pdf/

  3. Create a text description file composer.json containing the title and description of your documentation and place it within typo3conf/Documentation/<documentation-key>/default/:

    {
        "name": "Put some title here",
        "type": "documentation",
        "description": "Put some description here."
    }
  4. [optionally] Put a custom icon (either icon.png or icon.gif) within directory typo3conf/Documentation/<documentation-key>/

Download Documentation

This view is only accessible to TYPO3 administrators. It shows a form to retrieve rendered documentation for loaded extensions and to fetch a copy of official TYPO3 manuals, guides and references from https://docs.typo3.org.

Configuration

There are two User TSconfig options available:

mod.help_DocumentationDocumentation.documents.hide
Comma-separated list of keys of documentation that should be hidden from the user.
mod.help_DocumentationDocumentation.documents.show
Comma-separated list of keys of documentation that should be shown to the user (others are implicitly hidden).

统计信息

  • 总下载量: 74.55k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 6
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2017-10-30