From 90609411621f1c2774f2a999817b29a8fe2f9646 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Wed, 23 Jan 2019 19:06:41 +0100 Subject: Use the same path of the docs site as in production This started with https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24339 where a broken link was introduced, but the lint checker never caught it. The docs-lint job does the following: ```yaml script: - mv doc/ /tmp/gitlab-docs/content/ - cd /tmp/gitlab-docs # Build HTML from Markdown - bundle exec nanoc # Check the internal links - bundle exec nanoc check internal_links ``` It moves the `doc/` dir inside `content` where Nanoc is expecting the markdown files to be. It then builds the site and finally checks for the links. If the built website was deployed to production, that would be under `docs.gitlab.com/doc`. The interesting part here is that `[the logs](/doc/administration/logs.md#productionlog)` translates to `