Commit Graph

235 Commits (master)

Author SHA1 Message Date
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 f1df02c2b7
Merge pull request #320 from JunoLab/avi/robusttest
more robust error rendering test
2020-05-09 23:17:24 +09:00
Shuhei Kadowaki 4dae2a0816 `WEAVE_OPTION_NAME` 2020-05-09 22:42:05 +09:00
Shuhei Kadowaki 8303311d59 more robust error rendering test 2020-05-09 22:35:45 +09:00
Shuhei Kadowaki 36bdd4f82b remove weird default constructor for `WeaveDoc` 2020-05-09 22:33:58 +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 3b8201df04 add test for `clear_module!` 2020-05-09 18:22:24 +09:00
Shuhei Kadowaki 79579053f1 refactor tests:
- simpler module evaluation test
- remove useless include_weave test
2020-05-09 17:27:51 +09:00
Shuhei Kadowaki e41202d3ff no weird Base.run overload 2020-05-09 11:25:19 +09:00
Shuhei Kadowaki 95e32c4908 more graceful header handling 2020-04-18 19:10:07 +09:00
Sebastian Pech 05c93b8607 Fix inline tests after Highlights update 2019-10-22 20:10:27 +02:00
Sebastian Pfitzner 3d673d0338
Merge pull request #244 from sebastianpech/disable-unicode-escape
Add argument to weave function to disable unicode escape
2019-10-21 19:48:29 +02:00
Sebastian Pech c9e26d5638 Rename escape_unicode and move to tex based formatdicts 2019-10-15 21:48:05 +02:00
Sebastian Pech 0018f0e24c Fix new expected output in ref for new escape char 2019-10-15 17:18:50 +02:00
Sebastian Pech bd5ff7031c Add argument for disabling unicode escaping 2019-09-05 10:13:49 +02:00
Sebastian Pech fa4a1a629d Add function to convert percentages to matching latex widths 2019-08-25 19:19:31 +02:00
Sebastian Pech eeb723981d Fix printing [] if fig_env is empty string 2019-08-25 10:25:57 +02:00
Sebastian Pech 474cb6e4b2 Combine formatfigures for Tex and JMarkdown2tex 2019-08-25 09:39:03 +02:00
Sebastian Pfitzner ed41be610a
Merge pull request #221 from thofma/master
Add html rendering of Markdown tables
2019-06-26 12:10:46 +02:00
Tommy Hofmann 1c0506342e Add html rendering of Markdown tables 2019-06-26 11:19:11 +02:00
Sebastian Pfitzner 9f664ba5a6
Merge pull request #202 from tshort/hook-fix
Fix hooks and add a push/pop hook to the test
2019-06-25 18:10:38 +02:00
Arnav Sood 5d3e05511e allow configuration of jupyter command while weaving notebooks, fixes #194
* notebook refactor and tests

* update PR

* add jupyter test jmd

* add back full warnings and remove debugging output

* Update test filename [ci skip]

* Conda for CI

* update for CI?

* remove Conda, IJulia, and tests for now

* Project.toml changes suggested by tinagly

* revive travis tests

* comment out nb tests
2019-06-19 10:26:13 -07:00
tshort bd69ef1f59 Fix hooks and add a push/pop hook to the test 2019-04-27 13:17:29 -04:00
Matti Pastell 95e860816c Restore .ps and .js.svg to Gadfly 2019-03-11 15:13:30 +02:00
Matti Pastell 8194c8a1b8 Fix `include_weave`. Closes #152. 2019-03-11 14:05:06 +02:00
Matti Pastell 83e2e0ae20 Add tests for inline code 2019-03-11 13:39:21 +02:00
Matti Pastell 35addd2b50 Fixes to option parsing, gadfly pdf, stripping header, add tests 2019-03-11 10:23:31 +02:00
Matti Pastell 37aa0237a8 Add new syntax for inline code and fix output in md2* formats 2019-03-06 22:27:47 +02:00
Matti Pastell 700e00b329 Add missing test document 2019-03-05 20:00:52 +02:00
Matti Pastell 6082786f92 Allow setting document options in YAML header 2019-03-05 19:36:27 +02:00
Matti Pastell 52f3a23d28 Allow format specific options in header 2019-03-05 16:44:10 +02:00
Matti Pastell edd558de0e Add support for comments in Markdown. Closes #97 2019-02-28 16:17:03 +02:00
Matti Pastell f2773376d9 Merge branch 'noalign' 2019-02-27 16:43:15 +02:00
Matti Pastell 6a30aa20f2 Remove align environment from math output #182 2019-02-27 16:42:51 +02:00
Matti Pastell 8d1bb63b0a Render markdown output in md2* formats. Fixes #156 2019-02-27 15:03:33 +02:00
Matti Pastell bad5650027 Fix \bf and \frak symbols in md2tex. Improves #181 2019-02-26 17:38:28 +02:00
Matti Pastell 7587b4f9cf
Fix line wrapping (#180)
* Fix line wrapping

* Don't chop from tail

* Test wrapping unicode
2019-02-26 00:09:40 +02:00
Tamas Nagy caf64b2407 [WIP] Add Gadfly support back (#163)
* add back gadfly support

* fix svg embed encoding
2019-02-07 19:28:06 +02:00
schrimpf ab09bddcd8 change cache to work with figures (#158)
* Changed read/write cache to use serialize/deserialize instead of
JLD2. JLD2 fails to save strings longer than 2^16 characters, which
can occur in the stringmime() of large figures.

* Added test for cache with figures and html output.
Updated REQUIRE & Project.toml to include Serialization instead of
FileIO and JLD2

* Added "Import Pkg;" to expected output of errors, so that tests pass.
2019-01-03 15:40:32 +02:00
Matti Pastell bf57bf8a07
Use align for ```math blocks (#143)
* Use align for ```math blocks
* Fix deprecation from inline parsing
* Update tests
2018-08-23 08:22:08 +03:00
Matti Pastell aa4ba7ed52
Cleaning for Julia 1.0 (#141) 2018-08-17 10:28:12 +03:00
Matti Pastell b41b4b4d41 Fix deprecations from tests 2018-08-14 11:32:51 +02:00
Matti Pastell 6217f4fb72 Update tests rc2 2018-08-07 12:54:51 +03:00
Matti Pastell 3fc3e3c6e0 Use :label consistently 2018-07-27 10:42:14 +03:00
Matti Pastell 28428e0832 Add tests for pandoc labels, closes #127 2018-07-27 10:22:30 +03:00
Matti Pastell 160017b6e8 Remove plot library hack and use Requires instead 2018-07-26 20:32:10 +03:00
Matti Pastell 93bb9ced2d Fix occursin bugs 2018-07-26 11:35:17 +03:00
Matti Pastell f90547cee6 Fix bug in Sandboxing, run code in sandbox module by default 2018-07-26 02:01:10 +03:00
Matti Pastell b5e02cad36 Add tests for running in Main or sandbox module. Closes #101 2018-07-26 00:12:48 +03:00
Matti Pastell 373f5e9d37 Allow choosing where to eval code. 2018-07-25 23:24:25 +03:00
Matti Pastell d72734a828 Use testsets 2018-07-25 21:43:38 +03:00
Matti Pastell ac26ffe271 Fix formatter test 2018-07-25 11:22:12 +03:00
Matti Pastell 57724aff67 Fix error handling test 2018-07-24 11:50:28 +02:00
Matti Pastell e6cea19d5e Update display tests 2018-07-24 10:46:04 +02:00
Matti Pastell 7a2150430d Remove test depencies 2018-07-23 18:52:08 +02:00
Matti Pastell 01f8810bc3 Run working tests with 0.7 2018-07-23 18:39:48 +02:00
femtocleaner[bot] f04b67f69b Fix deprecations (#135)
* Fix deprecations

* Fix html output
2018-07-23 13:37:25 +03:00
Matti Pastell ce43dea594 Add tests for markdown writer 2018-01-08 12:53:48 +02:00
Matti Pastell b2b143c22e Add markdown2html writer, remove Documenter depency 2018-01-07 20:19:59 +02:00
Matti Pastell eead8f24a8
Added error handling with html display (#117)
* Implemented error handling and initial html display

* Improved html display and tests for error handling
2018-01-07 11:53:07 +02:00
Matti Pastell 6dc482d997 Fix term=true in "rich outputs", closes #113 2018-01-03 19:33:57 +02:00
Matti Pastell 15d4cdf512 Update md2tex format tests. Closes #107 2018-01-03 19:07:14 +02:00
Matti Pastell 2596670aa3 More tests for figure format 2018-01-03 12:34:13 +02:00
Matti Pastell 65af831152 New mimetype tests for output 2018-01-03 11:59:43 +02:00
Matti Pastell e0cd57e6a9 Remove DataFrames as test depency 2018-01-03 10:57:27 +02:00
Matti Pastell 0f0e190dd6 More figure formats to tests 2018-01-03 10:21:04 +02:00
Matti Pastell 753402529e Add tests for figure formats 2018-01-03 10:14:32 +02:00
Matti Pastell 9e5ad966eb Add script reader test 2018-01-03 09:37:05 +02:00
Matti Pastell 361f404f95 Fix notebook test 2018-01-03 09:13:58 +02:00
Matti Pastell c1795e7310 Fix Gadfly tests 2018-01-03 08:48:01 +02:00
Matti Pastell eb87de143b Disable html publish test 2018-01-02 16:51:13 +02:00
Matti Pastell c54032d99a Fix REQUIRES 2018-01-02 16:35:44 +02:00
Matti Pastell 165f6e71bb Tests again 2018-01-02 16:34:47 +02:00
Matti Pastell 1536ad455a Fix DataFrames version for tests 2018-01-02 16:23:28 +02:00
Matti Pastell 5bb5e8994c Switch to JLD2 for caching docs 2018-01-02 16:21:45 +02:00
Matti Pastell c0ad60d138 Update test depencies 2018-01-02 16:16:48 +02:00
Matti Pastell 6a81c53af3 Disable notebook test 2018-01-02 16:02:51 +02:00
Matti Pastell 45a3f46918 Update tests 2018-01-02 15:54:55 +02:00
Matti Pastell aaabc2cd4f Update README 2017-05-15 17:53:43 +03:00
Matti Pastell 0213c2f774 Fix publish test 2017-05-15 17:36:54 +03:00
Matti Pastell dffb554c8a Fix Gadfly tests 2017-05-15 17:28:10 +03:00
Matti Pastell 4bc5435e6d Fix figure display for Gadfly 2017-05-15 17:13:18 +03:00
Matti Pastell 5c83309aa3 Fix Gadfly and Plots, use Compat.invokelatest 2017-05-12 16:12:05 +03:00
Matti Pastell 97f309af19 Fix test cleaning on windows 2017-03-14 21:45:46 +02:00
Matti Pastell 1915501026 More tests for 0.6 2017-03-14 21:27:26 +02:00
Matti Pastell bbad66d0b8 Fix plotting imports and tests 2017-03-14 09:27:16 +02:00
Matti Pastell 1b5c0f819c Fix tests for 0.6 2017-03-13 23:14:25 +02:00
Matti Pastell b2ffefdb27 Remove Winston support, closes #58 2017-03-13 20:57:39 +02:00
Matti Pastell 09ecdb6f2c Disable plots tests 2017-03-13 20:39:43 +02:00
Matti Pastell d3e0f31f9e More fixes to tests 2017-03-13 19:04:59 +02:00
Matti Pastell 0ffa04b3fd Fix tests 2017-03-13 18:55:15 +02:00
Matti Pastell 70c850e79e Fix extra whitespace in convert_doc 2017-03-13 15:12:59 +02:00
Matti Pastell 888b732f86 Fix output for `term=true`. Closes #82. 2017-03-13 15:05:07 +02:00
Matti Pastell 2715baa347 Add test to caching 2016-12-28 01:12:53 +02:00
Matti Pastell b61a2a01b0 Added tests for inline cache 2016-12-27 22:29:04 +02:00
Matti Pastell 3837142f9b Add cache/restore for inline code 2016-12-27 21:46:23 +02:00
Matti Pastell c7918241f2 Fix convert and enable test 2016-12-27 01:48:00 +02:00
Matti Pastell 9dc99ba602 Fix format tests, disable cache, convert until fixed 2016-12-27 01:16:39 +02:00