Skip to content

Commit

Permalink
Docs: Remove the outdated "data rependencies" page (#1785)
Browse files Browse the repository at this point in the history
## Motivation for the change, related issues

Removes the data dependencies documentation. Playground doesn't use data
Emscripten modules anymore, only zip files.
  • Loading branch information
adamziel authored Sep 19, 2024
1 parent 2e7a348 commit acb6a03
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 49 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Behind the scenes, the official [SQLite Database Integration](https://github.com

## WordPress in the browser

WordPress Playground ships a [bundled WordPress](/developers/architecture/wasm-php-data-dependencies) that you can use in the browser. It's optimized for size, and the installation wizard is run for you.
You can use any WordPress build in the browser. For convenience and to reduce the data transfer size, WordPress Playground ships a few [minified WordPress releases](https://github.com/WordPress/wordpress-playground/tree/trunk/packages/playground/wordpress-builds) that you can use in the browser.

## WordPress in Node.js

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The [web bundler Dockerfile](https://github.com/WordPress/wordpress-playground/b
- Makes WordPress run on SQLite using the [official drop-in plugin](https://github.com/WordPress/sqlite-database-integration) as MySQL is unsupported in the browser.
- Reduces the WordPress website size from about 70MB to about 10MB, or 5MB compressed.
- Runs the WordPress installation wizard.
- Bundles WordPress as a [data dependency](/developers/architecture/wasm-php-data-dependencies)
- Bundles WordPress as a minified zip file.

Build a new bundle with `nx bundle-wordpress playground-wordpress-builds --wp-version=<version>`, e.g.:

Expand Down
4 changes: 0 additions & 4 deletions packages/docs/site/redirections.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ const redirections = [
to: '/developers/architecture/wasm-php-compiling',
from: '/architecture/wasm-php-compiling',
},
{
to: '/developers/architecture/wasm-php-data-dependencies',
from: '/architecture/wasm-php-data-dependencies',
},
{
to: '/developers/architecture/wasm-php-filesystem',
from: '/architecture/wasm-php-filesystem',
Expand Down
3 changes: 1 addition & 2 deletions packages/docs/site/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const sidebars = {
'main/guides/wordpress-native-ios-app',
'main/guides/for-plugin-developers',
'main/guides/for-theme-developers',
'main/guides/providing-content-for-your-demo'
'main/guides/providing-content-for-your-demo',
],
},
{
Expand Down Expand Up @@ -176,7 +176,6 @@ const sidebars = {
'developers/architecture/wasm-php-compiling',
'developers/architecture/wasm-php-javascript-module',
'developers/architecture/wasm-php-filesystem',
'developers/architecture/wasm-php-data-dependencies',
'developers/architecture/wasm-asyncify',
'developers/architecture/browser-concepts',
'developers/architecture/browser-tab-orchestrates-execution',
Expand Down

0 comments on commit acb6a03

Please sign in to comment.