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:
parent
ad762379fb
commit
26909af5de
11
.github/workflows/syncDoc.yml
vendored
11
.github/workflows/syncDoc.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user