
Security News
vlt 1.5.0 Adds Agent Skills Management
vlt 1.5.0 links skills from JavaScript dependencies to coding agents, with lockfile versioning and Socket data to filter out known malicious packages.
@axew/jugg-plugin-doc
Advanced tools
插件。
用于方便快速地构建一个文档网站,有以下特点:
功能还在完善中...
在配置文件中添加插件。
// .juggrc.js
import { extendConfig } from '@axew/jugg';
export default extendConfig({
plugins: [
[
'@axew/jugg-plugin-doc',
{
source: {
docs: ['README.md'],
},
},
],
// 如果有涉及 Vue demo 的渲染,请添加对应的 vue 插件
'@axew/jugg-plugin-vue',
],
});
启动服务
$ jugg doc --dev
打包文档网站
$ jugg doc --build
配置项类型定义。
interface IOptions {
source?: Record<string, string[]>;
title?: string;
description?: string;
}
默认基于当前工作路径去寻找文件,支持 glob 匹配模式。该项中,docs 目前作为一个略微特殊的字段,在该字段中配置的文件届时会在一级菜单中展开。
{
"source": {
"docs": ["README.md", "docs/**/*.md"],
"item1": ["item1/**/*.md"]
}
}
当工作路径下不存在 TS 配置文件或者存在一份名为 tsconfig.json 时,此时都会选择加载一份内置的文件 jugg-plugin-doc/site/tsconfig.doc.json。
FAQs
Help to build document site.
We found that @axew/jugg-plugin-doc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Security News
vlt 1.5.0 links skills from JavaScript dependencies to coding agents, with lockfile versioning and Socket data to filter out known malicious packages.

Security News
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.