Commit Graph

155 Commits (0bc0d3b510208e38553f96aa3b0eec2a771d64f4)

Author SHA1 Message Date
Shuhei Kadowaki 0bc0d3b510 more consistent templates names, move stylesheets into ./stylesheets 2020-05-24 14:16:37 +09:00
Shuhei Kadowaki 60fc450c88
Merge pull request #341 from JunoLab/avi/preprefactor
pre #338
2020-05-24 03:14:11 +09:00
Shuhei Kadowaki 1fb40645ed refactors: almost just about code styles, doesn't change any behaviour 2020-05-24 02:36:32 +09:00
Shuhei Kadowaki 29ff436a00 consistent and clearer terminology:
- formatted -> body/rendered
- wdate -> weave_date
- wsource (or source) -> weave_source
- wdate -> weave_date
2020-05-23 23:05:36 +09:00
Shuhei Kadowaki f4caba1561 maxlog for deprecation warning 2020-05-23 22:51:17 +09:00
Shuhei Kadowaki 3c76b804dc separate format logic from WeaveDoc:
- this is just a first step, though
2020-05-23 22:16:56 +09:00
Shuhei Kadowaki 31f670b74c
Merge pull request #339 from JunoLab/avi/pandoc
refactor pandoc code:
2020-05-23 21:59:42 +09:00
Shuhei Kadowaki 0f94c7b49c fix case when `weave_options` are empty 2020-05-23 21:18:16 +09:00
Shuhei Kadowaki 54ccd9b1ed refactor pandoc code:
- more sensible err handling
- annotate TODO comments
2020-05-23 21:15:05 +09:00
Shuhei Kadowaki a03a1d4c34 EXAMPLE_FOLDER 2020-05-23 19:42:19 +09:00
Shuhei Kadowaki 8aa8f0c4df easy doc access 2020-05-18 22:59:18 +09:00
Shuhei Kadowaki b4c2bbea45 deprecate `options`, change to `weave_options`:
- avoid unexpected header stripping (`options` sounds too general)
- deprecated `options` support will be remove within ≥v0.11
2020-05-18 22:10:26 +09:00
Shuhei Kadowaki 4113402908 rename `latex_keep_unicode` to `keep_unicode`, handle this in `format` 2020-05-17 12:17:24 +09:00
Shuhei Kadowaki 101b170ea6 some support for dynamic YAML `weave` configuration 2020-05-17 11:45:39 +09:00
Shuhei Kadowaki 87ba87d2d1 resolve CSS theme path relative to a target document when given in YAML 2020-05-17 10:29:01 +09:00
Shuhei Kadowaki 58bc741b7f detect doctype when running a doc 2020-05-16 23:10:44 +09:00
Shuhei Kadowaki c1cf566c53 refactor format.jl 2020-05-16 17:59:17 +09:00
Shuhei Kadowaki 17c2151d86 a bit refactor:
- don't match slide `---` separator as header start/end
- recognize `doctype` in construction
2020-05-16 01:49:30 +09:00
Shuhei Kadowaki 42115e7d52 rename writer.jl -> converter.jl 2020-05-16 00:43:33 +09:00
Shuhei Kadowaki 094ebea6cf simplify converter functions 2020-05-16 00:32:28 +09:00
Shuhei Kadowaki 7c2eb23bcd small refactors (mostly about code styles) 2020-05-16 00:32:09 +09:00
Shuhei Kadowaki bc0f687352 rm header_args 2020-05-10 15:55:37 +09:00
Shuhei Kadowaki 2e19930565
Merge pull request #323 from JunoLab/avi/bang
use bangs for destructive functions
2020-05-10 14:28:40 +09:00
Shuhei Kadowaki d809ddf703
Merge pull request #322 from JunoLab/avi/require
don't load Weave Plots submodules into user's module
2020-05-10 14:06:09 +09:00
Shuhei Kadowaki e459bfb87d use bangs for destructive functions 2020-05-10 13:56:09 +09:00
Shuhei Kadowaki ede31bcf74 don't load Weave Plots submodules into user's module 2020-05-10 13:35:54 +09:00
Shuhei Kadowaki e89d5da250 rm unncessary `Symbol` spec:
- change `informat` and `doctype` options to 
`Union{NothingAbstractString}`
2020-05-10 13:20:44 +09:00
Shuhei Kadowaki c825076e36 simplify imports 2020-05-10 00:01:41 +09:00
Shuhei Kadowaki 4dae2a0816 `WEAVE_OPTION_NAME` 2020-05-09 22:42:05 +09:00
Shuhei Kadowaki 36bdd4f82b remove weird default constructor for `WeaveDoc` 2020-05-09 22:33:58 +09:00
Shuhei Kadowaki 5f7cf529b9 chunks.jl -> types.jl 2020-05-09 21:03:00 +09:00
Shuhei Kadowaki 750b7624e0 refactor readers.jl:
- avoid unnecessary overloading on `parse_doc`
- split readers.jl into multiple scripts
2020-05-09 20:17:53 +09:00
Shuhei Kadowaki d4413a1d78 clear sandbox module correctly 2020-05-09 16:09:11 +09:00
Shuhei Kadowaki 5dbe54316b isnothing utility 2020-05-09 11:26:32 +09:00
Shuhei Kadowaki e41202d3ff no weird Base.run overload 2020-05-09 11:25:19 +09:00
Shuhei Kadowaki 2376a9dae9 format things 2020-05-08 23:39:17 +09:00
Shuhei Kadowaki 020b4353a4 fix indents, Github -> GitHub 2020-05-06 23:37:04 +09:00
Fredrik Bagge Carlson f126e1c7a9 fix formatting 2020-04-17 12:16:56 +08:00
Fredrik Bagge Carlson 7e88052db3 keep latex figures 2020-04-17 12:16:56 +08:00
Shuhei Kadowaki d40e21ea35 improve documentations around notebooks 2020-03-27 20:43:33 +09:00
Shuhei Kadowaki 840f1b3b8f simpler doc APIs 2020-03-27 18:45:04 +09:00
Shuhei Kadowaki efccb5c7f1 more documentation improve 2020-03-27 10:16:57 +09:00
Shuhei Kadowaki 9e9fe45231 improve documentations 2020-03-26 21:41:54 +09:00
Shuhei Kadowaki f8c32c865b more type annotate APIs 2020-03-26 17:35:05 +09:00
Shuhei Kadowaki 6339303569 rm Compat 2020-03-18 08:53:25 +09:00
Shuhei Kadowaki 1f8514a737 fixes: #105, #288
closes: #289
2020-03-17 10:57:36 +09:00
Shuhei Kadowaki d8595e266f more doc fixes 2020-03-06 10:14:21 +09:00
Sebastian Pech c9e26d5638 Rename escape_unicode and move to tex based formatdicts 2019-10-15 21:48:05 +02:00
Sebastian Pech da66a8f272 Add escape_unicode to docstring 2019-10-15 14:20:11 +02:00
Sebastian Pech bd5ff7031c Add argument for disabling unicode escaping 2019-09-05 10:13:49 +02:00