Get Docs Root

Retrieve the value of the DOCS_ROOT environment variable. Use this skill whenever you need to determine the documentation root directory for the current environment, or when a workflow requires knowledge of DOCS_ROOT. Use when this capability is needed.

tomevault-io 7f045f0 2 files · 1.6 KB Updated

File contents

Get Docs Root

Overview

Usage

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

bash scripts/get_docs_root.sh
  • 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.


Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/nagasakah--devcontainer--get-docs-root commit 7f045f0ae3

Frequently asked questions

npx skillmds@latest add tomevault-io/get-docs-root