External links
-
In
_config.ymlcheck thatnav_external_linksis not set, then build the site. -
Check that no external links are shown in the navigation panel.
-
In
_config.ymladd the following:nav_external_links: - title: This site on GitHub url: https://github.com/just-the-docs/just-the-docs-tests # hide_icon: trueThen 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.ymluncomment thehide_iconline, then rebuild the site. -
Check that the icon does not appear.
-
In
_config.ymluncomment indefaults:- scope: {path: ""} values: {nav_exclude: true}Then rebuild the site.
-
Check that the external link still appears.
-
In
_config.ymlreplacecollections:bycollections_hide:, andjust_the_docs:byjust_the_docs_hide:, then rebuild the site. -
Check that the external link still appears.
-
In
_config.ymlrevert the above changes.