Skip to content

Commit

Permalink
feat!: Upgrade bootstrap from 4 to 5 in HTML templates
Browse files Browse the repository at this point in the history
  • Loading branch information
dblanchette committed Nov 29, 2024
1 parent be8a0ba commit e4290ff
Show file tree
Hide file tree
Showing 218 changed files with 7,511 additions and 8,712 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,6 @@ tmp
**/.DS_Store

# npm stuff
node_modules/
node_modules/

config.json
84 changes: 42 additions & 42 deletions docs/examples/examples_flat_default/Configuration.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/examples/examples_flat_default/additional_properties.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Overpass:300,400,600,800">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="schema_doc.css">
<meta charset="utf-8"/>

Expand All @@ -13,7 +13,7 @@
</head>
<body id="root"><h1>Person</h1>

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div><span class="badge text-bg-dark value-type">Type: object</span><br/>



Expand Down Expand Up @@ -48,7 +48,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#subType1">subType1</a></div><span class="badge badge-dark value-type">Type: object</span><br/>
<a href="#subType1">subType1</a></div><span class="badge text-bg-dark value-type">Type: object</span><br/>



Expand All @@ -61,7 +61,7 @@ <h2 class="mb-0">



<span class="badge badge-info no-additional">No Additional Properties</span>
<span class="badge text-bg-info no-additional">No Additional Properties</span>



Expand Down Expand Up @@ -91,7 +91,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#subType1_subProp1">subProp1</a></div><span class="badge badge-dark value-type">Type: number</span><br/>
<a href="#subType1_subProp1">subProp1</a></div><span class="badge text-bg-dark value-type">Type: number</span><br/>



Expand Down Expand Up @@ -130,7 +130,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#subType2">subType2</a></div><span class="badge badge-dark value-type">Type: object</span><br/>
<a href="#subType2">subType2</a></div><span class="badge text-bg-dark value-type">Type: object</span><br/>



Expand Down Expand Up @@ -173,7 +173,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#subType2_subProp2">subProp2</a></div><span class="badge badge-dark value-type">Type: number</span><br/>
<a href="#subType2_subProp2">subProp2</a></div><span class="badge text-bg-dark value-type">Type: number</span><br/>



Expand Down Expand Up @@ -217,7 +217,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#subType2_additionalProperties">additionalProperties</a></div><span class="badge badge-dark value-type">Type: object</span><br/>
<a href="#subType2_additionalProperties">additionalProperties</a></div><span class="badge text-bg-dark value-type">Type: object</span><br/>



Expand Down Expand Up @@ -256,7 +256,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#anInt">anInt</a></div><span class="badge badge-dark value-type">Type: integer</span><br/>
<a href="#anInt">anInt</a></div><span class="badge text-bg-dark value-type">Type: integer</span><br/>



Expand Down Expand Up @@ -294,7 +294,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#additionalProperties">additionalProperties</a></div><span class="badge badge-dark value-type">Type: object</span><br/>
<a href="#additionalProperties">additionalProperties</a></div><span class="badge text-bg-dark value-type">Type: object</span><br/>



Expand Down Expand Up @@ -337,7 +337,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#additionalProperties_propA">propA</a></div><span class="badge badge-dark value-type">Type: number</span><br/>
<a href="#additionalProperties_propA">propA</a></div><span class="badge text-bg-dark value-type">Type: number</span><br/>



Expand Down
22 changes: 11 additions & 11 deletions docs/examples/examples_flat_default/anyOf_option_names.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Overpass:300,400,600,800">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="schema_doc.css">
<meta charset="utf-8"/>
<title>Schema Docs</title>
</head>
<body id="root">

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div><span class="badge text-bg-dark value-type">Type: object</span><br/>



Expand All @@ -35,7 +35,7 @@
<div class="card">
<div class="card-header" id="storage">
<h2 class="mb-0">
<a href="#storage"><span class="property-name">storage</span></a> <span class="badge badge-warning required-property">Required</span></h2>
<a href="#storage"><span class="property-name">storage</span></a> <span class="badge text-bg-warning required-property">Required</span></h2>
</div>

<div class="card-body property-definition-div">
Expand Down Expand Up @@ -64,7 +64,7 @@ <h2 class="handle ml-2 mt-2">
<label>Any of</label>
</h2>
</a><div class="card">
<h3 class="ml-2 mt-2"><a id="storage_anyOf_i0" href="#storage_anyOf_i0">diskDevice</a></h3>
<h3 class="ms-3 mt-3 card-title"><a class="card-title" id="storage_anyOf_i0" href="#storage_anyOf_i0">diskDevice</a></h3>
<div class="card-body">


Expand All @@ -89,7 +89,7 @@ <h3 class="ml-2 mt-2"><a id="storage_anyOf_i0" href="#storage_anyOf_i0">diskDevi
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#storage_anyOf_i0">diskDevice</a></div><span class="badge badge-dark value-type">Type: object</span><br/>
<a href="#storage_anyOf_i0">diskDevice</a></div><span class="badge text-bg-dark value-type">Type: object</span><br/>



Expand All @@ -112,7 +112,7 @@ <h3 class="ml-2 mt-2"><a id="storage_anyOf_i0" href="#storage_anyOf_i0">diskDevi

</div>
</div><div class="card">
<h3 class="ml-2 mt-2"><a id="storage_anyOf_i1" href="#storage_anyOf_i1">diskUUID</a></h3>
<h3 class="ms-3 mt-3 card-title"><a class="card-title" id="storage_anyOf_i1" href="#storage_anyOf_i1">diskUUID</a></h3>
<div class="card-body">


Expand All @@ -137,7 +137,7 @@ <h3 class="ml-2 mt-2"><a id="storage_anyOf_i1" href="#storage_anyOf_i1">diskUUID
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#storage_anyOf_i1">diskUUID</a></div><span class="badge badge-dark value-type">Type: object</span><br/>
<a href="#storage_anyOf_i1">diskUUID</a></div><span class="badge text-bg-dark value-type">Type: object</span><br/>



Expand All @@ -160,7 +160,7 @@ <h3 class="ml-2 mt-2"><a id="storage_anyOf_i1" href="#storage_anyOf_i1">diskUUID

</div>
</div><div class="card">
<h3 class="ml-2 mt-2"><a id="storage_anyOf_i2" href="#storage_anyOf_i2">Option 3</a></h3>
<h3 class="ms-3 mt-3 card-title"><a class="card-title" id="storage_anyOf_i2" href="#storage_anyOf_i2">Option 3</a></h3>
<div class="card-body">


Expand All @@ -185,7 +185,7 @@ <h3 class="ml-2 mt-2"><a id="storage_anyOf_i2" href="#storage_anyOf_i2">Option 3
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#storage_anyOf_i2">item 2</a></div><span class="badge badge-dark value-type">Type: object</span><br/>
<a href="#storage_anyOf_i2">item 2</a></div><span class="badge text-bg-dark value-type">Type: object</span><br/>



Expand All @@ -206,7 +206,7 @@ <h3 class="ml-2 mt-2"><a id="storage_anyOf_i2" href="#storage_anyOf_i2">Option 3

</div>
</div><div class="card">
<h3 class="ml-2 mt-2"><a id="storage_anyOf_i3" href="#storage_anyOf_i3">tmpfs</a></h3>
<h3 class="ms-3 mt-3 card-title"><a class="card-title" id="storage_anyOf_i3" href="#storage_anyOf_i3">tmpfs</a></h3>
<div class="card-body">


Expand All @@ -231,7 +231,7 @@ <h3 class="ml-2 mt-2"><a id="storage_anyOf_i3" href="#storage_anyOf_i3">tmpfs</a
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#storage_anyOf_i3">tmpfs</a></div><span class="badge badge-dark value-type">Type: object</span><br/>
<a href="#storage_anyOf_i3">tmpfs</a></div><span class="badge text-bg-dark value-type">Type: object</span><br/>



Expand Down
24 changes: 12 additions & 12 deletions docs/examples/examples_flat_default/array.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Overpass:300,400,600,800">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="schema_doc.css">
<meta charset="utf-8"/>
<title>Schema Docs</title>
</head>
<body id="root">

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div><span class="badge text-bg-dark value-type">Type: object</span><br/>



Expand Down Expand Up @@ -47,7 +47,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#fruits">fruits</a></div><span class="badge badge-dark value-type">Type: array of string</span><br/>
<a href="#fruits">fruits</a></div><span class="badge text-bg-dark value-type">Type: array of string</span><br/>



Expand All @@ -65,7 +65,7 @@ <h2 class="mb-0">



<span class="badge badge-info no-additional">No Additional Items</span><h4>Each item of this array must be:</h4>
<span class="badge text-bg-info no-additional">No Additional Items</span><h4>Each item of this array must be:</h4>
<div class="card">
<div class="card-body items-definition" id="fruits_items">

Expand All @@ -84,7 +84,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#fruits_items">fruits items</a></div><span class="badge badge-dark value-type">Type: string</span><br/>
<a href="#fruits_items">fruits items</a></div><span class="badge text-bg-dark value-type">Type: string</span><br/>



Expand Down Expand Up @@ -123,7 +123,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#vegetables">vegetables</a></div><span class="badge badge-dark value-type">Type: array</span><br/>
<a href="#vegetables">vegetables</a></div><span class="badge text-bg-dark value-type">Type: array</span><br/>



Expand All @@ -141,7 +141,7 @@ <h2 class="mb-0">



<span class="badge badge-info no-additional">No Additional Items</span><h4>Each item of this array must be:</h4>
<span class="badge text-bg-info no-additional">No Additional Items</span><h4>Each item of this array must be:</h4>
<div class="card">
<div class="card-body items-definition" id="vegetables_items">

Expand All @@ -160,7 +160,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#vegetables_items">veggie</a></div><span class="badge badge-dark value-type">Type: object</span><br/>
<a href="#vegetables_items">veggie</a></div><span class="badge text-bg-dark value-type">Type: object</span><br/>



Expand All @@ -185,7 +185,7 @@ <h2 class="mb-0">
<div class="card">
<div class="card-header" id="vegetables_items_veggieName">
<h2 class="mb-0">
<a href="#vegetables_items_veggieName"><span class="property-name">veggieName</span></a> <span class="badge badge-warning required-property">Required</span></h2>
<a href="#vegetables_items_veggieName"><span class="property-name">veggieName</span></a> <span class="badge text-bg-warning required-property">Required</span></h2>
</div>

<div class="card-body property-definition-div">
Expand All @@ -211,7 +211,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#vegetables_items_veggieName">veggieName</a></div><span class="badge badge-dark value-type">Type: string</span><br/>
<a href="#vegetables_items_veggieName">veggieName</a></div><span class="badge text-bg-dark value-type">Type: string</span><br/>



Expand All @@ -237,7 +237,7 @@ <h2 class="mb-0">
<div class="card">
<div class="card-header" id="vegetables_items_veggieLike">
<h2 class="mb-0">
<a href="#vegetables_items_veggieLike"><span class="property-name">veggieLike</span></a> <span class="badge badge-warning required-property">Required</span></h2>
<a href="#vegetables_items_veggieLike"><span class="property-name">veggieLike</span></a> <span class="badge text-bg-warning required-property">Required</span></h2>
</div>

<div class="card-body property-definition-div">
Expand All @@ -263,7 +263,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#vegetables_items_veggieLike">veggieLike</a></div><span class="badge badge-dark value-type">Type: boolean</span><br/>
<a href="#vegetables_items_veggieLike">veggieLike</a></div><span class="badge text-bg-dark value-type">Type: boolean</span><br/>



Expand Down
Loading

0 comments on commit e4290ff

Please sign in to comment.