mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Fix tutorial build process and alias
This commit is contained in:
parent
1cc76c3bb4
commit
13932f94a2
3 changed files with 6 additions and 2 deletions
|
@ -7,8 +7,7 @@ cd src/static/clippy
|
||||||
pages=$(ls *.md)
|
pages=$(ls *.md)
|
||||||
dest="../../../generated/static/clippy/"
|
dest="../../../generated/static/clippy/"
|
||||||
|
|
||||||
# Very tempted to add fish as a dependency because this is dreadful
|
for page in $pages
|
||||||
for page in "${pages[@]}"
|
|
||||||
do
|
do
|
||||||
fileroot=$(echo $page | cut -d'.' -f-1)
|
fileroot=$(echo $page | cut -d'.' -f-1)
|
||||||
sed "/REPLACETHIS/,$ d" tutor.template.html > "$dest$fileroot.html"
|
sed "/REPLACETHIS/,$ d" tutor.template.html > "$dest$fileroot.html"
|
||||||
|
|
|
@ -137,6 +137,7 @@ const DEFAULTS = o({
|
||||||
bd: "tabclose",
|
bd: "tabclose",
|
||||||
bdelete: "tabclose",
|
bdelete: "tabclose",
|
||||||
sanitize: "sanitise",
|
sanitize: "sanitise",
|
||||||
|
tutorial: "tutor",
|
||||||
}),
|
}),
|
||||||
followpagepatterns: o({
|
followpagepatterns: o({
|
||||||
next: "^(next|newer)\\b|»|>>|more",
|
next: "^(next|newer)\\b|»|>>|more",
|
||||||
|
|
|
@ -6,6 +6,10 @@ body {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
padding-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 38em) {
|
@media screen and (max-width: 38em) {
|
||||||
body {
|
body {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
Loading…
Add table
Reference in a new issue