362 Commits

Author SHA1 Message Date
Stavros Polymenis
63d915c8be Reorganise Template and HTML 2017-12-04 00:09:29 +00:00
Stavros Polymenis
381d4a235f Wrap all Tyxml.elt values in lists so that they can be concatenated in a single list. Thanks to Drup 2017-11-30 01:31:14 +00:00
Stavros Polymenis
bb5316a3d4 Build in note conversion 2017-11-30 00:25:15 +00:00
Stavros Polymenis
8def02d2cc Compose Tyxml with Mustache 2017-11-29 23:42:10 +00:00
Stavros Polymenis
561d99f052 Fix date on template-less note conversion 2017-11-28 23:08:15 +00:00
Stavros Polymenis
637556360e Reorganise escape functions 2017-11-28 23:03:12 +00:00
Stavros Polymenis
1283c1de78 Refactor html composition from Template 2017-11-28 22:23:49 +00:00
Stavros Polymenis
fe0ae40e86 Fix titles 2017-11-27 22:20:24 +00:00
Stavros Polymenis
0a181f80ad Wrap header in <header> by default 2017-11-24 02:25:51 +00:00
Stavros Polymenis
b9a55a2be9 Move page structuring from Html to Template 2017-11-24 02:25:01 +00:00
Stavros Polymenis
bfe1279ff2 Provide Converters to build command line interface 2017-11-21 23:58:52 +00:00
Stavros Polymenis
bbc329ef61 Started static conversion indexer 2017-11-20 22:31:17 +00:00
Stavros Polymenis
52d2ee9f93 Add style path parameter to Html.of_note and use custom style path for html exports 2017-11-20 21:34:22 +00:00
Stavros Polymenis
6bfb636d8e Copy .logarion/static into export directory's static/ 2017-11-20 21:05:41 +00:00
Stavros Polymenis
f711c7ea37 Add directory parameter and creation code 2017-11-18 19:27:31 +00:00
Stavros Polymenis
16fd44139e Draft conversion function 2017-11-16 22:32:30 +00:00
Stavros Polymenis
281a2fc78f Revise gitignore 2017-11-16 22:29:06 +00:00
Stavros Polymenis
f8ab384f0d Fix front matter regexp and catch String.sub exception 2017-11-15 22:04:50 +00:00
Stavros Polymenis
ce1f3e3a3b Fix Archive.sublist 2017-11-15 22:03:28 +00:00
Stavros Polymenis
03be845d60 Finished patching core/file 2017-11-15 22:02:30 +00:00
Stavros Polymenis
257038afe8 Started work on patching store/file 2017-11-15 20:02:50 +00:00
Stavros Polymenis
aacc0daa99 Revised core to avoid use of Batteries 2017-11-15 00:06:53 +00:00
Stavros Polymenis
1fff19a18c Remove forgotten dependency in core/jbuild 2017-11-13 22:45:50 +00:00
Stavros Polymenis
f79803cdfd Drop Batteries dependency 2017-11-06 23:10:03 +00:00
Stavros Polymenis
328e6da91e Add repository owner as author name when using create command 2017-11-03 00:37:13 +00:00
Stavros Polymenis
c2286d0772 Fix writing to file, don't ignore Lwt thread 2017-11-03 00:12:07 +00:00
Stavros Polymenis
f7b7cce697 Remove unused function 2017-11-02 23:53:19 +00:00
Stavros Polymenis
eef58f96b2 Increment version to 0.2 2017-11-02 23:17:52 +00:00
Stavros Polymenis
712325aa7b Refactor webserver port to a variable 2017-11-02 22:37:14 +00:00
Stavros Polymenis
82a493bd82 Generate config.toml in .logarion/ instead of copying it 2017-11-02 21:52:53 +00:00
Stavros Polymenis
39b68e947d Move config to share/; copy share/ when installing via OPAM 2017-11-01 00:31:30 +00:00
Stavros Polymenis
2f9cebccc2 Use .logarion/config.toml for webserver too 2017-10-27 13:46:03 +01:00
Stavros Polymenis
0400b7c8a0 Default to current directory for repository 2017-10-27 13:38:55 +01:00
Stavros Polymenis
dd895a1613 Drop repository path (for now) 2017-10-27 13:30:32 +01:00
Stavros Polymenis
f823e3bc71 Initialise to .logarion 2017-10-27 13:29:34 +01:00
Stavros Polymenis
9acf043870 Move Logarion's files in .logarion/ and perform OS ops with Bos 2017-10-27 00:04:29 +01:00
Stavros Polymenis
66c2d3cd2c Wrap webserver with custom CmdLiner term 2017-10-25 22:09:52 +01:00
Stavros Polymenis
b1851c4426 Decompose Config.config to Config.of_path 2017-10-25 22:08:18 +01:00
Stavros Polymenis
9a9f8ecd67 Merge configuration files into a single file 2017-10-21 19:46:11 +01:00
Stavros Polymenis
5bee0850b2 Dropped default values for webserver and template configuration records 2017-10-20 23:18:53 +01:00
Stavros Polymenis
089871ad41 Obselete Config record and functions 2017-10-20 23:18:53 +01:00
Stavros Polymenis
c0b6f45fe5 Revise webserver to use Confix
- Drop begin scope in of_config and improve UUID error message
- Tidy syntax
2017-10-20 23:18:36 +01:00
Stavros Polymenis
d56fb93d58 Introduce Confix, a discrete library for application configuration
- Patch Template.ml to use Confix
- Add result binding operator
- Patch template and webserver to use Confix
- Wrote Config.to_record for applying positive result to converter
- Remove truncated file
2017-10-20 23:18:02 +01:00
Stavros Polymenis
04dc9a9a22 Fixes bad topic urls, reported by @cedlemo 2017-10-20 22:52:08 +01:00
Stavros Polymenis
731d5a344b Fix indentation 2017-10-20 22:44:06 +01:00
Stavros Polymenis
192df0f191 Print server address and termination hint 2017-10-20 22:41:59 +01:00
Stavros Polymenis
05ccdc38ee Re-implemented Lpath.from_config_paths and of_toml_file to yield Result 2017-10-05 23:41:09 +01:00
Stavros Polymenis
2dc3ebbfbe Use ./share/static as default static_dir and inform about the absense of config files 2017-10-04 23:15:14 +01:00
Stavros Polymenis
655e4d57d9 Revise Readme's instructions for CSS generation 2017-10-03 22:53:19 +01:00
Stavros Polymenis
dee77a3d49 Remove main.sass, replaced by two separate files 2017-10-03 22:48:35 +01:00