wpjscc/wn-nabu-theme
Composer 安装命令:
composer require wpjscc/wn-nabu-theme
包简介
An elegant theme designed for documentation sites.
README 文档
README
An elegant theme designed for documentation sites, using the powerful features of the Winter CMS Docs and Search plugins to provide a streamlined documentation browsing experience.
Requirements
- Winter CMS v1.2 or above, with the following plugins installed:
- Winter.Docs
- Winter.Search
- NodeJS v14.0 or above
- NPM v6.0 or above
Features
- Full integration of the Docs and Search plugin functionality to navigate and display multiple instances of documentation.
- Supports both user and developer Markdown documentation, as well as API documentation generated from PHP projects.
- Displays a light or dark theme depending on the operating system theme, but can be overridden by the user.
- Built entirely with Tailwind, allowing full flexibility of the look and feel of the site.
- AJAX driven navigation and client-side caching ensures documentation loads quick and can be navigated to even quicker.
Development
This theme has been built using Tailwind for the styling and Snowboard for the JavaScript functionality, taking advantage of the Mix asset compilation included in Winter CMS. To compile the theme, simply install the necessary libraries required for Mix:
php artisan mix:install
Then, you can compile the theme for production use:
php artisan mix:compile --production -p theme-nabu
You can also set up the theme to watch for changes, recompiling the theme each time a change is made to the stylesheets or templates:
php artisan mix:watch --production -p theme-nabu
By default, this theme is setup to not include the compiled assets in source control, as it is recommended that you include the compilation process above in a build or deployment script. However, if you wish to include the compiled assets in your source control, you may remove the following section from the .gitignore definition:
# Ignore compiled assets
assets/css/theme.css
assets/js/build/app.js
wpjscc/wn-nabu-theme 适用场景与选型建议
wpjscc/wn-nabu-theme 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 32 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 02 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「documentation」 「theme」 「docs」 「nabu」 「winter」 「winter cms」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 wpjscc/wn-nabu-theme 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wpjscc/wn-nabu-theme 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 wpjscc/wn-nabu-theme 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Bookdown.io With Bootswatch Styles And Prism Syntax Highlighting
Laravel package that generates RESTful API documentation in Markdown based on PHPDoc.
Api documentation generator for Laravel 5
Replacement for Swagger. It is built for Laravel
Laravel API documentation generating tool
A Bootstrap 4.x base theme for SilverStripe
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 11
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-11
