Commit Graph

2342 Commits

Author SHA1 Message Date
Dillon Kearns
11f440b09f Add nested table of contents module. 2021-04-21 17:27:00 -07:00
Dillon Kearns
09aad643e1 Update docs. 2021-04-21 15:43:30 -07:00
Dillon Kearns
0e19e08f93 Remove comment. 2021-04-21 14:04:10 -07:00
Dillon Kearns
c1c95294d7 Render table of contents in docs page. 2021-04-21 13:57:53 -07:00
Dillon Kearns
97838472ae Bump block levels. 2021-04-21 13:38:45 -07:00
Dillon Kearns
e7c1c35c42 Add starting point for pulling in docs pages. 2021-04-21 13:34:59 -07:00
Dillon Kearns
e3b10133e6 Add an error message for 0 Page Templates. 2021-04-21 08:40:37 -07:00
Dillon Kearns
0abbe6667f Remove unused file. 2021-04-21 08:33:17 -07:00
Dillon Kearns
a369ce8324 Simplify generated code, fix issue with hanging comma. 2021-04-21 08:29:25 -07:00
Dillon Kearns
b28cd8c684 Review fixes. 2021-04-21 07:54:52 -07:00
Dillon Kearns
f707815679 Fix test. 2021-04-21 07:52:56 -07:00
Dillon Kearns
c3e11e6e96 Make sure routes with 0 route params are always handled. 2021-04-21 07:51:27 -07:00
Dillon Kearns
8744024031 Remove obsolete Maybe. 2021-04-21 07:11:19 -07:00
Dillon Kearns
8f3eb14195 Rename Msg. 2021-04-21 07:09:09 -07:00
Dillon Kearns
0634bc84b2 Call onPageChange when coming from a 404 to a non-404. 2021-04-21 07:08:10 -07:00
Dillon Kearns
f890a48653 Handle 404 response for content.json with page render. 2021-04-21 06:09:26 -07:00
Dillon Kearns
f4197dd840 Fix off-by-one error in slides last page. 2021-04-21 06:05:04 -07:00
Dillon Kearns
7df626de4a Remove unecessary Dict lookup step. 2021-04-20 21:10:08 -07:00
Dillon Kearns
d9a927974d Remove unused expose. 2021-04-20 21:00:57 -07:00
Dillon Kearns
1e1f16e23d Add missing field in test setup. 2021-04-20 20:54:18 -07:00
Dillon Kearns
ce33445271 Add chokidar dependency. 2021-04-20 20:52:15 -07:00
Dillon Kearns
e63b64a637 Include is404 in build payload. 2021-04-20 20:36:10 -07:00
Dillon Kearns
722a5c5ff4 Fix copied file in cli code. 2021-04-20 20:25:39 -07:00
Dillon Kearns
3c3c8b1552 Check for 404 according to static paths. 2021-04-20 20:19:39 -07:00
Dillon Kearns
fd852d9b8b Update stream url. 2021-04-20 20:11:26 -07:00
Dillon Kearns
f6b87947ea Render 404 message in view when route not found. 2021-04-20 16:01:14 -07:00
Dillon Kearns
45647218a6 Update docs. 2021-04-20 14:58:00 -07:00
Dillon Kearns
e1b4d90087 Rename function. 2021-04-20 14:57:28 -07:00
Dillon Kearns
7f14f6171a Apply review fixes. 2021-04-20 14:35:55 -07:00
Dillon Kearns
b66e3e88e8 Format file. 2021-04-20 14:34:26 -07:00
Dillon Kearns
169546c83b Update docs.json. 2021-04-20 14:30:03 -07:00
Dillon Kearns
93d8572ddf Rename Pages.StaticFile -> DataSource.File. 2021-04-20 14:27:36 -07:00
Dillon Kearns
fb2c5be7ce Update doc comments. 2021-04-20 14:24:36 -07:00
Dillon Kearns
ec9c995b88 Replace StaticHttp with DataSource in add command. 2021-04-20 14:21:26 -07:00
Dillon Kearns
14a103e6fb Use String replace instead of replaceAll for older versions of node. 2021-04-20 14:20:29 -07:00
Dillon Kearns
ed58c97b4e Remove optional chaining syntax to support older node versions. 2021-04-20 13:57:22 -07:00
Dillon Kearns
982d63ef86 Update start script. 2021-04-20 13:57:09 -07:00
Dillon Kearns
65e6ef52dd Rename glob functions with ignore/capture instead of drop/keep to make it more intuitive. 2021-04-20 13:53:53 -07:00
Dillon Kearns
a082d9e291 Move HTTP-related DataSource API under DataSource.Http. 2021-04-20 13:52:54 -07:00
Dillon Kearns
84abfb4b2b DataSource.Request -> DataSource.DataSource. 2021-04-20 07:45:35 -07:00
Dillon Kearns
47fccf2cca Rename StaticHttp to DataSource. 2021-04-20 07:33:12 -07:00
Dillon Kearns
03fc86e577 Remove access to static data for canonicalSiteUrl for now. 2021-04-17 21:43:22 -07:00
Dillon Kearns
e94d9b0cf7 Make sure connect is defined before running it. 2021-04-17 21:21:17 -07:00
Dillon Kearns
ebc7812973 Remove obsolete pattern match. 2021-04-17 20:33:35 -07:00
Dillon Kearns
6258ec0b06 Add CLI handler for elm-pages add command. 2021-04-17 16:35:38 -07:00
Dillon Kearns
0c6c8610cc Update instructions. 2021-04-17 15:15:25 -07:00
Dillon Kearns
2fdecc4bde Setup dev server as CLI command. 2021-04-17 15:13:41 -07:00
Dillon Kearns
1d973ab495 Add CLI for elm-pages build. 2021-04-17 15:04:24 -07:00
Dillon Kearns
8d47b85908 Rename cli.js to build.js. 2021-04-17 14:40:02 -07:00
Dillon Kearns
2a065c5455 Update instructions. 2021-04-17 14:34:39 -07:00