mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11: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)
|
||||
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
|
||||
fileroot=$(echo $page | cut -d'.' -f-1)
|
||||
sed "/REPLACETHIS/,$ d" tutor.template.html > "$dest$fileroot.html"
|
||||
|
|
|
@ -137,6 +137,7 @@ const DEFAULTS = o({
|
|||
bd: "tabclose",
|
||||
bdelete: "tabclose",
|
||||
sanitize: "sanitise",
|
||||
tutorial: "tutor",
|
||||
}),
|
||||
followpagepatterns: o({
|
||||
next: "^(next|newer)\\b|»|>>|more",
|
||||
|
|
|
@ -6,6 +6,10 @@ body {
|
|||
margin: auto;
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 38em) {
|
||||
body {
|
||||
max-width: 100%;
|
||||
|
|
Loading…
Add table
Reference in a new issue