feat: add license files for JavaScript assets and implement DocItem component

- Added LICENSE.txt file for JavaScript assets in the build directory, including licenses for NProgress and React libraries.
- Introduced a new runtime JavaScript file for handling module loading.
- Created a new DocItem component to manage document rendering and metadata handling in the Docusaurus theme.
- Implemented tests for the docs proxy server to ensure proper routing to the configured docsPort.
This commit is contained in:
catlog22
2026-02-06 10:25:24 +08:00
parent f9188eb0b6
commit a9b9ec48f1
91 changed files with 780 additions and 217 deletions

View File

@@ -4,8 +4,8 @@
<meta charset="UTF-8">
<meta name="generator" content="Docusaurus v3.9.2">
<title data-rh="true">/cli:cli-init | CCW Help Documentation</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="http://localhost:3001/docs/commands/cli/cli-init"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" property="og:locale:alternate" content="zh_CN"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="/cli:cli-init | CCW Help Documentation"><meta data-rh="true" name="description" content="Initialize CLI configuration for workspace with automatic technology detection"><meta data-rh="true" property="og:description" content="Initialize CLI configuration for workspace with automatic technology detection"><link data-rh="true" rel="icon" href="/docs/img/favicon.ico"><link data-rh="true" rel="canonical" href="http://localhost:3001/docs/commands/cli/cli-init"><link data-rh="true" rel="alternate" href="http://localhost:3001/docs/commands/cli/cli-init" hreflang="en"><link data-rh="true" rel="alternate" href="http://localhost:3001/docs/zh/commands/cli/cli-init" hreflang="zh-CN"><link data-rh="true" rel="alternate" href="http://localhost:3001/docs/commands/cli/cli-init" hreflang="x-default"><script data-rh="true" type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"/cli:cli-init","item":"http://localhost:3001/docs/commands/cli/cli-init"}]}</script><link rel="stylesheet" href="/docs/assets/css/styles.356d38c2.css">
<script src="/docs/assets/js/runtime~main.c1a45787.js" defer="defer"></script>
<script src="/docs/assets/js/main.e65bbc64.js" defer="defer"></script>
<script src="/docs/assets/js/runtime~main.b2877d5c.js" defer="defer"></script>
<script src="/docs/assets/js/main.b2873c5b.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
<svg style="display: none;"><defs>