Skip to content

Commit 7f3a00b

Browse files
committed
docs: migrate SPPF page from Bootstrap 4 to Bootstrap 5
Fixes #1494. Bootstrap 4 reached end-of-life on 2023-01-01. The SPPF article under docs/_static/sppf/sppf.html was the only page pinning Bootstrap 4. Changes: - Switch the stylesheet to Bootstrap 5.3.3 via the jsDelivr CDN (stackpath.bootstrapcdn.com does not host Bootstrap 5) and add an SRI integrity hash. - Rename the only deprecated utility class used on the page, pull-right, to its Bootstrap 5 equivalent float-end. No other Bootstrap utilities or components are referenced on this page, so no further migration steps are required. The page was rendered locally and the back-to-top anchor stays right-aligned as before.
1 parent ae22d4f commit 7f3a00b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/_static/sppf/sppf.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<html lang="en-us">
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6-
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
6+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
77

88
<body>
99

@@ -193,7 +193,7 @@ <h2 id="transformation-to-an-abstract-syntax-tree">Transformation to an abstract
193193
Powered by the <a href="https://web.archive.org/web/20200128172318/https://github.com/gcushen/hugo-academic" target="_blank">Academic
194194
theme</a> for <a href="https://web.archive.org/web/20200128172318/http://gohugo.io/" target="_blank">Hugo</a>.
195195

196-
<span class="pull-right" aria-hidden="true">
196+
<span class="float-end" aria-hidden="true">
197197
<a href="#" id="back_to_top">
198198
<span class="button_icon">
199199
<i class="fa fa-chevron-up fa-2x"></i>

0 commit comments

Comments
 (0)