File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -455,6 +455,16 @@ impl ToJson for RefMap {
455455
456456/// Interactive HTML BOM structure
457457///
458+ /// The top-level structure to build & generate a HTML BOM.
459+ ///
460+ /// <div class="warning">
461+ /// Please note that this struct is not completely fool-proof as it does not
462+ /// validate lots of the added data. So make sure you add only valid BOM data.
463+ /// Only the most important things are validated to avoid generating completely
464+ /// broken HTML pages: Footprint IDs in BOM rows, and number of fields in
465+ /// footprints.
466+ /// </div>
467+ ///
458468/// # Examples
459469///
460470/// ```
@@ -512,13 +522,6 @@ impl ToJson for RefMap {
512522/// // Add BOM rows (designators and their footprint IDs).
513523/// ibom.bom_front.push(vec![RefMap::new("R1", id)]);
514524/// ```
515- ///
516- /// <div class="warning">
517- /// Please note that this struct is not completely fool-proof regarding as
518- /// it does not validate lots of the added data, so make sure you add only
519- /// valid BOM data. Only the most important things are validated: Footprint IDs
520- /// in BOM rows, and number of fields in footprints.
521- /// </div>
522525#[ non_exhaustive]
523526pub struct InteractiveHtmlBom {
524527 // Metadata
You can’t perform that action at this time.
0 commit comments