Skip to content

Commit 902c61b

Browse files
committed
Rename environment variable controlling public docs build
1 parent 09c1228 commit 902c61b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/_theme/main.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
{% block site_meta %}
44
{{ super() }}
5-
{# Disable search indexing unless we're building for ReadTheDocs #}
6-
{% if not config.extra.readthedocs %}
5+
{# Disable search indexing unless we're building for public consumption #}
6+
{% if not config.extra.build_public %}
77
<meta name="robots" content="noindex">
88
{% endif %}
99
{% endblock %}

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ plugins:
4242
show_root_toc_entry: false
4343
show_source: false
4444
extra:
45-
readthedocs: !ENV READTHEDOCS
45+
build_public: !ENV BUILD_PUBLIC
4646
social:
4747
- icon: fontawesome/brands/github
4848
link: https://github.com/netbox-community/netbox

0 commit comments

Comments
 (0)