Skip to content

Commit 2a7ba41

Browse files
committed
Replace windows file slashes with linux file slashes
1 parent 9a0856c commit 2a7ba41

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

documentation/generate_ui_documentation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,12 +343,12 @@ def _generate_item_markdown(self, reduced_structure):
343343
figure_file_name = self.name + "__" + struct["name"] + ".png"
344344
figure_full_path = os.path.join(
345345
"mdbook", "src", "_generated", "figures", figure_file_name
346-
)
347-
figure_rel_path = os.path.join("figures", figure_file_name)
346+
).replace("\\", "/")
347+
figure_rel_path = os.path.join("figures", figure_file_name).replace("\\", "/")
348348
figure_ref_name = "fig:" + self.name + ":" + struct["name"]
349349
px = self.generate_documentation_figure(struct["widget"])
350350
px.save(figure_full_path)
351-
351+
352352
block_label = "sec:" + self.name + ":" + struct["name"]
353353
this_text_markdown = this_text_markdown + f"\n\n({block_label})="
354354
this_figure_markdown += f"\n\n:::{{figure}} {figure_rel_path}\n:label: {figure_ref_name}\n {name} Settings\n:::"

documentation/mdbook/src/_generated/random_vibration_definition_doc.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ numbering:
7777

7878

7979

80-
:::{figure} figures\random_vibration_definition__sampling_parameters_groupbox.png
80+
:::{figure} figures/random_vibration_definition__sampling_parameters_groupbox.png
8181
:label: fig:random_vibration_definition:sampling_parameters_groupbox
8282
Sampling Parameters Settings
8383
:::
@@ -122,7 +122,7 @@ numbering:
122122
**Test Level Ramp Time** Time in seconds that the controller takes to change the test level. The test level is changed smoothly to prevent damaging the excitation hardware or part under test. Larger numbers will result in a more smooth transition between test levels, while smaller numbers will make the test level change more quickly.
123123
:::
124124

125-
:::{figure} figures\random_vibration_definition__signal_generation_groupbox.png
125+
:::{figure} figures/random_vibration_definition__signal_generation_groupbox.png
126126
:label: fig:random_vibration_definition:signal_generation_groupbox
127127
Signal Generation Parameters Settings
128128
:::
@@ -152,7 +152,7 @@ numbering:
152152
**Sigma Clipping** Number of standard deviations to include in the output signal. A value of 5 corresponds to effectively no clipping. A value of 3 is commonly used to reduce peak displacement. Setting this value too low will result in loss of dynamic range and non-gaussian output signals.
153153
:::
154154

155-
:::{figure} figures\random_vibration_definition__cpsd_parameters_groupbox.png
155+
:::{figure} figures/random_vibration_definition__cpsd_parameters_groupbox.png
156156
:label: fig:random_vibration_definition:cpsd_parameters_groupbox
157157
CPSD Parameters Settings
158158
:::
@@ -172,7 +172,7 @@ numbering:
172172
**CPSD Overlap** Percentage overlap between measurements when constructing CPSDs.
173173
:::
174174

175-
:::{figure} figures\random_vibration_definition__tolerances_groupbox.png
175+
:::{figure} figures/random_vibration_definition__tolerances_groupbox.png
176176
:label: fig:random_vibration_definition:tolerances_groupbox
177177
Tolerances Settings
178178
:::
@@ -182,7 +182,7 @@ numbering:
182182
**Frequency Lines Out** Percentage of control frequency lines that can fall outside of limits before triggering warnings/aborts.
183183
:::
184184

185-
:::{figure} figures\random_vibration_definition__options_groupbox.png
185+
:::{figure} figures/random_vibration_definition__options_groupbox.png
186186
:label: fig:random_vibration_definition:options_groupbox
187187
Options Settings
188188
:::
@@ -197,7 +197,7 @@ numbering:
197197
**Update Sys ID During Control?** Checking this box will allow the controller to continually update the system identification to perhaps get a better control for nonlinear structures. Use with caution! If, for example, a shaker becomes disconnected, the controller will see the system identification between that shaker and the control channels become very small, and it will therefore try to push the shaker harder to make up for the poor transfer function, so the problem could explode.
198198
:::
199199

200-
:::{figure} figures\random_vibration_definition__control_parameters_groupbox.png
200+
:::{figure} figures/random_vibration_definition__control_parameters_groupbox.png
201201
:label: fig:random_vibration_definition:control_parameters_groupbox
202202
Control Parameters Settings
203203
:::
@@ -227,7 +227,7 @@ numbering:
227227
**Control Parameters** Any additional parameters needed by the control law are entered in this text box. It is up to the control law to prescribe what is needed to be defined in this box. The data entered into this box will be passed to the control law as a string to the "extra_parameters" argument. Control laws should parse this string to extract needed information.
228228
:::
229229

230-
:::{figure} figures\random_vibration_definition__control_channels_groupbox.png
230+
:::{figure} figures/random_vibration_definition__control_channels_groupbox.png
231231
:label: fig:random_vibration_definition:control_channels_groupbox
232232
Control Channels Settings
233233
:::
@@ -247,7 +247,7 @@ numbering:
247247
**Uncheck Selected** When clicked, any selected channels in the Control Channels list will be unchecked, and therefore not used as control channels in the environment.
248248
:::
249249

250-
:::{figure} figures\random_vibration_definition__io_groupbox.png
250+
:::{figure} figures/random_vibration_definition__io_groupbox.png
251251
:label: fig:random_vibration_definition:io_groupbox
252252
Channel I/O Settings
253253
:::
@@ -267,7 +267,7 @@ numbering:
267267
**Control Channels** A display showing the total number of physical channels this environment is controlling to.
268268
:::
269269

270-
:::{figure} figures\random_vibration_definition__transformation_matrices_groupbox.png
270+
:::{figure} figures/random_vibration_definition__transformation_matrices_groupbox.png
271271
:label: fig:random_vibration_definition:transformation_matrices_groupbox
272272
Control and Drive Transforms Settings
273273
:::
@@ -287,7 +287,7 @@ numbering:
287287
**Transform Outputs** A display showing the number of virtual excitation channels in the environment due to transformation matrices applied to the physical excitation channels.
288288
:::
289289

290-
:::{figure} figures\random_vibration_definition__test_specification_groupbox.png
290+
:::{figure} figures/random_vibration_definition__test_specification_groupbox.png
291291
:label: fig:random_vibration_definition:test_specification_groupbox
292292
Test Specification Settings
293293
:::

documentation/mdbook/src/_generated/random_vibration_prediction_doc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ numbering:
2727

2828

2929

30-
:::{figure} figures\random_vibration_prediction__excitation_voltage_groupbox.png
30+
:::{figure} figures/random_vibration_prediction__excitation_voltage_groupbox.png
3131
:label: fig:random_vibration_prediction:excitation_voltage_groupbox
3232
Output Voltages (RMS) Settings
3333
:::
@@ -62,7 +62,7 @@ numbering:
6262
**Excitation CPSD Column Channel** Select the column of the excitation CPSD matrix to visualize
6363
:::
6464

65-
:::{figure} figures\random_vibration_prediction__response_error_groupbox.png
65+
:::{figure} figures/random_vibration_prediction__response_error_groupbox.png
6666
:label: fig:random_vibration_prediction:response_error_groupbox
6767
Response Error (dB) Settings
6868
:::

documentation/mdbook/src/_generated/random_vibration_run_doc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ numbering:
4141

4242

4343

44-
:::{figure} figures\random_vibration_run__test_output_voltages_groupbox.png
44+
:::{figure} figures/random_vibration_run__test_output_voltages_groupbox.png
4545
:label: fig:random_vibration_run:test_output_voltages_groupbox
4646
Output Voltages (RMS) Settings
4747
:::
@@ -51,7 +51,7 @@ numbering:
5151
**Output Voltages (RMS)** Current excitation voltages being output from the controller.
5252
:::
5353

54-
:::{figure} figures\random_vibration_run__test_response_error_groupbox.png
54+
:::{figure} figures/random_vibration_run__test_response_error_groupbox.png
5555
:label: fig:random_vibration_run:test_response_error_groupbox
5656
Response Error (dB) Settings
5757
:::
@@ -126,7 +126,7 @@ numbering:
126126
**Sum of ASDs Display** This plot shows the trace of the response CPSD matrix compared to the specification. This is essentially an "average" quantity, and individual channels may be higher or lower at each frequency line.
127127
:::
128128

129-
:::{figure} figures\random_vibration_run__data_display_groupbox.png
129+
:::{figure} figures/random_vibration_run__data_display_groupbox.png
130130
:label: fig:random_vibration_run:data_display_groupbox
131131
Data Display Settings
132132
:::

0 commit comments

Comments
 (0)