1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-05-02 19:34:04 +02:00

Update the doc sync script to remove the .md from the links.

This commit is contained in:
Alex Plate 2024-10-21 16:16:17 +03:00
parent ad762379fb
commit 26909af5de
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F

View File

@ -34,6 +34,17 @@ jobs:
id: update_authors
run: cp -a origin/doc/. docs
# The Wiki for github should have no `.md` in references
# Otherwise, such links will lead to the raw text.
# However, the `.md` should exist to have a navigation in GitHub code.
- name: Replace `.md)` with `)`
run: |
# Define the directory you want to process
DIRECTORY="docs"
# Find all files in the directory and perform the replacement
find $DIRECTORY -type f -exec sed -i 's/\.md)//g' {} +
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with: