diff --git a/Gruntfile.js b/Gruntfile.js
index 082f71a80..4f6b96f0d 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -630,7 +630,7 @@ module.exports = function(grunt) {
{
cwd: "versions/pcx86/<%= pkg.version %>/",
src: ["pcx86.js", "pcx86-dbg.js", "components.css", "components.xsl"],
- dest: "pubs/docs/pcx86/examples/",
+ dest: "apps/pcx86/examples/",
expand: true
}
],
@@ -706,7 +706,7 @@ module.exports = function(grunt) {
args: []
},
"zip-examples": {
- options: {cwd: "pubs/docs/pcx86/examples"},
+ options: {cwd: "apps/pcx86/examples"},
cmd: "./zip.sh",
args: ["v" + pkg.version + ".zip"]
}
diff --git a/README.md b/README.md
index 0ac2093e8..ab4db161b 100644
--- a/README.md
+++ b/README.md
@@ -87,7 +87,7 @@ Developer Notes
The [PCjs repository](https://github.com/jeffpar/pcjs) on GitHub contains everything needed to run PCjs
computer simulations. All the PCjs emulators run in any modern web browser, with or without a web server,
-and examples are provided for both [local](/docs/pcx86/examples/) and [remote](http://www.pcjs.org/) operation.
+and examples are provided for both [local](/apps/pcx86/examples/) and [remote](http://www.pcjs.org/) operation.
The project includes:
@@ -103,7 +103,7 @@ JavaScript files to your browser will work. However, instructions for doing tha
In fact, you can run PCjs simulations without a web server at all, using the "file:" protocol instead of "http:".
However, most of the machine configurations require additional resource files (ROMs, disk images, etc), which are
included in the project, but unless all the resource files are moved into a single directory (as they are in these
-[Demos](/docs/pcx86/examples/)), your browser will probably be unable to load all of them, due to security restrictions.
+[Examples](/apps/pcx86/examples/)), your browser will probably be unable to load all of them, due to security restrictions.
Using the bundled web server is the preferred solution.
The project includes a large selection of disk images, and a powerful [DiskDump](modules/diskdump/) utility that
diff --git a/pubs/docs/pcx86/examples/.gitignore b/apps/pcx86/examples/.gitignore
similarity index 100%
rename from pubs/docs/pcx86/examples/.gitignore
rename to apps/pcx86/examples/.gitignore
diff --git a/pubs/docs/pcx86/examples/1981-04-24.json b/apps/pcx86/examples/1981-04-24.json
similarity index 100%
rename from pubs/docs/pcx86/examples/1981-04-24.json
rename to apps/pcx86/examples/1981-04-24.json
diff --git a/pubs/docs/pcx86/examples/PCDOS100.json b/apps/pcx86/examples/PCDOS100.json
similarity index 100%
rename from pubs/docs/pcx86/examples/PCDOS100.json
rename to apps/pcx86/examples/PCDOS100.json
diff --git a/pubs/docs/pcx86/examples/README.md b/apps/pcx86/examples/README.md
similarity index 85%
rename from pubs/docs/pcx86/examples/README.md
rename to apps/pcx86/examples/README.md
index bb6e4fcea..550801b39 100644
--- a/pubs/docs/pcx86/examples/README.md
+++ b/apps/pcx86/examples/README.md
@@ -1,15 +1,17 @@
---
layout: page
-title: PCx86 Documentation Examples
-permalink: /docs/pcx86/examples/
+title: PCx86 Examples
+permalink: /apps/pcx86/examples/
+redirect_from:
+ - /docs/pcx86/examples/
machines:
- id: example3
type: pcx86
- config: /docs/pcx86/examples/example3b.xml
+ config: /apps/pcx86/examples/example3b.xml
---
-PCx86 Documentation Examples
-----------------------------
+PCx86 Examples
+--------------
This folder provides all the self-contained [PCx86](/docs/about/pcx86/) examples described in the
[Documentation](/docs/pcx86/).
@@ -33,4 +35,4 @@ Have fun!
{% include machine.html id="example3" %}
-[Return to [PCx86 Documentation](..)]
+[Return to [PCx86 Documentation](/docs/pcx86/)]
diff --git a/pubs/docs/pcx86/examples/components.css b/apps/pcx86/examples/components.css
similarity index 100%
rename from pubs/docs/pcx86/examples/components.css
rename to apps/pcx86/examples/components.css
diff --git a/pubs/docs/pcx86/examples/components.xsl b/apps/pcx86/examples/components.xsl
similarity index 100%
rename from pubs/docs/pcx86/examples/components.xsl
rename to apps/pcx86/examples/components.xsl
diff --git a/pubs/docs/pcx86/examples/example1.html b/apps/pcx86/examples/example1.html
similarity index 88%
rename from pubs/docs/pcx86/examples/example1.html
rename to apps/pcx86/examples/example1.html
index 7b4fb6458..8c4f1314d 100644
--- a/pubs/docs/pcx86/examples/example1.html
+++ b/apps/pcx86/examples/example1.html
@@ -2,7 +2,7 @@