Skip to content

Commit f47ca56

Browse files
committed
fix book example generation and inclusion
Signed-off-by: Andrei Gherghescu <8067229+andrei-ng@users.noreply.github.com>
1 parent 75797e4 commit f47ca56

File tree

30 files changed

+142
-82
lines changed

30 files changed

+142
-82
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
ndarray,
103103
scientific_charts,
104104
shapes,
105-
subplots,
105+
subplots,
106106
]
107107
runs-on: ubuntu-latest
108108
steps:

docs/book/src/fundamentals/shapes.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,92 +24,92 @@ The `to_inline_html` method is used to produce the html plot displayed in this p
2424
{{#include ../../../../examples/shapes/src/main.rs:filled_area_chart}}
2525
```
2626

27-
{{#include ../../../../examples/shapes/out/filled_area_chart.html}}
27+
{{#include ../../../../examples/shapes/output/inline_filled_area_chart.html}}
2828

2929

3030
## Vertical and Horizontal Lines Positioned Relative to Axes
3131
```rust,no_run
3232
{{#include ../../../../examples/shapes/src/main.rs:vertical_and_horizontal_lines_positioned_relative_to_axes}}
3333
```
3434

35-
{{#include ../../../../examples/shapes/out/vertical_and_horizontal_lines_positioned_relative_to_axes.html}}
35+
{{#include ../../../../examples/shapes/output/inline_vertical_and_horizontal_lines_positioned_relative_to_axes.html}}
3636

3737

3838
## Lines Positioned Relative to the Plot and to the Axes
3939
```rust,no_run
4040
{{#include ../../../../examples/shapes/src/main.rs:lines_positioned_relative_to_the_plot_and_to_the_axes}}
4141
```
4242

43-
{{#include ../../../../examples/shapes/out/lines_positioned_relative_to_the_plot_and_to_the_axes.html}}
43+
{{#include ../../../../examples/shapes/output/inline_lines_positioned_relative_to_the_plot_and_to_the_axes.html}}
4444

4545

4646
## Creating Tangent Lines with Shapes
4747
```rust,no_run
4848
{{#include ../../../../examples/shapes/src/main.rs:creating_tangent_lines_with_shapes}}
4949
```
5050

51-
{{#include ../../../../examples/shapes/out/creating_tangent_lines_with_shapes.html}}
51+
{{#include ../../../../examples/shapes/output/inline_creating_tangent_lines_with_shapes.html}}
5252

5353

5454
## Rectangles Positioned Relative to the Axes
5555
```rust,no_run
5656
{{#include ../../../../examples/shapes/src/main.rs:rectangles_positioned_relative_to_the_axes}}
5757
```
5858

59-
{{#include ../../../../examples/shapes/out/rectangles_positioned_relative_to_the_axes.html}}
59+
{{#include ../../../../examples/shapes/output/inline_rectangles_positioned_relative_to_the_axes.html}}
6060

6161

6262
## Rectangle Positioned Relative to the Plot and to the Axes
6363
```rust,no_run
6464
{{#include ../../../../examples/shapes/src/main.rs:rectangle_positioned_relative_to_the_plot_and_to_the_axes}}
6565
```
6666

67-
{{#include ../../../../examples/shapes/out/rectangle_positioned_relative_to_the_plot_and_to_the_axes.html}}
67+
{{#include ../../../../examples/shapes/output/inline_rectangle_positioned_relative_to_the_plot_and_to_the_axes.html}}
6868

6969

7070
## Highlighting Time Series Regions with Rectangle Shapes
7171
```rust,no_run
7272
{{#include ../../../../examples/shapes/src/main.rs:highlighting_time_series_regions_with_rectangle_shapes}}
7373
```
7474

75-
{{#include ../../../../examples/shapes/out/highlighting_time_series_regions_with_rectangle_shapes.html}}
75+
{{#include ../../../../examples/shapes/output/inline_highlighting_time_series_regions_with_rectangle_shapes.html}}
7676

7777

7878
## Circles Positioned Relative to the Axes
7979
```rust,no_run
8080
{{#include ../../../../examples/shapes/src/main.rs:circles_positioned_relative_to_the_axes}}
8181
```
8282

83-
{{#include ../../../../examples/shapes/out/circles_positioned_relative_to_the_axes.html}}
83+
{{#include ../../../../examples/shapes/output/inline_circles_positioned_relative_to_the_axes.html}}
8484

8585

8686
## Highlighting Clusters of Scatter Points with Circle Shapes
8787
```rust,no_run
8888
{{#include ../../../../examples/shapes/src/main.rs:highlighting_clusters_of_scatter_points_with_circle_shapes}}
8989
```
9090

91-
{{#include ../../../../examples/shapes/out/highlighting_clusters_of_scatter_points_with_circle_shapes.html}}
91+
{{#include ../../../../examples/shapes/output/inline_highlighting_clusters_of_scatter_points_with_circle_shapes.html}}
9292

9393

9494
## Venn Diagram with Circle Shapes
9595
```rust,no_run
9696
{{#include ../../../../examples/shapes/src/main.rs:venn_diagram_with_circle_shapes}}
9797
```
9898

99-
{{#include ../../../../examples/shapes/out/venn_diagram_with_circle_shapes.html}}
99+
{{#include ../../../../examples/shapes/output/inline_venn_diagram_with_circle_shapes.html}}
100100

101101

102102
## Adding Shapes to Subplots
103103
```rust,no_run
104104
{{#include ../../../../examples/shapes/src/main.rs:adding_shapes_to_subplots}}
105105
```
106106

107-
{{#include ../../../../examples/shapes/out/adding_shapes_to_subplots.html}}
107+
{{#include ../../../../examples/shapes/output/inline_adding_shapes_to_subplots.html}}
108108

109109

110110
## SVG Paths
111111
```rust,no_run
112112
{{#include ../../../../examples/shapes/src/main.rs:svg_paths}}
113113
```
114114

115-
{{#include ../../../../examples/shapes/out/svg_paths.html}}
115+
{{#include ../../../../examples/shapes/output/inline_svg_paths.html}}

docs/book/src/recipes/3dcharts/3dcharts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ The `to_inline_html` method is used to produce the html plot displayed in this p
1919
{{#include ../../../../../examples/3d_charts/src/main.rs:simple_scatter3d_plot}}
2020
```
2121

22-
{{#include ../../../../../examples/3d_charts/out/simple_scatter3d_plot.html}}
22+
{{#include ../../../../../examples/3d_charts/output/inline_simple_scatter3d_plot.html}}

docs/book/src/recipes/basic_charts/bar_charts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ The `to_inline_html` method is used to produce the html plot displayed in this p
2020
{{#include ../../../../../examples/basic_charts/src/main.rs:basic_bar_chart}}
2121
```
2222

23-
{{#include ../../../../../examples/basic_charts/out/basic_bar_chart.html}}
23+
{{#include ../../../../../examples/basic_charts/output/inline_basic_bar_chart.html}}
2424

2525
## Grouped Bar Chart
2626
```rust,no_run
2727
{{#include ../../../../../examples/basic_charts/src/main.rs:grouped_bar_chart}}
2828
```
2929

30-
{{#include ../../../../../examples/basic_charts/out/grouped_bar_chart.html}}
30+
{{#include ../../../../../examples/basic_charts/output/inline_grouped_bar_chart.html}}
3131

3232
## Stacked Bar Chart
3333
```rust,no_run
3434
{{#include ../../../../../examples/basic_charts/src/main.rs:stacked_bar_chart}}
3535
```
3636

37-
{{#include ../../../../../examples/basic_charts/out/stacked_bar_chart.html}}
37+
{{#include ../../../../../examples/basic_charts/output/inline_stacked_bar_chart.html}}

docs/book/src/recipes/basic_charts/line_charts.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,40 +20,40 @@ The `to_inline_html` method is used to produce the html plot displayed in this p
2020
{{#include ../../../../../examples/basic_charts/src/main.rs:adding_names_to_line_and_scatter_plot}}
2121
```
2222

23-
{{#include ../../../../../examples/basic_charts/out/adding_names_to_line_and_scatter_plot.html}}
23+
{{#include ../../../../../examples/basic_charts/output/inline_adding_names_to_line_and_scatter_plot.html}}
2424

2525

2626
## Line and Scatter Styling
2727
```rust,no_run
2828
{{#include ../../../../../examples/basic_charts/src/main.rs:line_and_scatter_styling}}
2929
```
3030

31-
{{#include ../../../../../examples/basic_charts/out/line_and_scatter_styling.html}}
31+
{{#include ../../../../../examples/basic_charts/output/inline_line_and_scatter_styling.html}}
3232

3333
## Styling Line Plot
3434
```rust,no_run
3535
{{#include ../../../../../examples/basic_charts/src/main.rs:styling_line_plot}}
3636
```
3737

38-
{{#include ../../../../../examples/basic_charts/out/styling_line_plot.html}}
38+
{{#include ../../../../../examples/basic_charts/output/inline_styling_line_plot.html}}
3939

4040
## Line Shape Options for Interpolation
4141
```rust,no_run
4242
{{#include ../../../../../examples/basic_charts/src/main.rs:line_shape_options_for_interpolation}}
4343
```
4444

45-
{{#include ../../../../../examples/basic_charts/out/line_shape_options_for_interpolation.html}}
45+
{{#include ../../../../../examples/basic_charts/output/inline_line_shape_options_for_interpolation.html}}
4646

4747
## Line Dash
4848
```rust,no_run
4949
{{#include ../../../../../examples/basic_charts/src/main.rs:line_dash}}
5050
```
5151

52-
{{#include ../../../../../examples/basic_charts/out/line_dash.html}}
52+
{{#include ../../../../../examples/basic_charts/output/inline_line_dash.html}}
5353

5454
## Filled Lines
5555
```rust,no_run
5656
{{#include ../../../../../examples/basic_charts/src/main.rs:filled_lines}}
5757
```
5858

59-
{{#include ../../../../../examples/basic_charts/out/filled_lines.html}}
59+
{{#include ../../../../../examples/basic_charts/output/inline_filled_lines.html}}

docs/book/src/recipes/basic_charts/pie_charts.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,24 @@ The `to_inline_html` method is used to produce the html plot displayed in this p
1818
{{#include ../../../../../examples/basic_charts/src/main.rs:basic_pie_chart}}
1919
```
2020

21-
{{#include ../../../../../examples/basic_charts/out/basic_pie_chart.html}}
21+
{{#include ../../../../../examples/basic_charts/output/inline_basic_pie_chart.html}}
2222

2323
```rust,no_run
2424
{{#include ../../../../../examples/basic_charts/src/main.rs:basic_pie_chart_labels}}
2525
```
2626

27-
{{#include ../../../../../examples/basic_charts/out/basic_pie_chart_labels.html}}
27+
{{#include ../../../../../examples/basic_charts/output/inline_basic_pie_chart_labels.html}}
2828

2929
## Grouped Pie Chart
3030
```rust,no_run
3131
{{#include ../../../../../examples/basic_charts/src/main.rs:grouped_donout_pie_charts}}
3232
```
3333

34-
{{#include ../../../../../examples/basic_charts/out/grouped_donout_pie_charts.html}}
34+
{{#include ../../../../../examples/basic_charts/output/inline_grouped_donout_pie_charts.html}}
3535

3636
## Pie Chart Text Control
3737
```rust,no_run
3838
{{#include ../../../../../examples/basic_charts/src/main.rs:pie_chart_text_control}}
3939
```
4040

41-
{{#include ../../../../../examples/basic_charts/out/pie_chart_text_control.html}}
41+
{{#include ../../../../../examples/basic_charts/output/inline_pie_chart_text_control.html}}

docs/book/src/recipes/basic_charts/scatter_plots.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,51 +19,51 @@ The `to_inline_html` method is used to produce the html plot displayed in this p
1919
{{#include ../../../../../examples/basic_charts/src/main.rs:simple_scatter_plot}}
2020
```
2121

22-
{{#include ../../../../../examples/basic_charts/out/simple_scatter_plot.html}}
22+
{{#include ../../../../../examples/basic_charts/output/inline_simple_scatter_plot.html}}
2323

2424

2525
## Line and Scatter Plots
2626
```rust,no_run
2727
{{#include ../../../../../examples/basic_charts/src/main.rs:line_and_scatter_plots}}
2828
```
2929

30-
{{#include ../../../../../examples/basic_charts/out/line_and_scatter_plots.html}}
30+
{{#include ../../../../../examples/basic_charts/output/inline_line_and_scatter_plots.html}}
3131

3232
## Bubble Scatter Plots
3333
```rust,no_run
3434
{{#include ../../../../../examples/basic_charts/src/main.rs:bubble_scatter_plots}}
3535
```
3636

37-
{{#include ../../../../../examples/basic_charts/out/bubble_scatter_plots.html}}
37+
{{#include ../../../../../examples/basic_charts/output/inline_bubble_scatter_plots.html}}
3838

3939

4040
## Data Labels Hover
4141
```rust,no_run
4242
{{#include ../../../../../examples/basic_charts/src/main.rs:data_labels_hover}}
4343
```
4444

45-
{{#include ../../../../../examples/basic_charts/out/data_labels_hover.html}}
45+
{{#include ../../../../../examples/basic_charts/output/inline_data_labels_hover.html}}
4646

4747

4848
## Data Labels on the Plot
4949
```rust,no_run
5050
{{#include ../../../../../examples/basic_charts/src/main.rs:data_labels_on_the_plot}}
5151
```
5252

53-
{{#include ../../../../../examples/basic_charts/out/data_labels_on_the_plot.html}}
53+
{{#include ../../../../../examples/basic_charts/output/inline_data_labels_on_the_plot.html}}
5454

5555

5656
## Colored and Styled Scatter Plot
5757
```rust,no_run
5858
{{#include ../../../../../examples/basic_charts/src/main.rs:colored_and_styled_scatter_plot}}
5959
```
6060

61-
{{#include ../../../../../examples/basic_charts/out/colored_and_styled_scatter_plot.html}}
61+
{{#include ../../../../../examples/basic_charts/output/inline_colored_and_styled_scatter_plot.html}}
6262

6363

6464
## Large Data Sets
6565
```rust,no_run
6666
{{#include ../../../../../examples/basic_charts/src/main.rs:large_data_sets}}
6767
```
6868

69-
{{#include ../../../../../examples/basic_charts/out/large_data_sets.html}}
69+
{{#include ../../../../../examples/basic_charts/output/inline_large_data_sets.html}}

docs/book/src/recipes/financial_charts/candlestick_charts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ The `to_inline_html` method is used to produce the html plot displayed in this p
1818
{{#include ../../../../../examples/financial_charts/src/main.rs:simple_candlestick_chart}}
1919
```
2020

21-
{{#include ../../../../../examples/financial_charts/out/simple_candlestick_chart.html}}
21+
{{#include ../../../../../examples/financial_charts/output/inline_simple_candlestick_chart.html}}

docs/book/src/recipes/financial_charts/ohlc_charts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ The `to_inline_html` method is used to produce the html plot displayed in this p
1818
{{#include ../../../../../examples/financial_charts/src/main.rs:simple_ohlc_chart}}
1919
```
2020

21-
{{#include ../../../../../examples/financial_charts/out/simple_ohlc_chart.html}}
21+
{{#include ../../../../../examples/financial_charts/output/inline_simple_ohlc_chart.html}}

docs/book/src/recipes/financial_charts/time_series_and_date_axes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,28 @@ The `to_inline_html` method is used to produce the html plot displayed in this p
1818
{{#include ../../../../../examples/financial_charts/src/main.rs:time_series_plot_with_custom_date_range}}
1919
```
2020

21-
{{#include ../../../../../examples/financial_charts/out/time_series_plot_with_custom_date_range.html}}
21+
{{#include ../../../../../examples/financial_charts/output/inline_time_series_plot_with_custom_date_range.html}}
2222

2323

2424
## Time Series with Range Slider
2525
```rust,no_run
2626
{{#include ../../../../../examples/financial_charts/src/main.rs:time_series_with_range_slider}}
2727
```
2828

29-
{{#include ../../../../../examples/financial_charts/out/time_series_with_range_slider.html}}
29+
{{#include ../../../../../examples/financial_charts/output/inline_time_series_with_range_slider.html}}
3030

3131

3232
## Time Series with Range Selector Buttons
3333
```rust,no_run
3434
{{#include ../../../../../examples/financial_charts/src/main.rs:time_series_with_range_selector_buttons}}
3535
```
3636

37-
{{#include ../../../../../examples/financial_charts/out/time_series_with_range_selector_buttons.html}}
37+
{{#include ../../../../../examples/financial_charts/output/inline_time_series_with_range_selector_buttons.html}}
3838

3939

4040
## Customizing Tick Label Formatting by Zoom Level
4141
```rust,no_run
4242
{{#include ../../../../../examples/financial_charts/src/main.rs:customizing_tick_label_formatting_by_zoom_level}}
4343
```
4444

45-
{{#include ../../../../../examples/financial_charts/out/customizing_tick_label_formatting_by_zoom_level.html}}
45+
{{#include ../../../../../examples/financial_charts/output/inline_customizing_tick_label_formatting_by_zoom_level.html}}

0 commit comments

Comments
 (0)