mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
replace in files
This commit is contained in:
parent
f9e8302681
commit
ca9e0347ab
3 changed files with 11 additions and 5 deletions
1
.github/workflows/update_wiki.yml
vendored
1
.github/workflows/update_wiki.yml
vendored
|
|
@ -34,6 +34,7 @@ jobs:
|
|||
cd ${GITHUB_WORKSPACE}/docs
|
||||
make
|
||||
find
|
||||
cat _Sidebar.md
|
||||
|
||||
# Copy Docs
|
||||
- name: Copy files
|
||||
|
|
|
|||
|
|
@ -3,5 +3,10 @@ SHELL = /bin/bash
|
|||
docs:
|
||||
find -name '*.md' | while read -r line; \
|
||||
do \
|
||||
mv "$${line:2}" "$$(echo $${line:2} | tr '/' '_')"; \
|
||||
source_file=$${line:2}; \
|
||||
final_file=$${source_file//\//_}; \
|
||||
mv "$${source_file}" "$${final_file}"; \
|
||||
no_ext_source=$$(basename -s .md $$source_file)
|
||||
no_ext_final=$$(basename -s .md $$final_file)
|
||||
sed -i "s/($${no_ext_source})/($${no_ext_final})/g" *.md
|
||||
done
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
- [Home](Home)
|
||||
- Development
|
||||
- [Using the Makefile](Development_Makefile)
|
||||
- [Using the Container](Development_Container)
|
||||
- [Using the VSCode Dev Container](Development_VSCode)
|
||||
- [Using the Makefile](Development/Makefile)
|
||||
- [Using the Container](Development/Container)
|
||||
- [Using the VSCode Dev Container](Development/VSCode)
|
||||
|
||||
- Examples
|
||||
- [Adding Flatpaks](Examples_Adding-Flatpak)
|
||||
- [Adding Flatpaks](Examples/Adding-Flatpak)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue