定制 towardstudio/websitedocumentation 二次开发

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

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

towardstudio/websitedocumentation

最新稳定版本:4.1.2

Composer 安装命令:

composer require towardstudio/websitedocumentation

包简介

Add Style Guide & CMS Guide to your website

README 文档

README

Creates two links within admin for Style Guide and CMS Guide

Requirements

This plugin requires Craft CMS 5+.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:
cd /path/to/project/craft
  1. Then tell Composer to load the plugin:
composer require towardstudio/websitedocumentation
  1. In the Control Panel, go to Settings → Plugins and click the “Install” button for Website Documentation.

Usage

Installing Demo Templates

Once the plugin has installed you will see a new menu item called Documentation.

If you go to Plugin Settings -> Install Templates and click install, this will copy the default guides to your templates folder.

Within this folder you can go to Layouts -> CMS Guide / Styleguide and update the paths to where your CSS and JS live.

General Settings

Within General Settings you can add a logo, and choose colours which will be displayed across both Style and CMS Guides.

CMS Guide Settings

Here you can create the structure for your CMS Guide and add some default entries to get you started.

Adding new sections to the styleguide

If you're using the demo templates, you can add a new section by opening up the _config.twig file and adding new items to the Object. Each item can have a Sub menu as well.

The naming of these items are used in kebab case for the file in the sections folder. For example if you call a section Heroes you'll name your file heroes.twig.

Toward Disclaimer

Brought to you by Toward

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: Twig

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固