1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 02:47:56 +01:00

Copy Wiki from main repo (#128)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Jason Nagin 2024-08-21 10:09:28 -04:00 committed by GitHub
parent aa74d32215
commit 54d9614590
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 301 additions and 124 deletions

12
docs/Makefile Normal file
View file

@ -0,0 +1,12 @@
SHELL = /bin/bash
docs:
find -name '*.md' -print0 | xargs -0 -I {} bash -c ' \
source_file=$${1:2}; \
final_file=$${source_file//\//_}; \
mv "$${source_file}" "$${final_file}"; \
no_ext_source=$${source_file:0:-3}; \
no_ext_final=$${final_file:0:-3}; \
sed -i "s;(\(../\)*$${source_file});($${no_ext_final});g" $$(find -name '*.md'); \
' _ {}
find . -type d -empty -delete