Skip to content

Commit 5d23423

Browse files
committed
include layouts directory in docker build & trigger docs branch
1 parent 23ec957 commit 5d23423

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/release-docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,9 @@ jobs:
4848
build-args: |
4949
repo_url=https://github.com/${{ env.GITHUB_REPO }}
5050
site_url=${{ secrets.SITE_URL }}/${{ github.ref_name }}/
51-
edit_url=edit/${{ github.ref_name }}/docs/src/
51+
edit_url=edit/${{ github.ref_name }}/docs/src/
52+
53+
- name: Re-Build Docs
54+
uses: peter-evans/repository-dispatch@v4
55+
with:
56+
event-type: rebuild-docs

docs/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ ENV EDIT_URL=$edit_url
1818

1919
COPY docs/src src
2020
COPY docs/overrides overrides
21+
COPY docs/layouts layouts
2122
COPY docs/mkdocs.yml .
2223
COPY .git .git
2324
RUN mkdocs build

docs/mkdocs.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,16 @@ markdown_extensions:
5858

5959
plugins:
6060
- search
61-
- awesome-nav
61+
- awesome-nav
6262
- markdownextradata:
6363
- git-revision-date-localized:
6464
enabled: !ENV [CI, false]
6565
- social:
6666
enabled: !ENV [CI, false]
67-
cache: false
6867
cards_layout_options:
6968
description: Collection of gradle plugins bundling common minecraft modding setups to reduce boilerplate code
70-
background_image: layouts/background.png
71-
background_color: transparent
69+
# background_image: layouts/background.png
70+
# background_color: transparent
7271
- site-urls:
7372
prefix: "/"
7473

@@ -78,4 +77,4 @@ extra_css:
7877
# - scripts/favicon.js
7978

8079
watch:
81-
- overrides
80+
- overrides

0 commit comments

Comments
 (0)