> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/sandbox/scripts.md).

# Scripts

* On every commit:
  * Scrape every markdown file for feature flag in vars
    * `FEATURE_FLAG_KEY`
    * `FEATURE_FLAG_NAME`
  * If page has a feature flag, render custom integration with request access button
  * If no flag, ensure no request access button is shown
  * If page has no feature flags, remove all tags
  * Create tags for the status of the feature flag
  * Replace table in feature availability doc with scraped flag metadata
    * Calculate URL of feature page
      * We have relative path to feature page in repo
      * Make a call to GitBook API to fetch site structure
      * Get the section of the site that is attached to the space which is linked to the parent folder of the feature page in the repo (space ID)
    * Request access button just pops modal inside of that page
  * Make a commit:
    * Updated feature page content
    * Table in feature availability page

FEEDBACK\_BUTTON
