1
1
mirror of https://github.com/srid/rib.git synced 2024-12-02 10:23:46 +03:00
Commit Graph

31 Commits

Author SHA1 Message Date
Sridhar Ratnakumar
48251c6818 Add a minimal example
Main.hs is based on getting started guide, with some fixes to make it work.
2019-07-16 20:10:20 -04:00
Sridhar Ratnakumar
2976299e77
Replace example with project site (#20)
Add a 'getting started' page to help new users
2019-07-14 15:39:16 -04:00
Sridhar Ratnakumar
07c8e9cce5
Fix outdated paths 2019-07-14 12:50:59 -04:00
Sridhar Ratnakumar
e53e226590
Fix img link 2019-07-14 12:44:30 -04:00
Sridhar Ratnakumar
09801138be
Vastly simplify configuration (#19)
Drop the `Settings` ADT in favour of passing Shake's `Action` directly.

Also change source and destination directories to `a` and `b` for clarity and remove subjectivity in defaults.
2019-07-14 11:17:48 -04:00
Sridhar Ratnakumar
aae2906737 Rib.App: fix ghcid not resetting cmdargs state
The `modes` need to be inside a function, apparently.
2019-07-13 20:33:40 -04:00
Sridhar Ratnakumar
bc380f5869 Add ghcid script 2019-07-13 15:11:04 -04:00
Sridhar Ratnakumar
7605251218 Update README 2019-07-12 17:12:36 -04:00
Sridhar Ratnakumar
d6a8790d68 Simplify Rib.Pandoc API 2019-07-12 16:55:40 -04:00
Sridhar Ratnakumar
34dc1427a5 Simplify Main.hs for easy scanning 2019-07-12 16:40:24 -04:00
Sridhar Ratnakumar
aebb4f1331
Move specialized code and types to Rib.Simple (#18)
* Move specialized code and types to Rib.Simple

Everything else is supposed to be generic, to be used by users wanting
greater customization without hardcoded stuff.

* parametrize parsePage to be of `page` as well

* Rename to renderPage

to match parsePage

* Fix broken url

* Some simplification

* more cleanup
2019-07-12 16:25:14 -04:00
Sridhar Ratnakumar
36a94cb3c8 Drop reflex-platform 2019-07-11 13:58:46 -04:00
Sridhar Ratnakumar
a816e63dd7 Pandoc syntax highlighting support 2019-07-11 10:18:14 -04:00
Sridhar Ratnakumar
f97e76e72e
Custom Shake rules (#12)
Allow the library user to specify their own Shake rules

Also:

* Add writeReflexWidget

* Move dev to library

* Rename images to static

* Avoid hardcoding post URL creator
2019-07-05 10:12:27 -04:00
Sridhar Ratnakumar
f97cac46e4 Use one source file for example 2019-07-03 09:39:47 -04:00
Sridhar Ratnakumar
a836a292ea Flesh out example in README 2019-07-02 09:27:37 -04:00
Sridhar Ratnakumar
f271fc04c8 Fix logo url 2019-07-01 18:19:00 -04:00
Sridhar Ratnakumar
2f07e71165
Isolate library and executable (#11)
* Split library and executable

* Abstract out pandoc stuff from example

* Put example content under ./example

* Simplify HTML render configuration
2019-07-01 18:14:01 -04:00
Sridhar Ratnakumar
2848ac80fd Fix logo image 2019-06-30 18:22:50 -04:00
Sridhar Ratnakumar
1d1e31aeb7
Change project name (#10) 2019-06-30 18:06:16 -04:00
Sridhar Ratnakumar
5a236d331e Simplify settings configuration 2019-06-30 17:41:00 -04:00
Sridhar Ratnakumar
ef669dc14e
Split Main.hs into sensible modules (#9)
* Split Main.hs into sensible modules

* Update README

* intro
2019-06-30 16:36:17 -04:00
Sridhar Ratnakumar
235b7cbd98
blaze & mustache -> reflex-dom (#8)
Include our own pandoc AST renderer, and skylighting handling.

Remove all static files except images.
2019-06-30 11:50:14 -04:00
Sridhar Ratnakumar
74e2c17204
Serve with warp + auto regeneration (#7) 2019-06-28 18:06:37 -04:00
Sridhar Ratnakumar
d361be29c1
Use reflex-platform (#6)
Best way to get reflex and friends.

Also remove package.yaml
2019-06-28 10:06:58 -04:00
Sridhar Ratnakumar
a43fe67ea2 Simplify Main.hs a bunch 2019-06-27 12:56:57 -04:00
Sridhar Ratnakumar
0e0519a857
Make this my primary website (#5)
* Change branding

* Import two articles from notes site

* Port 2 more

* Add the last article
2019-06-22 17:30:21 -04:00
Sridhar Ratnakumar
98e5a05857
Initial site design (#4)
* Remove sidebar and some stuff

* Remove all the css spam

* Remove ".html" suffix from post URLs

Gonna use node's serve package to serve these.

* Get rid of "posts/" directory

Just put files in root.

* use SemUI

* Header and footer tweaks

* More semui, header ...

* Add breadcrumb

* More UI simplification

* Pretty things using ribbons

* Post listing, with description
2019-06-22 10:34:03 -04:00
Sridhar Ratnakumar
65f1dfa5c4
Obelisk -> static site generator (#3)
* Drop obelisk files

* Add example of Slick

* Add articles to Slick's layout

* remove chris

* develop instructions
2019-06-20 19:16:03 -04:00
Sridhar Ratnakumar
8c00db5b11
Markdown rendering (#1)
* Import old Markdown code (from revue)

* Upgrade mmaark

* Hook up everything

* Fix most build issues

* Go back to rendering in backend

mmark borks (ghcjs TH bug) on frontend build
2019-06-18 21:43:13 -04:00
Sridhar Ratnakumar
861c02448b Begin writing; and developing the app itself 2019-06-17 19:04:04 -04:00