We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6e38b2 commit ebe504cCopy full SHA for ebe504c
docs/_theme/main.html
@@ -2,8 +2,8 @@
2
3
{% block site_meta %}
4
{{ super() }}
5
- {# Disable search indexing unless we're building for ReadTheDocs (see #10496) #}
6
- {% if page.canonical_url != 'https://docs.netbox.dev/' %}
+ {# Disable search indexing unless we're building for ReadTheDocs #}
+ {% if not config.extra.readthedocs %}
7
<meta name="robots" content="noindex">
8
{% endif %}
9
{% endblock %}
mkdocs.yml
@@ -42,6 +42,7 @@ plugins:
42
show_root_toc_entry: false
43
show_source: false
44
extra:
45
+ readthedocs: !ENV READTHEDOCS
46
social:
47
- icon: fontawesome/brands/github
48
link: https://github.com/netbox-community/netbox
0 commit comments