Render documentation based on markdown files directly in the backend

1.1.1 2022-03-24 12:26 UTC

This package is auto-updated.

Last update: 2024-11-06 08:05:33 UTC


README

This extension adds an option to the Help menu called Project Documentation, that lets you deliver documentation about your project from within TYPO3 CMS backend.

Help

The extension also ships with a widget for the TYPO3 Dashboad extension to give you quick access to your project documentation.

Widget

The documentation is based on Markdown. This makes it easy to write documentation while you're building a custom extension, or afterward. You could include descriptions of content elements, release notes, instructions for raising issues or anything else that needs to be documented.

The JS library docsify transforms markdown files into beautiful HTML content.

Demo

Setup the extension

Download the extension. Use one of the following options:

  1. Composer: composer req georgringer/doc
  2. TER: Download extension from TER
  3. TYPO3 Backend: Download extension in Extension Manager

Configuration

Switch to Install Tool/Settings and customize the global configuration. As seen in the screenshot below, the following configuration options are available:

  • Documentation Root Path: Define the path to the Markdown files
  • Documentation Name: Documentation name as it appears in the sidebar
  • Dark mode: Enable the dark mode

Extension Configuration

Write the documentation

Without any documentation, this extension is not useful at all :)

Check out the sample documentation included in this extension which you can use as a guide EXT:doc/Resources/Private/ExampleDocs. See also the Markdown Cheatsheet as there are some nice features available.

When you create your own documentation make sure to put the folder with your markdown files in Resources/Private. Otherwise your markdown files may be publicly accessible.