1
1
mirror of https://github.com/srid/ema.git synced 2024-12-01 15:13:36 +03:00
Commit Graph

100 Commits

Author SHA1 Message Date
Sridhar Ratnakumar
63162f126b Fix tutorial: runEma takes an extra argument 2021-07-06 10:54:46 -04:00
Sridhar Ratnakumar
b3ddd6163c
docs: RSS unavailable 2021-07-06 09:39:25 -04:00
Sridhar Ratnakumar
ae113f5246 Remove -C option 2021-06-28 11:05:48 -04:00
Sridhar Ratnakumar
d5096e0529
Add routeUrlWith (#49)
* Add routeUrlWith

* Add FromJSON instance

* docs
2021-06-27 19:11:34 -04:00
Sridhar Ratnakumar
bab2d1907c docs: use meta description only on index 2021-06-22 10:38:06 -04:00
Sridhar Ratnakumar
ea6650e8a5 docs: encodeRoute now takes a model 2021-06-15 20:23:54 -04:00
Sridhar Ratnakumar
c11cb41c0c docs: use <video> for new emanote 2021-06-02 19:30:44 -04:00
Tristan McLeay
414b14da9f
Tutorial fixes (#40)
* make tutorial followable: update decodeRoute to include _model

* make tutorial followable: correct spelling of AssetGenerated

* make tutorial followable: when writing to output it doesn't seem to operate in the pwd (ema bug?)

Co-authored-by: Tristan Mc Leay <tristan@cassowary.org>
2021-05-26 18:34:46 -04:00
Sridhar Ratnakumar
7356b6298a Don't hardcode base Url in Tailwind helper 2021-05-22 13:36:28 -04:00
Sridhar Ratnakumar
f8b7e9d41c Docs and changelog 2021-05-22 13:06:27 -04:00
Sridhar Ratnakumar
e032e7663e docs: change site description 2021-05-20 22:00:47 -04:00
Sridhar Ratnakumar
5955897426 Adjust tutorial for new template 2021-05-19 13:20:10 -04:00
Sridhar Ratnakumar
be2a55c81f Add styling for next and last classes 2021-05-19 12:45:40 -04:00
Sridhar Ratnakumar
8e5bd31dfe Fix syntax highlighting issue on tutorial page 2021-05-19 00:03:54 -04:00
Sridhar Ratnakumar
e4b4e71bc4 Publish 2021-05-18 23:56:55 -04:00
Sridhar Ratnakumar
36108d0529 Start porting to emanote 2021-05-18 22:43:37 -04:00
Sridhar Ratnakumar
2a010ea22d Import from ema-docs 2021-05-18 22:29:04 -04:00
Sridhar Ratnakumar
29f0c4d33c Move docs to separate repo 2021-04-26 17:42:00 -04:00
Sridhar Ratnakumar
8ec177db16 Fix cabal file for sdist 2021-04-26 14:28:05 -04:00
Sridhar Ratnakumar
e5d77e1e92 Prep for hackage release 2021-04-26 14:22:49 -04:00
Sridhar Ratnakumar
bb9c95a4b9
Add logging support (#17)
* Prototype logging using monad-logger-extras

* Use logging in Server.hs

* Add logging to generate

* Cleanup websocket logging

* Cleanups
2021-04-26 12:46:35 -04:00
Sridhar Ratnakumar
b0354babcd Revert "Allow decodeRoute to take the model"
This reverts commit 55b7a34c94.
2021-04-25 16:27:07 -04:00
Sridhar Ratnakumar
55b7a34c94 Allow decodeRoute to take the model 2021-04-25 15:15:18 -04:00
Sridhar Ratnakumar
bb59a31e27 Fix broken links 2021-04-25 14:51:06 -04:00
Sridhar Ratnakumar
267c12b533 docs: add webapp manifest 2021-04-25 14:14:48 -04:00
Sridhar Ratnakumar
b80a9327a6 docs: fix logo url 2021-04-25 13:24:33 -04:00
Sridhar Ratnakumar
d0984ad9fe Update documentation 2021-04-25 13:18:25 -04:00
Sridhar Ratnakumar
9d517b8755 Implement static assert serving/generating
Also make ema.svg a static file
2021-04-25 13:15:30 -04:00
Sridhar Ratnakumar
c5f475e5a2 Add staticAssets for paths to static assets; add -C to change CWD 2021-04-25 12:40:50 -04:00
Sridhar Ratnakumar
a661aa5848 Handle and display errors in browser (w/ hot reload)
Resolves #7
2021-04-24 23:25:04 -04:00
Sridhar Ratnakumar
d037975653 doc: rename to concepts 2021-04-24 21:53:37 -04:00
Sridhar Ratnakumar
6e7c9f2dde doc: misc... 2021-04-24 21:42:17 -04:00
Sridhar Ratnakumar
c822580111 advanced route example 2021-04-24 21:16:33 -04:00
Sridhar Ratnakumar
6ef8e3c62f Docs reorg 2021-04-24 20:55:31 -04:00
Sridhar Ratnakumar
55cf7b3bcb Reorg docs 2021-04-24 20:36:29 -04:00
Sridhar Ratnakumar
02a3c7613e Style non-internal links differently 2021-04-24 20:25:51 -04:00
Sridhar Ratnakumar
d91995f9ad more docs ... 2021-04-24 20:18:38 -04:00
Sridhar Ratnakumar
6a48ef821b More docs 2021-04-24 20:02:27 -04:00
Sridhar Ratnakumar
72a5a2013a docs... 2021-04-24 19:35:54 -04:00
Sridhar Ratnakumar
bca3641fcc Use same CDN for prismjs, and avoid it in root 2021-04-24 19:09:59 -04:00
Sridhar Ratnakumar
0b318ff195 Relaxed list styling on mobile 2021-04-24 14:57:04 -04:00
Sridhar Ratnakumar
fcb899e895 tailwind: Use shim when statically generating, CDN otherwise
To get better lighthouse score
2021-04-24 14:47:19 -04:00
Sridhar Ratnakumar
d32a039132 Try prism friendly classes 2021-04-24 13:56:23 -04:00
Sridhar Ratnakumar
d02469ac5f more docs work 2021-04-24 13:44:53 -04:00
Sridhar Ratnakumar
9ed970be7e Add features, etc.wq 2021-04-24 13:10:31 -04:00
Sridhar Ratnakumar
ba4f06153b Fix CI yaml again 2021-04-24 12:35:54 -04:00
Sridhar Ratnakumar
978d209927 Fix CI docs 2021-04-24 12:21:02 -04:00
Sridhar Ratnakumar
e9cd43723d
Publish docs to GitHub Pages (#15) 2021-04-24 12:04:16 -04:00
Sridhar Ratnakumar
dd97398be8 Add breadcrumb styling 2021-04-24 11:35:52 -04:00
Sridhar Ratnakumar
7c714ef771
Add documentation site example (#14)
Add documentatin site example

* Repurpose the third example for documentation

* No need for a separate route type

We can repurporse the source path as route.

* Add markdown parser via commonmark

* Read .md files recursively

* Add Ema.Helper.FileSystem (fsnotify code)

* Pandoc Blaze renderer (not complete)

* Rewrite links in Pandoc AST to use routes

* Start syling AST elements

* Basic breadcrumbs

* finalize
2021-04-23 22:00:46 -04:00