Skip to content

Commit 28113a1

Browse files
authored
docs(plugin): fix mdocs and git revision plugin integration (#1066)
* docs(plugin): fix mdocs and git revision plugin integration * trigger doc build when mkdocs and Makefile are modified
1 parent 63e1d16 commit 28113a1

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/build-docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,24 @@ on:
66
- master
77
paths:
88
- 'docs/**'
9+
- 'mkdocs.yml'
10+
- 'Makefile'
11+
912
push:
1013
branches:
1114
- master
1215
paths:
1316
- 'docs/**'
17+
- 'mkdocs.yml'
18+
- 'Makefile'
1419

1520
jobs:
1621
docs:
1722
runs-on: ubuntu-latest
1823
steps:
1924
- uses: actions/checkout@v3
2025
- name: Set up Python
21-
uses: actions/setup-python@v1
26+
uses: actions/setup-python@v4
2227
with:
2328
python-version: "3.8"
2429
- name: Capture branch and tag

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- name: Set up Python
15-
uses: actions/setup-python@v1
15+
uses: actions/setup-python@v4
1616
with:
1717
python-version: "3.8"
1818
- name: Capture branch and tag

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ markdown_extensions:
7070
copyright: Copyright © 2021 Amazon Web Services
7171

7272
plugins:
73+
- git-revision-date
7374
- search
7475
- macros
7576

0 commit comments

Comments
 (0)