Commit Graph

34 Commits

Author SHA1 Message Date
Dillon Kearns
9e498ca93b Update examples. 2022-03-25 09:03:22 -07:00
Dillon Kearns
c6a5096357 Remove extra complexity of markdown parsing in routing test. 2022-03-09 11:18:23 -08:00
Dillon Kearns
aa98e1b914 Update test projects. 2022-03-09 10:33:33 -08:00
Dillon Kearns
f16a30320d Rename Page.elm -> RouteBuilder.elm. 2022-03-05 09:50:01 -08:00
Dillon Kearns
4fedf9ee19 Rename prerender -> preRender. 2021-12-23 13:34:19 -08:00
Dillon Kearns
010cfb9c2a Rename routes to pages. Routes are the category of page, pages are the specific things to pre-render for a given route, so this terminology is more consistent and clear. 2021-12-10 16:03:07 -08:00
Dillon Kearns
d752866d4e Use empty records instead of empty tuples for stateless Page Module's Model. Tweak Page builder API. Add option for local and shared state in generators. 2021-12-10 09:52:12 -08:00
Dillon Kearns
bbe33d4b52 Update examples and tests. 2021-08-01 10:25:38 -07:00
Dillon Kearns
b78f8c008b Rename types in ApiRoute module. 2021-07-30 15:35:11 -07:00
Dillon Kearns
979fa5ce4c Stop using serverless route in example temporarily. 2021-07-29 14:17:32 -07:00
Dillon Kearns
526f1b1256 Update example. 2021-07-29 09:48:25 -07:00
Dillon Kearns
e6c2031737 Rename Page builder functions. 2021-06-24 10:05:16 -07:00
Dillon Kearns
d55823a217 Update example. 2021-06-01 09:29:12 -07:00
Dillon Kearns
84933cfd69 Update docs and rename File.request -> File.read. 2021-05-28 14:00:51 -07:00
Dillon Kearns
1fc19583a2 Update example. 2021-05-24 12:09:57 -07:00
Dillon Kearns
04ee10c17a Remove ImagePath module. 2021-05-23 15:16:54 -07:00
Dillon Kearns
33ccb1c97d Remove remaining references to ImagePath. 2021-05-23 15:15:40 -07:00
Dillon Kearns
51066fbe80 Fix types in routing example. 2021-05-23 11:03:54 -07:00
Dillon Kearns
a2bd42f617 Use Path instead of PagePath in Manifest API. 2021-05-23 10:53:01 -07:00
Dillon Kearns
366ca7ab80 Generate routeToPath without Maybe. 2021-05-23 10:20:09 -07:00
Dillon Kearns
d908d8d01c Rename Document -> View. 2021-05-23 09:00:20 -07:00
Dillon Kearns
2d69c67dec Pass in DataSource with all routes to API Routes for use in generating files like Sitemap. 2021-05-22 18:56:16 -07:00
Dillon Kearns
bd4a9de2c4 Add missing parameter in example repo. 2021-05-19 07:59:39 -07:00
Dillon Kearns
d3c14ef976 Fix renamed field in example. 2021-05-16 10:18:48 -07:00
Dillon Kearns
62a7399074 Move SiteConfig to copied files. 2021-05-15 20:38:29 -07:00
Dillon Kearns
62675b6a16 Move SharedTemplate to copied gen folder. 2021-05-15 20:07:11 -07:00
Dillon Kearns
8686b56943 Pass in htmlToString function to API Routes. 2021-05-08 14:52:56 -07:00
Dillon Kearns
1fc0635646 Update routing apiRoutes structure. 2021-05-07 10:51:29 -07:00
Dillon Kearns
b16f32c1fa Rename field. 2021-05-06 07:16:05 -07:00
Dillon Kearns
4d175558ce Remove obsolete generateFiles. 2021-05-06 07:14:49 -07:00
Dillon Kearns
a58dfd3a90 Handle optional splat routers. 2021-04-28 11:55:54 -07:00
Dillon Kearns
f2a212fc60 Handle splat routes. 2021-04-28 10:49:00 -07:00
Dillon Kearns
a0b12d16fd Remove unused function. 2021-04-28 08:35:31 -07:00
Dillon Kearns
5365e4b7dd Add route example with unit test. 2021-04-28 08:28:56 -07:00