Skip to content

Commit f6687d0

Browse files
authored
[Docs] Updating sidebar to add Xdebug pages (#2881)
This pull request updates the sidebar to add links to the Xdebug and contributor guides documentation. This Pull request also includes renaming documentation titles for better readability. **Documentation improvements:** * Renamed the Xdebug introduction documentation page and its title to "Debugging with Xdebug in WordPress Playground" for increased clarity and alignment with user expectations. * Updated the contributor day table lead guide title and heading to "How to Lead a Contributor Day Table" and "Contributor Day Table Leadership Guide" to make the guide's purpose more explicit. **Sidebar organization:** * Added the new contributor day table lead guide (`main/contributing/contributor-day-table-lead`) to the contributing section of the sidebar for easier access. * Created a new "Xdebug on Playground" sidebar category, including links to the introduction and getting started guides, making Xdebug documentation easier to find and navigate.
1 parent fe392e1 commit f6687d0

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

packages/docs/site/docs/developers/07-xdebug/01-introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: Using Xdebug with PHP WASM - Introduction
2+
title: Debugging with Xdebug in WordPress Playground
33
slug: /developers/xdebug/introduction
44
description: Debug PHP code running in WebAssembly within WordPress Playground using Xdebug, Chrome DevTools, and IDE integration.
55
---
66

7-
# Using Xdebug with PHP WASM
7+
# Debugging with Xdebug in WordPress Playground
88

99
Xdebug is a debugging extension for PHP that lets you set breakpoints, inspect variables, and step through your code. WordPress Playground includes Xdebug in its WebAssembly-compiled PHP, so you can debug WordPress code running directly in your browser or IDE.
1010

packages/docs/site/docs/main/contributing/contributor-day-table-lead.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
slug: /contributing/table-lead-guide
3-
title: Table Lead Guide for Contributor Day
3+
title: How to Lead a Contributor Day Table
44
description: How to lead a WordPress Playground table at Contributor Day of a WordCamp.
55
---
66

7-
# Table Lead Guide for Contributor Day
7+
# Contributor Day Table Leadership Guide
88

99
This guide helps table leads prepare for and manage a WordPress Playground contributor table at WordCamp events.
1010

packages/docs/site/sidebars.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ const sidebars = {
6262
'main/contributing/coding-standards',
6363
'main/contributing/contributor-day',
6464
'main/contributing/contributor-badge',
65+
'main/contributing/contributor-day-table-lead',
6566
'main/contributing/documentation',
6667
'main/contributing/translations',
6768
],
@@ -140,6 +141,18 @@ const sidebars = {
140141
'developers/local-development/php-wasm-node',
141142
],
142143
},
144+
{
145+
type: 'category',
146+
label: 'Xdebug on Playground',
147+
link: {
148+
type: 'doc',
149+
id: 'developers/xdebug/introduction',
150+
},
151+
items: [
152+
'developers/xdebug/introduction',
153+
'developers/xdebug/getting-started',
154+
],
155+
},
143156
{
144157
type: 'category',
145158
label: 'Playground APIs',

0 commit comments

Comments
 (0)