From 902c61bf47ca553eea8c98d63e7ae491318c3dfe Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Tue, 21 May 2024 15:22:40 -0400 Subject: [PATCH] Rename environment variable controlling public docs build --- docs/_theme/main.html | 4 ++-- mkdocs.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/_theme/main.html b/docs/_theme/main.html index 4dfc4e14e8..99907bf42f 100644 --- a/docs/_theme/main.html +++ b/docs/_theme/main.html @@ -2,8 +2,8 @@ {% block site_meta %} {{ super() }} - {# Disable search indexing unless we're building for ReadTheDocs #} - {% if not config.extra.readthedocs %} + {# Disable search indexing unless we're building for public consumption #} + {% if not config.extra.build_public %} {% endif %} {% endblock %} diff --git a/mkdocs.yml b/mkdocs.yml index 6f7ea7045b..cf1e66cead 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -42,7 +42,7 @@ plugins: show_root_toc_entry: false show_source: false extra: - readthedocs: !ENV READTHEDOCS + build_public: !ENV BUILD_PUBLIC social: - icon: fontawesome/brands/github link: https://github.com/netbox-community/netbox