Merge remote-tracking branch 'technical-git/master'
This commit is contained in:
commit
e644177d13
|
@ -1 +1 @@
|
||||||
See [Build Server](Build-Server)
|
See [Build Server](Build-Server-and-Automation)
|
||||||
|
|
|
@ -32,7 +32,7 @@ Example:
|
||||||
|
|
||||||
Links to images are relative to the .md file they are in.
|
Links to images are relative to the .md file they are in.
|
||||||
Example:
|
Example:
|
||||||
`![TunerStudio New Project View](images/TunerStudio_new_project.png)`
|
`![TunerStudio New Project View](FAQ/images/TunerStudio_new_project.png)`
|
||||||
|
|
||||||
**Q:** What sort of fancy options do we have?
|
**Q:** What sort of fancy options do we have?
|
||||||
**A:** We can do collapsible sections & hints sections! See [cranking](Cranking) for an example.
|
**A:** We can do collapsible sections & hints sections! See [cranking](Cranking) for an example.
|
||||||
|
|
2
Home.md
2
Home.md
|
@ -66,7 +66,7 @@ So you are thinking of doing an engine control project. You have stopped by the
|
||||||
|
|
||||||
## rusEFI in action!
|
## rusEFI in action!
|
||||||
|
|
||||||
[Engines running rusEFI](List-of-engines-running-rusEFI)
|
[Engines running rusEFI](List-of-Engines-Running-rusEFI)
|
||||||
|
|
||||||
### [![Miata rusEFI Racecar!](https://user-images.githubusercontent.com/5051341/80621997-bf7bf000-8a0d-11ea-998e-48fc3accba59.png)](https://www.youtube.com/embed/3xz66oR95F8?start=8 "Miata rusEFI Racecar!")
|
### [![Miata rusEFI Racecar!](https://user-images.githubusercontent.com/5051341/80621997-bf7bf000-8a0d-11ea-998e-48fc3accba59.png)](https://www.youtube.com/embed/3xz66oR95F8?start=8 "Miata rusEFI Racecar!")
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
- [Forum](https://rusefi.com/forum/)
|
- [Forum](https://rusefi.com/forum/)
|
||||||
- [Slack](HOWTO-join-slack-channel)
|
- [Slack](HOWTO-join-slack-channel)
|
||||||
- [Facebook Users Group](https://www.facebook.com/groups/rusEfi/)
|
- [Facebook Users Group](https://www.facebook.com/groups/rusEfi/)
|
||||||
- [Engines running on rusEFI](List-of-engines-running-rusEFI)
|
- [Engines running on rusEFI](List-of-Engines-Running-rusEFI)
|
||||||
- [HOWTO-help-rusEFI](HOWTO-help-rusEFI)
|
- [HOWTO-help-rusEFI](HOWTO-help-rusEFI)
|
||||||
|
|
||||||
# Setup Guides
|
# Setup Guides
|
||||||
|
|
|
@ -98,7 +98,7 @@ searchfile() {
|
||||||
# Parentheses are placed around both the old link and new one in order to ensure we replace the link,
|
# Parentheses are placed around both the old link and new one in order to ensure we replace the link,
|
||||||
# and not some other place in the file that happens to use the same words.
|
# and not some other place in the file that happens to use the same words.
|
||||||
REPLACE=$(escape '('$link')')
|
REPLACE=$(escape '('$link')')
|
||||||
REPLACEWITH=$(escapeReplace "$FILE")
|
REPLACEWITH=$(escapeReplace "$(basename "$FILE" .md)")
|
||||||
sed -i "s/$REPLACE/\($REPLACEWITH\)/" "$1"
|
sed -i "s/$REPLACE/\($REPLACEWITH\)/" "$1"
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
@ -133,7 +133,7 @@ searchfile() {
|
||||||
sed -i "s/$REPLACE/\($REPLACEWITH\)/" "$1"
|
sed -i "s/$REPLACE/\($REPLACEWITH\)/" "$1"
|
||||||
# This regex finds links in the file that is passed to searchfile
|
# This regex finds links in the file that is passed to searchfile
|
||||||
# Results are fed to file descriptor 3 for the reasons previously explained.
|
# Results are fed to file descriptor 3 for the reasons previously explained.
|
||||||
done 3< <(grep -oP '(?<=\]\().+?(?=[\)])' "$1")
|
done 3< <(grep -oP '(?<=\]\().*?(?=[\)])' "$1" | sed -e "s/^<//g" -e "s/>$//g" | cut -d '"' -f1 | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
|
||||||
}
|
}
|
||||||
export -f searchfile
|
export -f searchfile
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue