Commit Graph

91 Commits

Author SHA1 Message Date
Ines Montani
3c8db3e4da
Merge pull request #1473 from explosion/refactor-javascript
Refactor website JS and add model comparison tool
2017-10-31 14:02:05 +01:00
ines
5af6c8b746 Update training docs 2017-10-30 20:28:00 +01:00
ines
57534253e6 Move CLI docs to own page 2017-10-30 19:39:26 +01:00
ines
14ad92d337 Ensure fallbacks / progressive enhancement if JS disabled 2017-10-30 16:16:19 +01:00
ines
1eb1ed0c7c Add tool for model comparison (experimental)
User can select two model and their meta is fetched from GitHub. Features, accuracy figures and speed benchmarks are displayed in a table, with an additional chart comparing the accuracy scores if available. Main use case: demonstrating and visualising trade-offs between larger and smaller models of the same type.
2017-10-30 14:09:43 +01:00
ines
38ef4274b6 Remove confusing icon for non-compatible models
ModelLoader will now output "not compatible" if no compatible version of model is found for a spaCy version
2017-10-30 14:07:42 +01:00
ines
8db3da3c3d Refactor JS, split into modules and add nomodule option
rollup.js will be compiled by the rollup package and Babel on build, and will be loaded if a browser doesn't yet support JS modules
2017-10-30 14:06:25 +01:00
ines
ae45446978 Remove comment 2017-10-30 13:15:46 +01:00
ines
25f6331550 Allow other style arguments on +grid-col 2017-10-30 13:15:30 +01:00
ines
08869c19fd Merge mixins and mixins-base
The distinction was never clear anyways and it was progressively getting messier. So all mixins live in one file now.
2017-10-30 13:15:13 +01:00
ines
ae2ad5becc Remove charts from model direcory and add speed benchmarks
With speed benchmarks, charts ended up taking up too much space – and they were mostly data porn and not particularly useful anyways. Instead, we might add a "Compare" page that fetches all models and lets the user compare two or more models in terms of accuracy, speed etc.
2017-10-29 03:58:19 +01:00
ines
9b6828bd83 Add height option to +chart and document 2017-10-29 03:53:59 +01:00
ines
53bfcdba31 Make tooltips/tags and old/new code blocks more accessible (see #(see #1471))
Always add tooltip text as hidden label. Use different tooltip icons for tags and inline help icons. Add labels to old/new code blocks and add option to customise label text.
2017-10-29 01:17:49 +02:00
ines
4a4f9666b2 Improve style/accessibility of yes/no/neutral icons (see #1471)
Use distinctive icons instead of only colour, add proper handling of labels (hidden or visible, but always present) with optional custom text.
2017-10-29 01:14:30 +02:00
ines
52f1bf2729 Adjust GitHub embeds 2017-10-27 12:30:59 +02:00
ines
70de2dd035 Display vectors in models directory if available (see #1457) 2017-10-25 16:15:37 +02:00
ines
6686e53530 Allow GitHub embeds to specify optional language 2017-10-24 16:00:56 +02:00
ines
bb6ecb82e5 Ensure long file paths in code examples break if needed 2017-10-14 12:51:52 +02:00
ines
b4fc6b203c Rename mixin 2017-10-10 04:22:23 +02:00
ines
2ac8b5c622 Add wrapper for before/after code examples 2017-10-09 14:36:20 +02:00
ines
36ff525ff5 Add NER P and NER R scores to model overview 2017-10-04 00:37:15 +02:00
ines
9af604f0da Update layout templates, partials and mixins 2017-10-03 14:20:13 +02:00
ines
49b58d35fd Update JavaScript 2017-10-03 14:18:49 +02:00
ines
a8ff8423bb Update image assets, icons and SVGs
Move SVG sprite to Jade file and include in template. Only use SVG
symbols for logos.
2017-10-03 14:17:41 +02:00
ines
52c6302223 Allow prompt setting on code mixin 2017-08-14 13:05:01 +02:00
ines
6c34b1a65b Update alpha thread link 2017-06-06 00:58:12 +02:00
ines
6438428ce8 Update v2 infobox 2017-06-04 22:09:33 +02:00
ines
e76baccd51 Add alpha social image 2017-06-04 18:43:14 +02:00
ines
ec6d2bc81d Add table of contents mixin 2017-06-03 22:16:26 +02:00
ines
9064fbbf1e Fix empty arguments in mixins 2017-06-01 18:57:02 +02:00
ines
b577ed79ee Move social image logic out to function and move files 2017-06-01 14:27:44 +02:00
ines
5cef1dd305 Always use develop branch of GitHub links in ALPHA mode 2017-06-01 12:47:30 +02:00
ines
bea6e6bfad Allow annotation row to take children 2017-06-01 11:51:14 +02:00
ines
baa6070548 Fix ID of quickstart group to avoid conflicts 2017-05-31 12:43:30 +02:00
ines
17b635eaab Update alpha docs note and fix typo 2017-05-29 11:09:24 +02:00
ines
20ffb56148 Fix overwriting of navigation in ALPHA mode 2017-05-28 16:36:31 +02:00
ines
189db308d9 Only add coloured border to code block if icon has colour 2017-05-28 16:36:21 +02:00
ines
b85d88fac6 Update quickstart mixin to make it more customisable 2017-05-28 16:36:07 +02:00
ines
1b9c6ded71 Update API docs and add "source" button to GH source 2017-05-26 13:40:32 +02:00
ines
f122d82f29 Update usage docs and ddd "under construction" 2017-05-26 13:17:48 +02:00
ines
ea9474f71c Add version tag mixin to label new features 2017-05-26 12:42:36 +02:00
ines
10ca6d1507 Set additional min-width on icons
Prevents icons from being scaled in flexbox containers
2017-05-26 12:39:59 +02:00
ines
00ede349dc Add table row for linguistic annotations 2017-05-23 23:13:37 +02:00
ines
7e5163402e Allow clipping code block to height and add docs 2017-05-23 23:13:26 +02:00
ines
05761e1750 Allow size on procon icon 2017-05-23 23:11:38 +02:00
ines
0864a8ddd8 Allow desctiption, group help, fix help icon and add style option to commands 2017-05-21 20:51:00 +02:00
ines
f56cdf4ed1 Add quickstart.js note to mixin 2017-05-21 20:50:11 +02:00
ines
869dbf92ce Add option for code blocks with (colored) icons
Plus "old" / "new" style with green accept / red reject icon
2017-05-21 13:22:34 +02:00
ines
b53ed82f0f Fix +tag-model mixin to check for length of spread arguments 2017-05-21 01:12:30 +02:00
ines
fec16d1649 Add option for "alpha mode" with warning and green theme 2017-05-20 14:00:41 +02:00