Skip to content

Commit 3fef29a

Browse files
Rewrite and clean up the documentation.
1 parent f116ee3 commit 3fef29a

14 files changed

+1225
-645
lines changed

docs/CHANGELOG.html

Lines changed: 85 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,96 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width,initial-scale=1" />
6-
<title>Prefix Changelog</title>
6+
<title>Prefix Change Log</title>
77
<link rel="icon" href="./icon.png" />
88
<style>
9-
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
10-
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap');
11-
body{background:#222;color:#99ddff;font-family:Open Sans, sans-serif;margin:0;padding:1rem}
12-
.container{max-width:1000px;margin:0 auto;text-align:justify;text-justify:inter-word}
13-
.container h1{ text-align:center; margin-top:0; }
14-
.container h2{ text-align:center }
15-
pre, code{background:#3c3c3c;color:inherit;font-family:Source Code Pro, monospace;padding:.25rem .5rem}
16-
img{max-width:100%}
9+
/* Self-hosted fonts (local workspace) */
10+
@font-face {
11+
font-family: 'Prefix Open Sans';
12+
src: url('open-sans/OpenSans-Regular.ttf') format('truetype');
13+
font-weight: 400;
14+
font-style: normal;
15+
font-display: swap;
16+
}
17+
@font-face {
18+
font-family: 'Prefix Open Sans';
19+
src: url('open-sans/OpenSans-Bold.ttf') format('truetype');
20+
font-weight: 700;
21+
font-style: normal;
22+
font-display: swap;
23+
}
24+
@font-face {
25+
font-family: 'Prefix Open Sans';
26+
src: url('open-sans/OpenSans-Semibold.ttf') format('truetype');
27+
font-weight: 600;
28+
font-style: normal;
29+
font-display: swap;
30+
}
31+
@font-face {
32+
font-family: 'Prefix Open Sans';
33+
src: url('open-sans/OpenSans-Italic.ttf') format('truetype');
34+
font-weight: 400;
35+
font-style: italic;
36+
font-display: swap;
37+
}
38+
@font-face {
39+
font-family: 'Prefix Open Sans';
40+
src: url('open-sans/OpenSans-BoldItalic.ttf') format('truetype');
41+
font-weight: 700;
42+
font-style: italic;
43+
font-display: swap;
44+
}
45+
46+
@font-face {
47+
font-family: 'Prefix Source Code Pro';
48+
src: url('source-code-pro/SourceCodePro-Regular.otf') format('opentype');
49+
font-weight: 400;
50+
font-style: normal;
51+
font-display: swap;
52+
}
53+
54+
body{background:#222;color:#99ddff;font-family:'Prefix Open Sans', Open Sans, sans-serif;margin:0;padding:1rem}
55+
.container{max-width:1000px;margin:0 auto;text-align:justify;text-justify:inter-word}
56+
.container h1{position:relative;text-align:center;margin-top:0;min-height:3rem;line-height:3rem;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;}
57+
.container h1 .grey{color:#3b3b3b}
58+
.container h1 .semibold{font-weight:600}
59+
.container h2{text-align: center}
60+
.title-icon{position:absolute;left:0;top:50%;transform:translateY(-50%);display:block;width:3rem;height:3rem}
61+
pre, code{background:#3c3c3c;color:inherit;font-family:'Prefix Source Code Pro', 'Source Code Pro', monospace;padding:.25rem .5rem}
62+
::selection { background: #000000; color: #FFFF00; }
63+
::-moz-selection { background: #000000; color: #FFFF00; }
64+
img{max-width:100%}
65+
/* Markdown horizontal rules (---) rendered by marked.js */
66+
.container hr, hr {
67+
border: none;
68+
border-top: 2px solid #3c3c3c;
69+
height: 1px;
70+
margin: 1.5rem 0;
71+
background: transparent;
72+
}
1773
</style>
1874
</head>
1975
<body>
20-
<div class="container" id="content">Rendering changelog</div>
76+
<div class="container" id="content">Rendering change log</div>
2177

2278
<!-- Markdown source is embedded below. marked.js will render it into #content. -->
2379
<script id="md" type="text/markdown">
2480

25-
# Change log
81+
# <a href="index.html"><img class="title-icon" alt="Prefix icon" src="./icon.png"></a> <span class="semibold">Pre<span class="grey">fix</span></span> Change Log
82+
83+
---
2684

2785
The change log is a document recording what changed with every release of Prefix.
2886

2987
---
3088

3189
## 0.7.1
3290

33-
### Backwards-incompatible features
91+
### Major features
3492

3593
N/A
3694

37-
### Backwards-compatible features
95+
### Minor features
3896

3997
N/A
4098

@@ -52,11 +110,11 @@
52110

53111
## 0.7.0
54112

55-
### Backwards-incompatible features
113+
### Major features
56114

57115
N/A
58116

59-
### Backwards-compatible features
117+
### Minor features
60118

61119
Add coerced type arguments.
62120

@@ -70,11 +128,11 @@
70128

71129
## 0.6.0
72130

73-
### Backwards-incompatible features
131+
### Major features
74132

75133
Convert `INT` and `FLT` from binary types to support multiple bases.
76134

77-
### Backwards-compatible features
135+
### Minor features
78136

79137
Add operator `CONVERT`.
80138

@@ -88,11 +146,11 @@
88146

89147
## 0.5.0
90148

91-
### Backwards-incompatible features
149+
### Major features
92150

93151
N/A
94152

95-
### Backwards-compatible features
153+
### Minor features
96154

97155
Expand search paths to include `stdlib/` and `stdext/`.
98156

@@ -106,11 +164,11 @@
106164

107165
## 0.4.1
108166

109-
### Backwards-incompatible features
167+
### Major features
110168

111169
N/A
112170

113-
### Backwards-compatible features
171+
### Minor features
114172

115173
N/A
116174

@@ -126,11 +184,11 @@
126184

127185
## 0.4.0
128186

129-
### Backwards-incompatible features
187+
### Major features
130188

131189
N/A
132190

133-
### Backwards-compatible features
191+
### Minor features
134192

135193
Add `NEQ` operator.
136194

@@ -144,11 +202,11 @@
144202

145203
## 0.3.0
146204

147-
### Backwards-incompatible features
205+
### Major features
148206

149207
Make `TNS` and `MAP` atomic.
150208

151-
### Backwards-compatible features
209+
### Minor features
152210

153211
N/A
154212

@@ -160,11 +218,11 @@
160218

161219
## 0.2.0
162220

163-
### Backwards-incompatible features
221+
### Major features
164222

165223
N/A
166224

167-
### Backwards-compatible features
225+
### Minor features
168226

169227
Add `FLT` infinities.
170228

docs/CONTRIBUTING.html

Lines changed: 0 additions & 110 deletions
This file was deleted.

0 commit comments

Comments
 (0)