Fix github pages
Oh bash... Without this links all had the .sections styling and were put on a separate line.
This commit is contained in:
parent
ff9c077f65
commit
1744ea100b
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -eu
|
||||||
|
|
||||||
examples_style="
|
examples_style="
|
||||||
.source {
|
.source {
|
||||||
|
@ -24,7 +25,7 @@ for org_file in $org_files; do
|
||||||
name=$(basename $org_file)
|
name=$(basename $org_file)
|
||||||
go_org_examples+="<li><a id='toc-${name}' href='#${name}'>${name}</a>"
|
go_org_examples+="<li><a id='toc-${name}' href='#${name}'>${name}</a>"
|
||||||
done
|
done
|
||||||
examples+="</ul><hr>"
|
go_org_examples+="</ul><hr>"
|
||||||
|
|
||||||
for org_file in $org_files; do
|
for org_file in $org_files; do
|
||||||
echo generating content for $org_file
|
echo generating content for $org_file
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue