docs/_includes
Sebastiaan van Stijn 80c6d185e3
Only fix links on reference pages
The JavaScript "link fix" looks to be only needed for pages
where Markdown is included, and which contain relative links.

Now that we modified all local includes to use absolute links,
the only location where links are not properly generated, is
in the reference documentation.

If broken links are found elsewhere in the website, those links
are legitimately broken, and should be fixed in the markdown
source, not fixed-up afterwards.

This patch moves the javascript to the cli.md include, so that
the script is only run on the reference pages instead of on every
page.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 10:27:57 +02:00
..
components Update UCP/DTR offline instructions 2017-08-15 23:31:15 -07:00
content _includes: use absolute links instead of links to Markdown files 2020-04-23 10:00:42 +02:00
api-version-matrix.md Add Engine API version v1.40 2019-06-13 15:05:36 +02:00
archive-list.html Enable hide/show of elements that don't apply to archives (#4798) 2017-10-04 14:59:29 -07:00
cli.md Only fix links on reference pages 2020-04-23 10:27:57 +02:00
d4a_buttons.md Standardize on site-wide variables for Docker and component versions (#4792) 2017-10-05 16:36:03 -07:00
docker_ce_ee.md remove unused images 2020-04-12 22:35:10 +02:00
docker_ee.md _includes: use absolute links instead of links to Markdown files 2020-04-23 10:00:42 +02:00
ee-linux-install-reuse.md _includes: use absolute links instead of links to Markdown files 2020-04-23 10:00:42 +02:00
ee_dropdown.html Edited the ee_dropdown.html file (the header for the UCP/DTR previous version note) for clarity. 2020-01-09 16:09:45 +01:00
enterprise_label_shortform.md Fix of indenting (attempt 2). 2019-12-20 14:32:09 +01:00
experimental-feature.md DESKTOP-1299 Adding experimental blurb in the Desktop community docs 2019-06-10 15:09:21 +01:00
experimental.md Add link to CLI experimental features 2020-04-17 17:12:46 +01:00
footer.html Update Docs header and footer 2020-04-08 07:26:52 +01:00
github-pr.md replaced docker/docker with moby/moby (#2879) 2017-04-20 15:32:18 -05:00
global-header.html Update Docs header and footer 2020-04-08 07:26:52 +01:00
header.html CSS fixes for version selector, removing animations, and more (#5574) 2018-01-18 12:11:07 -08:00
install-script.md _includes: use absolute links instead of links to Markdown files 2020-04-23 10:00:42 +02:00
kubernetes-mac-win.md _includes: use absolute links instead of links to Markdown files 2020-04-23 10:00:42 +02:00
library-samples.md Use canonical URL for library images 2019-09-04 00:03:13 +02:00
navigation.html Speed up site rendering for authors (#5241) 2017-12-19 18:15:15 -08:00
read_time.html Implement per-page reading-time stats 2016-11-30 10:29:51 -08:00
side-menu.html Speed up site rendering for authors (#5241) 2017-12-19 18:15:15 -08:00
toc_pure_liquid.html Don't spam browser history when scrolling thru page 2018-10-11 22:41:48 -07:00
why_d4a.md Removed email to streamline (#6352) 2018-03-30 11:50:27 -07:00