Skip to content

Commit 5131e0d

Browse files
Breck YunitsBreck Yunits
authored andcommitted
checkpoint
1 parent 70baee0 commit 5131e0d

File tree

97 files changed

+380
-280
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+380
-280
lines changed

404.scroll

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
permalink 404.html
2-
replace BASE_URL
2+
replace BASE_URL .
3+
title Page not found
34
viewSourceBaseUrl https://github.com/breck7/pldb/blob/main/
45

56
import header.scroll
67

7-
title Page not found
8+
printTitle
89
thinColumns 1
910

1011
Sorry, the url you requested was not found.
@@ -14,7 +15,7 @@ extendedNotFoundParser
1415
// Make the path absolute in prod so it works even on nested folders.
1516
// Of course, getting this to work for locally built sites and www sites is tricky.
1617
// Only reason it is useful locally is for testing though, so for now,
17-
// for this page, just make it work on www.
18+
// for this page, just make it work on www.
1819
string requireOnce
1920
<script defer src="/helpfulNotFound.js"></script>
2021

Computer.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -706,10 +706,9 @@ pipeTable
706706

707707
return `import ../header.scroll
708708
baseUrl https://pldb.io/concepts/
709-
title ${title}
710-
711709
title ${title} - ${lodash.upperFirst(typeName)}
712-
hidden
710+
711+
printTitle ${title}
713712
714713
html
715714
<a class="trueBaseThemePreviousItem" href="${this.prevPage}">&lt;</a>
@@ -1415,10 +1414,8 @@ class Feature {
14151414

14161415
return `import header.scroll
14171416
1418-
title ${title}
1419-
14201417
title ${title} - language feature
1421-
hidden
1418+
printTitle ${title}
14221419
14231420
html
14241421
<a class="trueBaseThemePreviousItem" href="${previous.permalink}">&lt;</a>
@@ -1971,7 +1968,7 @@ class MeasureComputer {
19711968
.forEach((obj, index) => {
19721969
const rank = { ...obj }
19731970
rank.index = index + 1
1974-
this.languageRanks[obj.filename] = obj
1971+
this.languageRanks[obj.filename] = rank
19751972
})
19761973
}
19771974

citation.scroll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
importOnly
2-
32
replaceJs CURRENT_YEAR dayjs().format("YYYY")
43

54
## Citation
@@ -16,4 +15,4 @@ code
1615
journal = {PLDB},
1716
year = {CURRENT_YEAR},
1817
note = {https://pldb.io}
19-
}
18+
}

code/ciBadges.scroll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
importOnly
2+
23
<a href="https://github.com/breck7/pldb/actions/workflows/didTheTestsPass.yml"><img src="https://github.com/breck7/pldb/actions/workflows/didTheTestsPass.yml/badge.svg"/></a>

code/generateFeaturePages.scroll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
importOnly
2-
3-
// Very hacky but this builds the Scroll files in the features/ folder just in time.
42
replaceNodejs
3+
// Very hacky but this builds the Scroll files in the features/ folder just in time.
54
const {Tables} = require("../Computer.js")
65
Tables.writeAllFeaturePages()
7-
module.exports = {}
6+
module.exports = {}

download.scroll

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
import rootHeader.scroll
21
title PLDB.CSV
2+
writeConcepts pldb.csv pldb.json pldb.tsv pldb.js
3+
sortBy rank
4+
writeMeasures measures.tsv measures.csv measures.json measures.js
5+
6+
import rootHeader.scroll
7+
printTitle
38

49
css
510
.scrollTable td {
@@ -15,15 +20,12 @@ Download the PLDB concept database as: CSV | TSV | JSON
1520

1621
import measures/pldbMeasures.scroll
1722
loadConcepts concepts
18-
writeConcepts pldb.csv pldb.json pldb.tsv pldb.js
19-
sortBy rank
2023

2124
Statistics on the measures (columns) are below and can be downloaded as: CSV | TSV | JSON
2225
link measures.csv CSV
2326
link measures.tsv TSV
2427
link measures.json JSON
25-
writeMeasures measures.tsv measures.csv measures.json measures.js
2628
printMeasures
2729
tableSearch
2830

29-
import footer.scroll
31+
import footer.scroll

features/header.scroll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
importOnly
2+
groups All
3+
24
import settings.scroll
35
import ../header.scroll
4-
groups All

features/settings.scroll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
importOnly
2+
baseUrl https://pldb.io/features/
23
replace BASE_URL ..
34
viewSourceBaseUrl https://github.com/breck7/pldb/blob/main/features/
4-
baseUrl https://pldb.io/features/

features/sitemap.scroll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
permalink sitemap.txt
2+
23
import settings.scroll
34
printSiteMap All

footer.scroll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
importOnly
2+
23
viewSource
34

45
copyButtons
@@ -27,4 +28,4 @@ stumpNoSnippet
2728
href mailto:feedback@pldb.io
2829

2930
<script src="BASE_URL/lists/autocompleteCombined.js"></script>
30-
<script>document.addEventListener("DOMContentLoaded", evt => initAutocomplete("trueBaseThemeHeaderSearch"))</script>
31+
<script>document.addEventListener("DOMContentLoaded", evt => initAutocomplete("trueBaseThemeHeaderSearch"))</script>

0 commit comments

Comments
 (0)