From ab25aa380a1d3e85e4b69562869d6dc030cad73a Mon Sep 17 00:00:00 2001 From: David Salgado Date: Tue, 7 Jul 2020 11:05:41 +0100 Subject: [PATCH] Add "/runbooks" page to github_branch The runbooks source files are in the runbooks *sub-directory* of the cloud-platform repo, not the repo root (which seems to be the assumption that the tech-docs gem is making). This PR changes the "github_branch" from "main" to "main/runbooks". This is a bit of a hack, but it seems to work, and fixes the "View Source" links in a local development instance of the site. --- runbooks/config/tech-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbooks/config/tech-docs.yml b/runbooks/config/tech-docs.yml index eaff6eac..6f5588ab 100644 --- a/runbooks/config/tech-docs.yml +++ b/runbooks/config/tech-docs.yml @@ -36,7 +36,7 @@ prevent_indexing: true show_contribution_banner: true github_repo: ministryofjustice/cloud-platform -github_branch: "main" +github_branch: "main/runbooks" owner_slack_workspace: mojdt default_owner_slack: '#cloud-platform'