@@ -3,52 +3,52 @@ using Documenter, VegaLite, UUIDs
33function Base. show (io:: IO , m:: MIME"text/html" , v:: VegaLite.VLSpec )
44 divid = string (" vl" , replace (string (uuid4 ()), " -" => " " ))
55 print (io, " <div id='$divid ' style=\" width:100%;height:100%;\" ></div>" )
6- print (io, " <script type='text/javascript'>requirejs.config({paths:{'vg-embed': 'https://cdn.jsdelivr.net/npm/vega-embed@6?noext','vega-lib': 'https://cdn.jsdelivr.net/npm/vega-lib?noext','vega-lite': 'https://cdn.jsdelivr.net/npm/vega-lite@4?noext','vega': 'https://cdn.jsdelivr.net/npm/vega@5?noext'}}); require(['vg-embed'],function(vegaEmbed){vegaEmbed('#$divid '," )
6+ print (io, " <script type='text/javascript'>requirejs.config({paths:{'vg-embed': 'https://cdn.jsdelivr.net/npm/vega-embed@6?noext','vega-lib': 'https://cdn.jsdelivr.net/npm/vega-lib?noext','vega-lite': 'https://cdn.jsdelivr.net/npm/vega-lite@4?noext','vega': 'https://cdn.jsdelivr.net/npm/vega@5?noext'}}); require(['vg-embed'],function(vegaEmbed){vegaEmbed('#$divid '," )
77 VegaLite. our_json_print (io, v)
88 print (io, " ,{mode:'vega-lite'}).catch(console.warn);})</script>" )
99end
1010
1111makedocs (
12- modules= [VegaLite],
13- sitename= " VegaLite.jl" ,
14- pages= [
15- " Home" => " index.md" ,
16- " Getting Started" => Any[
17- " Installation" => " gettingstarted/installation.md" ,
18- " Tutorial" => " gettingstarted/tutorial.md"
19- ],
20- " User Guide" => Any[
21- " Vega-lite specifications" => " userguide/vlspec.md" ,
22- " The @vlplot command" => " userguide/vlplotmacro.md" ,
23- " Data sources" => " userguide/data.md"
24- ],
25- " Examples" => Any[
26- " Single-View Plots" => Any[
27- " Bar Charts" => " examples/examples_barcharts.md" ,
28- " Histograms, Density Plots, and Dot Plots" => " examples/examples_histograms.md" ,
29- " Scatter & Strip Plots" => " examples/examples_scatter_strip_plots.md" ,
30- " Line Charts" => " examples/examples_line_charts.md" ,
31- " Area Charts & Streamgraphs" => " examples/examples_area_Charts_streamgraphs.md" ,
32- " Table-based Plots" => " examples/examples_table_based_plots.md" ,
33- " Circular Plots" => " examples/examples_circular_plots.md" ,
34- " Advanced Calculations" => " examples/examples_advancedcalculations.md"
12+ modules= [VegaLite],
13+ sitename= " VegaLite.jl" ,
14+ pages= [
15+ " Home" => " index.md" ,
16+ " Getting Started" => Any[
17+ " Installation" => " gettingstarted/installation.md" ,
18+ " Tutorial" => " gettingstarted/tutorial.md"
3519 ],
36- " Composite Mark" => Any[
37- " Error Bars & Error Bands" => " examples/examples_error_bars_bands.md" ,
38- " Box Plots" => " examples/examples_box_plots.md"
20+ " User Guide" => Any[
21+ " Vega-lite specifications" => " userguide/vlspec.md" ,
22+ " The @vlplot command" => " userguide/vlplotmacro.md" ,
23+ " Data sources" => " userguide/data.md"
3924 ],
40- " Multi-View Displays" => Any[
41- " Faceting (Trellis Plot / Small Multiples)" => " examples/examples_faceting.md" ,
42- " Repeat & Concatenation" => " examples/examples_repeat_concatenation.md"
25+ " Examples" => Any[
26+ " Single-View Plots" => Any[
27+ " Bar Charts" => " examples/examples_barcharts.md" ,
28+ " Histograms, Density Plots, and Dot Plots" => " examples/examples_histograms.md" ,
29+ " Scatter & Strip Plots" => " examples/examples_scatter_strip_plots.md" ,
30+ " Line Charts" => " examples/examples_line_charts.md" ,
31+ " Area Charts & Streamgraphs" => " examples/examples_area_Charts_streamgraphs.md" ,
32+ " Table-based Plots" => " examples/examples_table_based_plots.md" ,
33+ " Circular Plots" => " examples/examples_circular_plots.md" ,
34+ " Advanced Calculations" => " examples/examples_advancedcalculations.md"
35+ ],
36+ " Composite Mark" => Any[
37+ " Error Bars & Error Bands" => " examples/examples_error_bars_bands.md" ,
38+ " Box Plots" => " examples/examples_box_plots.md"
39+ ],
40+ " Multi-View Displays" => Any[
41+ " Faceting (Trellis Plot / Small Multiples)" => " examples/examples_faceting.md" ,
42+ " Repeat & Concatenation" => " examples/examples_repeat_concatenation.md"
43+ ],
44+ " Maps (Geographic Displays)" => " examples/examples_maps.md"
4345 ],
44- " Maps (Geographic Displays)" => " examples/examples_maps.md"
45- ],
46- " Reference Manual" => [
47- " Global settings" => " referencemanual/global.md" ,
48- " Outputs" => " referencemanual/output.md" ,
49- " Performance tips" => " referencemanual/performance.md" ,
46+ " Reference Manual" => [
47+ " Global settings" => " referencemanual/global.md" ,
48+ " Outputs" => " referencemanual/output.md" ,
49+ " Performance tips" => " referencemanual/performance.md" ,
5050 ]
51- ]
51+ ]
5252)
5353
5454deploydocs (
0 commit comments