npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@alicloud/console-toolkit-plugin-docs

v1.2.64

Published

console toolkit plugin for build docs

Downloads

26

Readme

@alicloud/console-toolkit-plugin-docs

@alicloud/console-toolkit-plugin-docs 是一套基于 webpack 的文档、demo 开发环境。(由 csr632 开发的 @alicloud/console-toolkit-preset-docs 修改而来)
可以将文档分拆到各自项目中进行维护,方便随着项目源代码开发进行发布,在官网站点中,可以将各个仓库中文档汇集起来,给用户提供全面的文档。
示例项目:

使用文档

不建议单独使用,可以通过 @alicloud/console-toolkit-preset-component 进行使用。
consoleOSId 需使用符合 URL 规范的字符!!!

参数文档

后续补充...

配置文件示例

import path from 'path';

module.exports = {
  presets: [
    [
      '@alicloud/console-toolkit-preset-component',
      {
        moduleName: 'docs-example',
        useTypescript: true,
        docs: {
          consoleOSId: 'docs-example',
          externals: [
            {
              moduleName: '@alicloud/test-button',
              usePathInDev: path.resolve(__dirname, '../src/index.ts'),
            },
            'styled-components',
          ],
        },
      },
    ],
  ],
};

移动端配置文件示例

移动端 Demo 容器组件开发中...

import path from "path";

module.exports = {
  presets: [
    [
      "@alicloud/console-toolkit-preset-component",
      {
        moduleName: "mobile-docs-example",
        useTypescript: true,
        docs: {
          consoleOSId: "mobile-docs-demo",
          demoType: "mobile",
          externals: [
            {
              moduleName: "@ali/console-mobile-components-basic-list",
              usePathInDev: path.resolve(__dirname, "../src/index.tsx"),
            },
            "styled-components",
          ],
          demoOptsPath: path.resolve(__dirname, "./demoOpts"),
        },
      },
    ],
  ],
};

开发文档

src 目录:插件基础代码
src2 目录:生成文档的预览页面代码

相关依赖

本项目依赖 docs-sdk 中部分依赖。