External links
-
In
_config.yml
check thatnav_external_links
is not set, then build the site. -
Check that no external links are shown in the navigation panel.
-
In
_config.yml
add the following:nav_external_links: - title: This site on GitHub url: https://github.com/just-the-docs/just-the-docs-tests # hide_icon: true
Then rebuild the site.
-
Check that an external link appears once, with an icon, after the links to the ordinary pages, and before the collections.
-
In
_config.yml
uncomment thehide_icon
line, then rebuild the site. -
Check that the icon does not appear.
-
In
_config.yml
uncomment indefaults
:- scope: {path: ""} values: {nav_exclude: true}
Then rebuild the site.
-
Check that the external link still appears.
-
In
_config.yml
replacecollections:
bycollections_hide:
, andjust_the_docs:
byjust_the_docs_hide:
, then rebuild the site. -
Check that the external link still appears.
-
In
_config.yml
revert the above changes.