Skip to content

Commit e07913e

Browse files
committed
fix: include PR layout in preview
1 parent 8613e8d commit e07913e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/netlify-deploy-preview.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
- name: "Get only changed docs"
3030
run: |
3131
rsync --delete -av PR-tmp/docs/content/en/ docs/content/en/
32+
rsync --delete -av PR-tmp/docs/layouts/ docs/layouts/
3233
rm -rf PR-tmp
3334
- name: "Generate Docs"
3435
uses: gooddata/gooddata-python-sdk/.github/actions/hugo-build-action@master

docs/layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{{ partial "navbar.html" . }}
1111
</header>
1212
<div class="container-fluid td-default td-outer">
13-
<main role="main" class="td-main" aria-label="Article content">
13+
<main role="main" class="td-main" aria-label="Article content" id="main-content">
1414
{{ block "main" . }}{{ end }}
1515
</main>
1616
{{ partialCached "footer.html" . }}

docs/layouts/docs/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<div class="d-none d-xl-block col-xl-2 td-toc d-print-none">
2626
{{ partial "toc.html" . }}
2727
</div>
28-
<main class="col-12 col-lg-8 col-xl-7 pl-lg-5 ps-lg-5" role="main" aria-label="Article content">
28+
<main class="col-12 col-lg-8 col-xl-7 pl-lg-5 ps-lg-5" role="main" aria-label="Article content" id="main-content">
2929
{{ partial "version-banner.html" . }}
3030
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
3131
{{ if .Draft }}

0 commit comments

Comments
 (0)