返回 Skill 列表
extension
分类: 开发与工程无需 API Key

get-docs-root

获取DOCS_ROOT环境变量的值。每当您需要确定当前环境的文档根目录,或者工作流程需要了解DOCS_ROOT时,请使用此技能。

person作者: jakexiaohubgithub

Get Docs Root

Overview

Usage

To retrieve the value of the DOCS_ROOT environment variable, execute the following script:

python3 scripts/get_docs_root.py
  • If DOCS_ROOT is set, the script will print its value.
  • If DOCS_ROOT is unset or empty, the script will print an empty line.

Use this skill whenever you need to programmatically determine the documentation root directory for the current environment, or when a workflow requires knowledge of DOCS_ROOT.