Files
bruno 803cf51cea 🐳 优化Docker部署流程,支持3001端口和registry:5003
- 修复Dockerfile构建问题,暂时禁用ideal-image插件
- 更新所有配置文件中的registry端口为5003
- 添加.dockerignore文件优化构建性能
- 创建docker-compose.yml文件支持本地部署
- 添加部署脚本scripts/deploy-docker.sh
- 更新Gitea Actions工作流,添加Docker部署步骤
- 创建DOCKER_DEPLOYMENT.md部署文档
- 支持通过3001端口提供lingjingwanxiang web portal服务
2025-07-21 21:51:15 +08:00

31 lines
1.1 KiB
TypeScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { type ReactNode } from 'react';
type ContextValue = {
/**
* The item that the user last opened, `null` when there's none open. On
* initial render, it will always be `null`, which doesn't necessarily mean
* there's no category open (can have 0, 1, or many being initially open).
*/
expandedItem: number | null;
/**
* Set the currently expanded item, when the user opens one. Set the value to
* `null` when the user closes an open category.
*/
setExpandedItem: (a: number | null) => void;
};
/**
* Should be used to wrap one sidebar category level. This provider syncs the
* expanded states of all sibling categories, and categories can choose to
* collapse itself if another one is expanded.
*/
export declare function DocSidebarItemsExpandedStateProvider({ children, }: {
children: ReactNode;
}): JSX.Element;
export declare function useDocSidebarItemsExpandedState(): ContextValue;
export {};