Rename environment variable controlling public docs build

This commit is contained in:
Jeremy Stretch 2024-05-21 15:22:40 -04:00
parent 09c1228712
commit 902c61bf47
2 changed files with 3 additions and 3 deletions

View File

@ -2,8 +2,8 @@
{% block site_meta %} {% block site_meta %}
{{ super() }} {{ super() }}
{# Disable search indexing unless we're building for ReadTheDocs #} {# Disable search indexing unless we're building for public consumption #}
{% if not config.extra.readthedocs %} {% if not config.extra.build_public %}
<meta name="robots" content="noindex"> <meta name="robots" content="noindex">
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View File

@ -42,7 +42,7 @@ plugins:
show_root_toc_entry: false show_root_toc_entry: false
show_source: false show_source: false
extra: extra:
readthedocs: !ENV READTHEDOCS build_public: !ENV BUILD_PUBLIC
social: social:
- icon: fontawesome/brands/github - icon: fontawesome/brands/github
link: https://github.com/netbox-community/netbox link: https://github.com/netbox-community/netbox