[PR #1013] [CLOSED] Add SHOW_DOC Environment Variable #1059

Closed
opened 2026-02-26 00:30:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/healthchecks/healthchecks/pull/1013
Author: @tgrl84
Created: 6/10/2024
Status: Closed

Base: masterHead: show_doc


📝 Commits (4)

📊 Changes

12 files changed (+37 additions, -4 deletions)

View changed files

📝 docker/.env.example (+1 -0)
📝 hc/accounts/models.py (+1 -0)
📝 hc/front/context_processors.py (+3 -0)
📝 hc/front/views.py (+1 -0)
📝 hc/payments/context_processors.py (+1 -0)
📝 hc/settings.py (+4 -0)
📝 templates/base.html (+2 -2)
📝 templates/docs/self_hosted_configuration.html-fragment (+7 -0)
📝 templates/docs/self_hosted_configuration.md (+12 -0)
📝 templates/emails/login-body-html.html (+2 -1)
📝 templates/emails/login-body-text.html (+2 -0)
📝 templates/front/projects.html (+1 -1)

📄 Description

This pull request introduces a new environment variable, SHOW_DOC.
This variable allows to control the display of documentation links.
This provides greater flexibility in configuring the user interface based on the needs of different deployment environments.
Capture d’écran du 2024-06-10 10-55-33


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/healthchecks/healthchecks/pull/1013 **Author:** [@tgrl84](https://github.com/tgrl84) **Created:** 6/10/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `show_doc` --- ### 📝 Commits (4) - [`21365f3`](https://github.com/healthchecks/healthchecks/commit/21365f35d3ceb4e878f9456117b2c3de2c6bfe4c) add env var SEARCH_DOC - [`75d7d96`](https://github.com/healthchecks/healthchecks/commit/75d7d966759ef44958d60fc7560afd06be02bff5) disable doc in mail - [`4af38db`](https://github.com/healthchecks/healthchecks/commit/4af38dbc1af246f9c25a1e7a8a0f3f0e260d0703) remove email doc link when show_doc is disable - [`c40c06b`](https://github.com/healthchecks/healthchecks/commit/c40c06b9da3e48f3e2dd4b6b617248c589038e8e) fix ### 📊 Changes **12 files changed** (+37 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docker/.env.example` (+1 -0) 📝 `hc/accounts/models.py` (+1 -0) 📝 `hc/front/context_processors.py` (+3 -0) 📝 `hc/front/views.py` (+1 -0) 📝 `hc/payments/context_processors.py` (+1 -0) 📝 `hc/settings.py` (+4 -0) 📝 `templates/base.html` (+2 -2) 📝 `templates/docs/self_hosted_configuration.html-fragment` (+7 -0) 📝 `templates/docs/self_hosted_configuration.md` (+12 -0) 📝 `templates/emails/login-body-html.html` (+2 -1) 📝 `templates/emails/login-body-text.html` (+2 -0) 📝 `templates/front/projects.html` (+1 -1) </details> ### 📄 Description This pull request introduces a new environment variable, SHOW_DOC. This variable allows to control the display of documentation links. This provides greater flexibility in configuring the user interface based on the needs of different deployment environments. ![Capture d’écran du 2024-06-10 10-55-33](https://github.com/healthchecks/healthchecks/assets/71886156/4fa96cad-a72d-4124-ac14-e60b8e60f733) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 00:30:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#1059
No description provided.