Testing Ground
-Input is being processed on the fly by a friendly web service and - Output is updated as you type.
-diff --git a/.gitignore b/.gitignore index 704e960..7629330 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ test/tlex test/tdom test/tserialization test/tjson +test/tparser test/yamlTestSuite test/tquickstart test/*.exe @@ -22,3 +23,4 @@ doc/rstPreproc doc/tmp.rst doc/**/code yaml-dev-kit +nimsuggest.log diff --git a/config.nims b/config.nims index 57572d2..5e34367 100644 --- a/config.nims +++ b/config.nims @@ -48,7 +48,8 @@ task documentation, "Generate documentation": exec r"nim rst2html -o:../docout/api.html tmp.rst" exec r"./rstPreproc -o:tmp.rst serialization.txt" exec r"nim rst2html -o:../docout/serialization.html tmp.rst" - exec "cp docutils.css style.css testing.html processing.svg ../docout" + exec r"nim rst2html -o:../docout/testing.html testing.txt" + exec "cp docutils.css style.css processing.svg ../docout" exec r"nim doc2 -o:docout/yaml.html --docSeeSrcUrl:https://github.com/flyx/NimYAML/blob/`git log -n 1 --format=%H` yaml" for file in listFiles("yaml"): let packageName = file[5..^5] diff --git a/doc/style.css b/doc/style.css index 3be9e52..ec7d977 100644 --- a/doc/style.css +++ b/doc/style.css @@ -108,6 +108,11 @@ dt a:before { visibility: hidden; } +#testingground { + margin-left: -50px; + margin-right: -50px; +} + #testingground textarea { width: 100%; height: 100%; diff --git a/doc/testing.html b/doc/testing.txt similarity index 75% rename from doc/testing.html rename to doc/testing.txt index 99ac2b8..a6a3b01 100644 --- a/doc/testing.html +++ b/doc/testing.txt @@ -1,32 +1,11 @@ - - -
- -Input is being processed on the fly by a friendly web service and - Output is updated as you type.
-+ - test some + - {YAML: here} + - foo: bar + ? [1, 2, 3] + : !!str "string" + - + ? &a anchor + : !!bool yes + ? reference to anchor + : *a |
@@ -139,5 +118,3 @@
}
parse();
-
-
|