neos/doctools 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

neos/doctools

最新稳定版本:4.2.0

Composer 安装命令:

composer require neos/doctools

包简介

Tools for generating and rendering Flow and Neos documentation

README 文档

README

Requirements

We need Sphinx (https://www.sphinx-doc.org/) to render documentation. So in case you want to create HTML documentation from the files generated by this package, you can use the following command to install it:

pip install -U sphinx

Or read the official documentation for more installation methods.

References

The DocTools package can also generate references based on source code. An example for that is the FluidAdaptor ViewHelper reference in the Flow documentation. The process is configured like this:

Neos:
  DocTools:
    references:
      FluidAdaptorViewHelpers:
        title: 'FluidAdaptor ViewHelper Reference'
        savePathAndFilename: '%FLOW_PATH_PACKAGES%Framework/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/FluidAdaptorViewHelperReference.rst'
        affectedClasses:
          parentClassName: 'Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper'
          classNamePattern: '/^Neos\\FluidAdaptor\\ViewHelpers\\.*$/i'
        parser:
          implementationClassName: 'Neos\DocTools\Domain\Service\FluidViewHelperClassParser'
          options:
            namespaces:
              f: 'Neos\FluidAdaptor\ViewHelpers'

A reference can be generated by the following command::

./flow reference:render [--reference <reference>]

Command References

The DocTools package can also generate CLI command references. The process is configured like this:

Neos:
  DocTools:
    commandReferences:
      'Flow:FlowCommands':
        title: 'Flow Command Reference'
        packageKeys:
          - 'Neos.Flow'
          - 'Neos.Party'
          - 'Neos.FluidAdaptor'
          - 'Neos.Kickstart'
          - 'Neos.Welcome'
        savePathAndFilename: '%FLOW_PATH_PACKAGES%Framework/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/CommandReference.rst'

A reference can be generated by the following command:

./flow commandreference:render [--reference <reference>]

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 4
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固