Skip to content

Commit e722793

Browse files
aFlyBird0steinliber
authored andcommitted
ci(linkpr): disable "edit this page" link
Signed-off-by: Bird <[email protected]>
1 parent d2a3cf0 commit e722793

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/link-pr.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ jobs:
1818
run: |
1919
sed -i 's|https://docs.devstream.io|http://localhost|g' mkdocs.yml
2020
21+
# disable "edit this page" link
22+
# see https://github.com/devstream-io/devstream/issues/1386 for more details
23+
- name: Disable Edit This Page
24+
run: |
25+
# edit_uri: edit/main/docs -> edit_uri: ""
26+
sed -i 's|edit_uri: edit/main/docs|edit_uri: ""|g' mkdocs.yml
27+
2128
- name: Set up Python
2229
uses: actions/setup-python@v4
2330
with:

0 commit comments

Comments
 (0)