-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build when http_prefix is configured
This allows us to build the site with absolute URLs (rather than relative) and have features like search working without post-build edits. This moves us closer to an automated build. Builds need to consider the http-prefix because Github pages for repo-specific sites include the repo name in the first segement of the path, e.g: https://alphagov.github.io/api-catalogue/ The fork of tech-docs-gem is intended to be temporary, until fixes for issues documented here have been resolved & merged upstream: #95
- Loading branch information
Showing
9 changed files
with
77 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
$govuk-assets-path: "<%= app.config[:govuk_assets_path] %>"; | ||
$is-print: true; | ||
|
||
@import "govuk_tech_docs"; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$govuk-assets-path: "<%= app.config[:govuk_assets_path] %>"; | ||
$is-ie: true; | ||
$ie-version: 8; | ||
|
||
@import "govuk_tech_docs"; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
$govuk-assets-path: "<%= app.config[:govuk_assets_path] %>"; | ||
|
||
@import "govuk_tech_docs"; |