# Customize docs plugin text link

**URL:** <https://meta.discourse.org/t/customize-docs-plugin-text-link/278644>\
**Category:** Support\
**Tags:** docs\
**Created:** [September 12, 2023, 3:53am UTC](https://meta.discourse.org/t/customize-docs-plugin-text-link/278644 "2023-09-12T03:53:18Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [November 29, 2023, 4:27pm UTC](https://meta.discourse.org/t/customize-docs-plugin-text-link/278644/9 "2023-11-29T16:27:14Z")

</div>

A very short summary is that environment variables `DISCOURSE_XYZ` are available in code as `GlobalSettings.xyz` or `SiteSettings.xyz`.

In this specific case you can find `GlobalSettings.docs_path` [here](https://github.com/discourse/discourse-docs/blob/ca8501aaf5eeb68e8128653f7f6b52b6c8eca8d7/lib/docs/engine.rb#L9C1-L9C1).

---

_[View the full topic](https://meta.discourse.org/t/customize-docs-plugin-text-link/278644)._
