This repository was archived by the owner on Jun 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +23
-28
lines changed Expand file tree Collapse file tree 8 files changed +23
-28
lines changed Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html >
3
3
< head >
4
- < meta http-equiv ="refresh " content ="0; url=./share/{{ROOT_NOTE_ID}} " />
4
+ < meta http-equiv ="refresh " content ="0; url=./share/{{ROOT_NOTE_ID}}.html " />
5
5
</ head >
6
6
7
7
< body >
Original file line number Diff line number Diff line change @@ -15,18 +15,13 @@ source ./.env
15
15
16
16
# Download everything in output/notes.example.com/share/...
17
17
share_url=" $SHARE_PROTOCOL ://$SHARE_HOST /share/$ROOT_NOTE_ID "
18
- wget -rp -e robots=off " $share_url " -P " $output_dir "
18
+ wget -rpEk -e robots=off " $share_url " -P " $output_dir "
19
19
20
20
# Get rid of the domain in the output folder
21
21
mv " $output_dir /$SHARE_HOST " /* " $output_dir /"
22
22
rmdir " $output_dir /$SHARE_HOST "
23
23
24
- # Rename share/* to share/*.html because GitHub Pages will ask the client to download the files otherwise.
25
- for file in " $output_dir /share" /* ; do
26
- mv " $file " " $file .html"
27
- done
28
-
29
24
# Create home page with redirect
30
25
index_dest_path=" $output_dir /index.html"
31
26
cp index.template.html " $index_dest_path "
32
- sed -i " s/{{ROOT_NOTE_ID}}/$ROOT_NOTE_ID /g" " $index_dest_path "
27
+ sed -i " s/{{ROOT_NOTE_ID}}/$ROOT_NOTE_ID /g" " $index_dest_path "
Original file line number Diff line number Diff line change 2
2
3
3
script_dir=$( realpath $( dirname $0 ) )
4
4
output_dir=" $script_dir /../docs"
5
- httpd -fv -p 127.0.0.1:8089 -h output
5
+ httpd -fv -p 127.0.0.1:8089 -h " $output_dir "
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html >
3
3
< head >
4
- < meta http-equiv ="refresh " content ="0; url=./share/4yYHqKbLovVX " />
4
+ < meta http-equiv ="refresh " content ="0; url=./share/4yYHqKbLovVX.html " />
5
5
</ head >
6
6
7
7
< body >
Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ <h1 id="title">Developer's Guide</h1>
40
40
< ul >
41
41
42
42
< li >
43
- < a href ="./ hkrBX8KE1HQl "
43
+ < a href ="hkrBX8KE1HQl.html "
44
44
class ="type-text "> Internationalisation</ a >
45
45
</ li >
46
46
47
47
< li >
48
- < a href ="./ VS22Hq5PBFNf "
48
+ < a href ="VS22Hq5PBFNf.html "
49
49
class ="type-text "> Dependency Management</ a >
50
50
</ li >
51
51
@@ -76,7 +76,7 @@ <h1 id="title">Developer's Guide</h1>
76
76
77
77
78
78
79
- < a class ="type-text " href ="./ hkrBX8KE1HQl "> Internationalisation</ a >
79
+ < a class ="type-text " href ="hkrBX8KE1HQl.html "> Internationalisation</ a >
80
80
81
81
</ p >
82
82
@@ -90,7 +90,7 @@ <h1 id="title">Developer's Guide</h1>
90
90
91
91
92
92
93
- < a class ="type-text " href ="./ VS22Hq5PBFNf "> Dependency Management</ a >
93
+ < a class ="type-text " href ="VS22Hq5PBFNf.html "> Dependency Management</ a >
94
94
95
95
</ p >
96
96
@@ -103,7 +103,7 @@ <h1 id="title">Developer's Guide</h1>
103
103
104
104
105
105
106
- < a class ="type-text " href ="./ QXCi6Y1SYulw "> Adding a new client library</ a >
106
+ < a class ="type-text " href ="QXCi6Y1SYulw.html "> Adding a new client library</ a >
107
107
108
108
</ p >
109
109
Original file line number Diff line number Diff line change 27
27
< div id ="main ">
28
28
29
29
< nav id ="parentLink ">
30
- parent: < a href ="VS22Hq5PBFNf "
30
+ parent: < a href ="VS22Hq5PBFNf.html "
31
31
class ="type-text "> Dependency Management</ a >
32
32
</ nav >
33
33
@@ -102,7 +102,7 @@ <h1 id="title">Adding a new client library</h1>
102
102
103
103
104
104
105
- < a class ="type-text " href ="./ 4yYHqKbLovVX "> Developer's Guide</ a >
105
+ < a class ="type-text " href ="4yYHqKbLovVX.html "> Developer's Guide</ a >
106
106
107
107
</ p >
108
108
@@ -115,7 +115,7 @@ <h1 id="title">Adding a new client library</h1>
115
115
116
116
117
117
118
- < a class ="type-text " href ="./ hkrBX8KE1HQl "> Internationalisation</ a >
118
+ < a class ="type-text " href ="hkrBX8KE1HQl.html "> Internationalisation</ a >
119
119
120
120
</ p >
121
121
@@ -129,7 +129,7 @@ <h1 id="title">Adding a new client library</h1>
129
129
130
130
131
131
132
- < a class ="type-text " href ="./ VS22Hq5PBFNf "> Dependency Management</ a >
132
+ < a class ="type-text " href ="VS22Hq5PBFNf.html "> Dependency Management</ a >
133
133
134
134
</ p >
135
135
Original file line number Diff line number Diff line change 27
27
< div id ="main ">
28
28
29
29
< nav id ="parentLink ">
30
- parent: < a href ="4yYHqKbLovVX "
30
+ parent: < a href ="4yYHqKbLovVX.html "
31
31
class ="type-text "> Developer's Guide</ a >
32
32
</ nav >
33
33
@@ -45,7 +45,7 @@ <h1 id="title">Dependency Management</h1>
45
45
< ul >
46
46
47
47
< li >
48
- < a href ="./ QXCi6Y1SYulw "
48
+ < a href ="QXCi6Y1SYulw.html "
49
49
class ="type-text "> Adding a new client library</ a >
50
50
</ li >
51
51
@@ -63,7 +63,7 @@ <h1 id="title">Dependency Management</h1>
63
63
64
64
65
65
66
- < a class ="type-text " href ="./ 4yYHqKbLovVX "> Developer's Guide</ a >
66
+ < a class ="type-text " href ="4yYHqKbLovVX.html "> Developer's Guide</ a >
67
67
68
68
</ p >
69
69
@@ -76,7 +76,7 @@ <h1 id="title">Dependency Management</h1>
76
76
77
77
78
78
79
- < a class ="type-text " href ="./ hkrBX8KE1HQl "> Internationalisation</ a >
79
+ < a class ="type-text " href ="hkrBX8KE1HQl.html "> Internationalisation</ a >
80
80
81
81
</ p >
82
82
@@ -103,7 +103,7 @@ <h1 id="title">Dependency Management</h1>
103
103
104
104
105
105
106
- < a class ="type-text " href ="./ QXCi6Y1SYulw "> Adding a new client library</ a >
106
+ < a class ="type-text " href ="QXCi6Y1SYulw.html "> Adding a new client library</ a >
107
107
108
108
</ p >
109
109
Original file line number Diff line number Diff line change 27
27
< div id ="main ">
28
28
29
29
< nav id ="parentLink ">
30
- parent: < a href ="4yYHqKbLovVX "
30
+ parent: < a href ="4yYHqKbLovVX.html "
31
31
class ="type-text "> Developer's Guide</ a >
32
32
</ nav >
33
33
@@ -58,7 +58,7 @@ <h1 id="title">Internationalisation</h1>
58
58
59
59
60
60
61
- < a class ="type-text " href ="./ 4yYHqKbLovVX "> Developer's Guide</ a >
61
+ < a class ="type-text " href ="4yYHqKbLovVX.html "> Developer's Guide</ a >
62
62
63
63
</ p >
64
64
@@ -85,7 +85,7 @@ <h1 id="title">Internationalisation</h1>
85
85
86
86
87
87
88
- < a class ="type-text " href ="./ VS22Hq5PBFNf "> Dependency Management</ a >
88
+ < a class ="type-text " href ="VS22Hq5PBFNf.html "> Dependency Management</ a >
89
89
90
90
</ p >
91
91
@@ -98,7 +98,7 @@ <h1 id="title">Internationalisation</h1>
98
98
99
99
100
100
101
- < a class ="type-text " href ="./ QXCi6Y1SYulw "> Adding a new client library</ a >
101
+ < a class ="type-text " href ="QXCi6Y1SYulw.html "> Adding a new client library</ a >
102
102
103
103
</ p >
104
104
You can’t perform that action at this time.
0 commit comments