Skip to content

Commit 13ced19

Browse files
Deploy preview for PR 1 🛫
1 parent 8e762fc commit 13ced19

10 files changed

Lines changed: 75 additions & 5213 deletions

File tree

pr-preview/pr-1/assets/css/main.css

Lines changed: 4 additions & 5170 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-preview/pr-1/assets/css/main.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.
103 KB
Loading
106 KB
Loading

pr-preview/pr-1/assets/js/_main.js

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -123,21 +123,25 @@ $(document).ready(function () {
123123
});
124124

125125
// Add anchors for headings
126-
document
127-
.querySelector(".page__content")
128-
.querySelectorAll("h1, h2, h3, h4, h5, h6")
129-
.forEach(function (element) {
130-
var id = element.getAttribute("id");
131-
if (id) {
132-
var anchor = document.createElement("a");
133-
anchor.className = "header-link";
134-
anchor.href = "#" + id;
135-
anchor.innerHTML =
136-
'<span class="sr-only">Permalink</span><i class="fas fa-link"></i>';
137-
anchor.title = "Permalink";
138-
element.appendChild(anchor);
139-
}
140-
});
126+
(function () {
127+
var pageContentElement = document.querySelector(".page__content");
128+
if (!pageContentElement) return;
129+
130+
pageContentElement
131+
.querySelectorAll("h1, h2, h3, h4, h5, h6")
132+
.forEach(function (element) {
133+
var id = element.getAttribute("id");
134+
if (id) {
135+
var anchor = document.createElement("a");
136+
anchor.className = "header-link";
137+
anchor.href = "#" + id;
138+
anchor.innerHTML =
139+
'<span class="sr-only">Permalink</span><i class="fas fa-link"></i>';
140+
anchor.title = "Permalink";
141+
element.appendChild(anchor);
142+
}
143+
});
144+
})();
141145

142146
// Add copy button for <pre> blocks
143147
var copyText = function (text) {

pr-preview/pr-1/assets/js/main.min.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-preview/pr-1/assets/js/main.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-preview/pr-1/assets/js/plugins/jquery.greedy-navigation.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,11 @@ $(function() {
103103
clearTimeout(timer);
104104
});
105105

106-
$hlinks.on('mouseleave', function() {
106+
$hlinks.on("click", function () {
107+
// Hide the hidden links & remove the overlay when one is clicked.
108+
$hlinks.addClass("hidden");
109+
$btn.removeClass("close");
110+
}).on('mouseleave', function() {
107111
// Mouse has left, start the timer
108112
timer = setTimeout(function() {
109113
$hlinks.addClass('hidden');

pr-preview/pr-1/feed.xml

Lines changed: 0 additions & 1 deletion
This file was deleted.

pr-preview/pr-1/index.html

Lines changed: 42 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
1+
2+
13
<!doctype html>
24
<!--
3-
Minimal Mistakes Jekyll Theme 4.26.2 by Michael Rose
4-
Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
5+
Minimal Mistakes Jekyll Theme 4.28.0 by Michael Rose
6+
Copyright 2013-2026 Michael Rose - mademistakes.com | @mmistakes
7+
Copyright 2024-2026 iBug - ibugone.com | @iBug
58
Free for personal and commercial use under the MIT license
69
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
710
-->
811

912
<html lang="en" class="no-js">
1013
<head>
11-
<meta charset="utf-8">
14+
15+
<meta charset="utf-8">
16+
1217

13-
<!-- begin _includes/seo.html --><title>Welcome to PHP Debugger - PHP Debugger</title>
18+
<!-- begin _includes/seo.html --><title>Welcome to PHP Debugger</title>
1419
<meta name="description" content="A PHP debugger extension focused on step debugging with near-zero overhead.">
1520

1621

@@ -38,6 +43,8 @@
3843

3944

4045

46+
47+
4148
<link rel="canonical" href="https://php-debugger.github.io/">
4249

4350

@@ -68,7 +75,7 @@
6875
<link href="/feed.xml" type="application/atom+xml" rel="alternate" title="PHP Debugger Feed">
6976
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7077

71-
<script type="text/javascript">
78+
<script>
7279
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
7380

7481
</script>
@@ -88,8 +95,9 @@
8895

8996
</head>
9097

91-
<body class="layout--single">
92-
<nav class="skip-links">
98+
<body class="layout--single" dir="ltr">
99+
100+
<nav class="skip-links" aria-label="Skip links">
93101
<ul>
94102
<li><a href="#site-nav" class="screen-reader-shortcut">Skip to primary navigation</a></li>
95103
<li><a href="#main" class="screen-reader-shortcut">Skip to content</a></li>
@@ -99,22 +107,17 @@
99107

100108

101109

110+
102111
<div class="masthead">
103112
<div class="masthead__inner-wrap">
104113
<div class="masthead__menu">
105-
<nav id="site-nav" class="greedy-nav">
114+
<nav id="site-nav" class="greedy-nav" aria-label="Primary navigation">
106115

107116
<a class="site-title" href="/">
108117
PHP Debugger
109118

110119
</a>
111-
<ul class="visible-links"><li class="masthead__menu-item">
112-
<a
113-
href="https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/"
114-
115-
116-
>Quick-Start Guide</a>
117-
</li></ul>
120+
<ul class="visible-links"></ul>
118121

119122
<button class="greedy-nav__toggle hidden" type="button">
120123
<span class="visually-hidden">Toggle menu</span>
@@ -134,11 +137,14 @@
134137

135138

136139

140+
141+
137142
<div id="main" role="main">
138143

139144

140145

141-
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
146+
147+
<article class="page h-entry" itemscope itemtype="https://schema.org/CreativeWork">
142148
<meta itemprop="headline" content="Welcome to PHP Debugger">
143149

144150

@@ -147,17 +153,18 @@
147153
<div class="page__inner-wrap">
148154

149155
<header>
150-
<h1 id="page-title" class="page__title" itemprop="headline">
156+
<h1 id="page-title" class="page__title p-name" itemprop="headline">
151157
<a href="https://php-debugger.github.io/" itemprop="url">Welcome to PHP Debugger
152158
</a>
153159
</h1>
154160

155161

156162

163+
157164
</header>
158165

159166

160-
<section class="page__content" itemprop="text">
167+
<section class="page__content e-content" itemprop="text">
161168

162169
<h2 id="about-php-debugger">About PHP Debugger</h2>
163170

@@ -174,14 +181,22 @@ <h3 id="main-repository">Main Repository</h3>
174181

175182

176183

184+
185+
186+
187+
177188

178189

179190

191+
192+
180193
</footer>
181194

182195

183196

184197

198+
199+
185200
</div>
186201

187202

@@ -201,24 +216,29 @@ <h3 id="main-repository">Main Repository</h3>
201216
<!-- start custom footer snippets -->
202217

203218
<!-- end custom footer snippets -->
204-
<div class="page__footer-follow">
219+
220+
221+
222+
<div class="page__footer-follow">
205223
<ul class="social-icons">
206224

207225

208226

209227

210228

211-
<li><a href="/feed.xml"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> Feed</a></li>
229+
<li><a href="/feed.xml"><i class="fas fa-fw fa-square-rss" aria-hidden="true"></i> Feed</a></li>
212230

213231
</ul>
214232
</div>
215233

216-
<div class="page__footer-copyright">&copy; 2026 <a href="https://php-debugger.github.io">PHP Debugger</a>. Powered by <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
234+
235+
<div class="page__footer-copyright">&copy; 2026 <a href="https://php-debugger.github.io">PHP Debugger</a>. Powered by <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/jekyll-themes/minimal-mistakes/" rel="nofollow">Minimal Mistakes</a>.</div>
217236

218237
</footer>
219238
</div>
220239

221240

241+
222242
<script src="/assets/js/main.min.js"></script>
223243

224244

@@ -229,5 +249,6 @@ <h3 id="main-repository">Main Repository</h3>
229249

230250

231251

252+
232253
</body>
233254
</html>

0 commit comments

Comments
 (0)