+
+
+
+
+ {
+ nestedSections.map((section) => (
+
+ ))
+ }
+
+ {
+ standaloneSections.map((section) => (
+
+ ))
+ }
+
+
+
diff --git a/src/content.config.ts b/src/content.config.ts
new file mode 100644
index 0000000000..e5c52b12ff
--- /dev/null
+++ b/src/content.config.ts
@@ -0,0 +1,16 @@
+import { defineCollection, z } from 'astro:content';
+import { docsLoader } from '@astrojs/starlight/loaders';
+import { docsSchema } from '@astrojs/starlight/schema';
+
+export const collections = {
+ docs: defineCollection({
+ loader: docsLoader(),
+ schema: docsSchema({
+ extend: z.object({
+ // Groups an article under a homepage section, e.g. "pop", "hardware".
+ section: z.string().optional(),
+ hidden: z.boolean().default(false),
+ }),
+ }),
+ }),
+};
diff --git a/content/accessibility.md b/src/content/docs/accessibility/index.md
similarity index 98%
rename from content/accessibility.md
rename to src/content/docs/accessibility/index.md
index 0da1628c97..f3119f1c00 100644
--- a/content/accessibility.md
+++ b/src/content/docs/accessibility/index.md
@@ -65,4 +65,4 @@ Once Universal Access is open you will have options for the following sections.
## Keyboard Shortcuts & Modifiers
-Pop!_OS also provides many keyboard shortcuts to help users with navigating their system from the keyboard. The documentation for the keyboard shortcuts can be found by clicking this link [here](https://support.system76.com/articles/pop-keyboard-shortcuts).
+Pop!_OS also provides many keyboard shortcuts to help users with navigating their system from the keyboard. The documentation for the keyboard shortcuts can be found by clicking this link [here](../pop-keyboard-shortcuts/index.mdx).
diff --git a/static/images/active-directory-client/login-screen-not-listed.png b/src/content/docs/active-directory-client/img/login-screen-not-listed.png
similarity index 100%
rename from static/images/active-directory-client/login-screen-not-listed.png
rename to src/content/docs/active-directory-client/img/login-screen-not-listed.png
diff --git a/content/active-directory-client.md b/src/content/docs/active-directory-client/index.md
similarity index 98%
rename from content/active-directory-client.md
rename to src/content/docs/active-directory-client/index.md
index 657e2a353d..d2a397e520 100644
--- a/content/active-directory-client.md
+++ b/src/content/docs/active-directory-client/index.md
@@ -146,4 +146,4 @@ Pop!\_OS and Ubuntu can be joined to an Active Directory domain, which allows us
7. Reboot the computer. At the login screen, you can click the "Not listed?" link, and type the username of any domain user. After logging in with a domain user for the first time, that user will appear on the login screen's user list.
- 
+ 
diff --git a/static/images/add-a-printer-pop/add-a-printer.png b/src/content/docs/add-a-printer-pop/img/add-a-printer.png
similarity index 100%
rename from static/images/add-a-printer-pop/add-a-printer.png
rename to src/content/docs/add-a-printer-pop/img/add-a-printer.png
diff --git a/static/images/add-a-printer-pop/admin-tab.png b/src/content/docs/add-a-printer-pop/img/admin-tab.png
similarity index 100%
rename from static/images/add-a-printer-pop/admin-tab.png
rename to src/content/docs/add-a-printer-pop/img/admin-tab.png
diff --git a/static/images/add-a-printer-pop/click-add.png b/src/content/docs/add-a-printer-pop/img/click-add.png
similarity index 100%
rename from static/images/add-a-printer-pop/click-add.png
rename to src/content/docs/add-a-printer-pop/img/click-add.png
diff --git a/static/images/add-a-printer-pop/cups-settings.png b/src/content/docs/add-a-printer-pop/img/cups-settings.png
similarity index 100%
rename from static/images/add-a-printer-pop/cups-settings.png
rename to src/content/docs/add-a-printer-pop/img/cups-settings.png
diff --git a/static/images/add-a-printer-pop/hp-setup.png b/src/content/docs/add-a-printer-pop/img/hp-setup.png
similarity index 100%
rename from static/images/add-a-printer-pop/hp-setup.png
rename to src/content/docs/add-a-printer-pop/img/hp-setup.png
diff --git a/static/images/add-a-printer-pop/printer-properties.png b/src/content/docs/add-a-printer-pop/img/printer-properties.png
similarity index 100%
rename from static/images/add-a-printer-pop/printer-properties.png
rename to src/content/docs/add-a-printer-pop/img/printer-properties.png
diff --git a/static/images/add-a-printer-pop/printer-settings-add-dialog.png b/src/content/docs/add-a-printer-pop/img/printer-settings-add-dialog.png
similarity index 100%
rename from static/images/add-a-printer-pop/printer-settings-add-dialog.png
rename to src/content/docs/add-a-printer-pop/img/printer-settings-add-dialog.png
diff --git a/content/add-a-printer-pop.md b/src/content/docs/add-a-printer-pop/index.md
similarity index 93%
rename from content/add-a-printer-pop.md
rename to src/content/docs/add-a-printer-pop/index.md
index 32afa4a4e4..2055d8d36d 100644
--- a/content/add-a-printer-pop.md
+++ b/src/content/docs/add-a-printer-pop/index.md
@@ -24,13 +24,13 @@ Most printers will be automatically added to the computer. If a printer is not a
3. In the `Printers` settings panel, click the `Add a Printer...` button to search for locally connected printers.
- 
+ 
4. Wait a few seconds for printers to appear in the Device List.
5. Select the correct printer and click `Add`.
- 
+ 
## Checking Printer Status in CUPS
@@ -40,7 +40,7 @@ CUPS can be managed directly using a web browser by navigating to the following
The status window will show current print jobs, detected printers, and other information about the printing system.
-
+
### Adding Users to the lpadmin Group
@@ -62,7 +62,7 @@ If you prefer to manage printers in Terminal, See the [CUPS documentation](https
Share a printer with the local network by clicking the `Administration` tab.
-
+
Check the box for `Share printers connected to this system`.
@@ -86,7 +86,7 @@ sudo apt install python3-pyqt5
Then run `hp-setup` to start the HP Device Manager.
-
+
## Epson Printers
@@ -133,7 +133,7 @@ Brother provides a driver installation tool for Linux users. Install the appropr
9. If your printer configuration requires a device URI, you can find that by opening up Settings > Printers > Additional Printer Settings, then right-click your printer and click `Properties`. In the resulting window, you'll be able to find your Device URI, as shown in the screenshot below.
-
+
## Troubleshooting
diff --git a/static/images/add-a-printer-ubuntu/add-a-printer.png b/src/content/docs/add-a-printer-ubuntu/img/add-a-printer.png
similarity index 100%
rename from static/images/add-a-printer-ubuntu/add-a-printer.png
rename to src/content/docs/add-a-printer-ubuntu/img/add-a-printer.png
diff --git a/static/images/add-a-printer-ubuntu/admin-tab.png b/src/content/docs/add-a-printer-ubuntu/img/admin-tab.png
similarity index 100%
rename from static/images/add-a-printer-ubuntu/admin-tab.png
rename to src/content/docs/add-a-printer-ubuntu/img/admin-tab.png
diff --git a/static/images/add-a-printer-ubuntu/click-add.png b/src/content/docs/add-a-printer-ubuntu/img/click-add.png
similarity index 100%
rename from static/images/add-a-printer-ubuntu/click-add.png
rename to src/content/docs/add-a-printer-ubuntu/img/click-add.png
diff --git a/static/images/add-a-printer-ubuntu/cups-settings.png b/src/content/docs/add-a-printer-ubuntu/img/cups-settings.png
similarity index 100%
rename from static/images/add-a-printer-ubuntu/cups-settings.png
rename to src/content/docs/add-a-printer-ubuntu/img/cups-settings.png
diff --git a/static/images/add-a-printer-ubuntu/printer-properties.png b/src/content/docs/add-a-printer-ubuntu/img/printer-properties.png
similarity index 100%
rename from static/images/add-a-printer-ubuntu/printer-properties.png
rename to src/content/docs/add-a-printer-ubuntu/img/printer-properties.png
diff --git a/static/images/add-a-printer-ubuntu/printer-settings-add-dialog.png b/src/content/docs/add-a-printer-ubuntu/img/printer-settings-add-dialog.png
similarity index 100%
rename from static/images/add-a-printer-ubuntu/printer-settings-add-dialog.png
rename to src/content/docs/add-a-printer-ubuntu/img/printer-settings-add-dialog.png
diff --git a/static/images/add-a-printer-ubuntu/selectcorrectprinter.png b/src/content/docs/add-a-printer-ubuntu/img/selectcorrectprinter.png
similarity index 100%
rename from static/images/add-a-printer-ubuntu/selectcorrectprinter.png
rename to src/content/docs/add-a-printer-ubuntu/img/selectcorrectprinter.png
diff --git a/content/add-a-printer-ubuntu.md b/src/content/docs/add-a-printer-ubuntu/index.md
similarity index 95%
rename from content/add-a-printer-ubuntu.md
rename to src/content/docs/add-a-printer-ubuntu/index.md
index 9103cb7376..b81cb54a63 100644
--- a/content/add-a-printer-ubuntu.md
+++ b/src/content/docs/add-a-printer-ubuntu/index.md
@@ -20,7 +20,7 @@ tableOfContents: true
2. In the Printers Application, click the `Add` button. Wait a few seconds for printers to appear in the Device List.
- 
+ 
3. Select the correct printer and click `Forward`. The computer will search for the correct Drivers to enable the printer.
@@ -36,7 +36,7 @@ CUPS can be managed directly using a web browser by navigating to the following
The status window will show current print jobs, detected printers, and other information about the printing system.
-
+
### Adding Users to the lpadmin Group
@@ -58,7 +58,7 @@ If you prefer to manage printers in Terminal, See the [CUPS documentation](https
Share a printer with the local network by clicking the `Administration` tab.
-
+
Check the box for `Share printers connected to this system`.
@@ -124,7 +124,7 @@ Brother provides a driver installation tool for Linux users. Install the appropr
9. If your printer configuration requires a device URI, you can find that by opening up Settings > Printers > Additional Printer Settings, then right-click your printer and click `Properties`. In the resulting window, you'll be able to find your Device URI, as shown in the screenshot below.
-
+
## Troubleshooting
diff --git a/content/advanced-luks.md b/src/content/docs/advanced-luks/index.md
similarity index 100%
rename from content/advanced-luks.md
rename to src/content/docs/advanced-luks/index.md
diff --git a/static/images/ar-sandbox/3-A-maximize-3eb069c85a.png b/src/content/docs/ar-sandbox/img/3-A-maximize-3eb069c85a.png
similarity index 100%
rename from static/images/ar-sandbox/3-A-maximize-3eb069c85a.png
rename to src/content/docs/ar-sandbox/img/3-A-maximize-3eb069c85a.png
diff --git a/static/images/ar-sandbox/3-B-align-kinect-73dd8344d5.png b/src/content/docs/ar-sandbox/img/3-B-align-kinect-73dd8344d5.png
similarity index 100%
rename from static/images/ar-sandbox/3-B-align-kinect-73dd8344d5.png
rename to src/content/docs/ar-sandbox/img/3-B-align-kinect-73dd8344d5.png
diff --git a/static/images/ar-sandbox/4-A-posterboard-718b802347.jpg b/src/content/docs/ar-sandbox/img/4-A-posterboard-718b802347.jpg
similarity index 100%
rename from static/images/ar-sandbox/4-A-posterboard-718b802347.jpg
rename to src/content/docs/ar-sandbox/img/4-A-posterboard-718b802347.jpg
diff --git a/static/images/ar-sandbox/4-B-average-frames-1ba827544a.png b/src/content/docs/ar-sandbox/img/4-B-average-frames-1ba827544a.png
similarity index 100%
rename from static/images/ar-sandbox/4-B-average-frames-1ba827544a.png
rename to src/content/docs/ar-sandbox/img/4-B-average-frames-1ba827544a.png
diff --git a/static/images/ar-sandbox/4-C-extract-plane-1cbd8abb5e.png b/src/content/docs/ar-sandbox/img/4-C-extract-plane-1cbd8abb5e.png
similarity index 100%
rename from static/images/ar-sandbox/4-C-extract-plane-1cbd8abb5e.png
rename to src/content/docs/ar-sandbox/img/4-C-extract-plane-1cbd8abb5e.png
diff --git a/static/images/ar-sandbox/4-D-drag-rectangle-a8b53ecc87.png b/src/content/docs/ar-sandbox/img/4-D-drag-rectangle-a8b53ecc87.png
similarity index 100%
rename from static/images/ar-sandbox/4-D-drag-rectangle-a8b53ecc87.png
rename to src/content/docs/ar-sandbox/img/4-D-drag-rectangle-a8b53ecc87.png
diff --git a/static/images/ar-sandbox/4-E-terminal-output-25a90e21ae.png b/src/content/docs/ar-sandbox/img/4-E-terminal-output-25a90e21ae.png
similarity index 100%
rename from static/images/ar-sandbox/4-E-terminal-output-25a90e21ae.png
rename to src/content/docs/ar-sandbox/img/4-E-terminal-output-25a90e21ae.png
diff --git a/static/images/ar-sandbox/4-F-gedit-eb460dffb4.png b/src/content/docs/ar-sandbox/img/4-F-gedit-eb460dffb4.png
similarity index 100%
rename from static/images/ar-sandbox/4-F-gedit-eb460dffb4.png
rename to src/content/docs/ar-sandbox/img/4-F-gedit-eb460dffb4.png
diff --git a/static/images/ar-sandbox/5-A-measure-3d-positions-14f7ae1f35.png b/src/content/docs/ar-sandbox/img/5-A-measure-3d-positions-14f7ae1f35.png
similarity index 100%
rename from static/images/ar-sandbox/5-A-measure-3d-positions-14f7ae1f35.png
rename to src/content/docs/ar-sandbox/img/5-A-measure-3d-positions-14f7ae1f35.png
diff --git a/static/images/ar-sandbox/5-B-corner1-e25b256651.png b/src/content/docs/ar-sandbox/img/5-B-corner1-e25b256651.png
similarity index 100%
rename from static/images/ar-sandbox/5-B-corner1-e25b256651.png
rename to src/content/docs/ar-sandbox/img/5-B-corner1-e25b256651.png
diff --git a/static/images/ar-sandbox/5-B-corner2-2929d14acd.png b/src/content/docs/ar-sandbox/img/5-B-corner2-2929d14acd.png
similarity index 100%
rename from static/images/ar-sandbox/5-B-corner2-2929d14acd.png
rename to src/content/docs/ar-sandbox/img/5-B-corner2-2929d14acd.png
diff --git a/static/images/ar-sandbox/5-B-corner3-879f6980e8.png b/src/content/docs/ar-sandbox/img/5-B-corner3-879f6980e8.png
similarity index 100%
rename from static/images/ar-sandbox/5-B-corner3-879f6980e8.png
rename to src/content/docs/ar-sandbox/img/5-B-corner3-879f6980e8.png
diff --git a/static/images/ar-sandbox/5-B-corner4-323ddfd555.png b/src/content/docs/ar-sandbox/img/5-B-corner4-323ddfd555.png
similarity index 100%
rename from static/images/ar-sandbox/5-B-corner4-323ddfd555.png
rename to src/content/docs/ar-sandbox/img/5-B-corner4-323ddfd555.png
diff --git a/static/images/ar-sandbox/5-C-terminal-output-bfe04cf344.png b/src/content/docs/ar-sandbox/img/5-C-terminal-output-bfe04cf344.png
similarity index 100%
rename from static/images/ar-sandbox/5-C-terminal-output-bfe04cf344.png
rename to src/content/docs/ar-sandbox/img/5-C-terminal-output-bfe04cf344.png
diff --git a/static/images/ar-sandbox/5-D-gedit-57a97839c7.png b/src/content/docs/ar-sandbox/img/5-D-gedit-57a97839c7.png
similarity index 100%
rename from static/images/ar-sandbox/5-D-gedit-57a97839c7.png
rename to src/content/docs/ar-sandbox/img/5-D-gedit-57a97839c7.png
diff --git a/static/images/ar-sandbox/6-A-mirror-displays-9275bf68e0.png b/src/content/docs/ar-sandbox/img/6-A-mirror-displays-9275bf68e0.png
similarity index 100%
rename from static/images/ar-sandbox/6-A-mirror-displays-9275bf68e0.png
rename to src/content/docs/ar-sandbox/img/6-A-mirror-displays-9275bf68e0.png
diff --git a/static/images/ar-sandbox/6-B-autohide-launcher-46b55277ea.png b/src/content/docs/ar-sandbox/img/6-B-autohide-launcher-46b55277ea.png
similarity index 100%
rename from static/images/ar-sandbox/6-B-autohide-launcher-46b55277ea.png
rename to src/content/docs/ar-sandbox/img/6-B-autohide-launcher-46b55277ea.png
diff --git a/static/images/ar-sandbox/6-C-xbackground-af01671469.jpg b/src/content/docs/ar-sandbox/img/6-C-xbackground-af01671469.jpg
similarity index 100%
rename from static/images/ar-sandbox/6-C-xbackground-af01671469.jpg
rename to src/content/docs/ar-sandbox/img/6-C-xbackground-af01671469.jpg
diff --git a/static/images/ar-sandbox/7-A-tools-27804401fe.jpg b/src/content/docs/ar-sandbox/img/7-A-tools-27804401fe.jpg
similarity index 100%
rename from static/images/ar-sandbox/7-A-tools-27804401fe.jpg
rename to src/content/docs/ar-sandbox/img/7-A-tools-27804401fe.jpg
diff --git a/static/images/ar-sandbox/7-B-press-1-17ad6d4ad8.png b/src/content/docs/ar-sandbox/img/7-B-press-1-17ad6d4ad8.png
similarity index 100%
rename from static/images/ar-sandbox/7-B-press-1-17ad6d4ad8.png
rename to src/content/docs/ar-sandbox/img/7-B-press-1-17ad6d4ad8.png
diff --git a/static/images/ar-sandbox/7-C-press-2-867c3ffac3.png b/src/content/docs/ar-sandbox/img/7-C-press-2-867c3ffac3.png
similarity index 100%
rename from static/images/ar-sandbox/7-C-press-2-867c3ffac3.png
rename to src/content/docs/ar-sandbox/img/7-C-press-2-867c3ffac3.png
diff --git a/static/images/ar-sandbox/7-D-capture-background-af5f6cb582.jpg b/src/content/docs/ar-sandbox/img/7-D-capture-background-af5f6cb582.jpg
similarity index 100%
rename from static/images/ar-sandbox/7-D-capture-background-af5f6cb582.jpg
rename to src/content/docs/ar-sandbox/img/7-D-capture-background-af5f6cb582.jpg
diff --git a/static/images/ar-sandbox/7-E-lowest-db2aad81b1.jpg b/src/content/docs/ar-sandbox/img/7-E-lowest-db2aad81b1.jpg
similarity index 100%
rename from static/images/ar-sandbox/7-E-lowest-db2aad81b1.jpg
rename to src/content/docs/ar-sandbox/img/7-E-lowest-db2aad81b1.jpg
diff --git a/static/images/ar-sandbox/7-F-middle-8e56231939.jpg b/src/content/docs/ar-sandbox/img/7-F-middle-8e56231939.jpg
similarity index 100%
rename from static/images/ar-sandbox/7-F-middle-8e56231939.jpg
rename to src/content/docs/ar-sandbox/img/7-F-middle-8e56231939.jpg
diff --git a/static/images/ar-sandbox/7-G-highest-948cda7d1e.jpg b/src/content/docs/ar-sandbox/img/7-G-highest-948cda7d1e.jpg
similarity index 100%
rename from static/images/ar-sandbox/7-G-highest-948cda7d1e.jpg
rename to src/content/docs/ar-sandbox/img/7-G-highest-948cda7d1e.jpg
diff --git a/static/images/ar-sandbox/7-maximize-478e070818.png b/src/content/docs/ar-sandbox/img/7-maximize-478e070818.png
similarity index 100%
rename from static/images/ar-sandbox/7-maximize-478e070818.png
rename to src/content/docs/ar-sandbox/img/7-maximize-478e070818.png
diff --git a/static/images/ar-sandbox/8-A-sea-level-too-high-6eaead66d8.jpg b/src/content/docs/ar-sandbox/img/8-A-sea-level-too-high-6eaead66d8.jpg
similarity index 100%
rename from static/images/ar-sandbox/8-A-sea-level-too-high-6eaead66d8.jpg
rename to src/content/docs/ar-sandbox/img/8-A-sea-level-too-high-6eaead66d8.jpg
diff --git a/static/images/ar-sandbox/8-B-gedit-1-66e79657fe.png b/src/content/docs/ar-sandbox/img/8-B-gedit-1-66e79657fe.png
similarity index 100%
rename from static/images/ar-sandbox/8-B-gedit-1-66e79657fe.png
rename to src/content/docs/ar-sandbox/img/8-B-gedit-1-66e79657fe.png
diff --git a/static/images/ar-sandbox/8-C-gedit-2-6673dc3a21.png b/src/content/docs/ar-sandbox/img/8-C-gedit-2-6673dc3a21.png
similarity index 100%
rename from static/images/ar-sandbox/8-C-gedit-2-6673dc3a21.png
rename to src/content/docs/ar-sandbox/img/8-C-gedit-2-6673dc3a21.png
diff --git a/static/images/ar-sandbox/8-D-gedit-3-36f32a4191.png b/src/content/docs/ar-sandbox/img/8-D-gedit-3-36f32a4191.png
similarity index 100%
rename from static/images/ar-sandbox/8-D-gedit-3-36f32a4191.png
rename to src/content/docs/ar-sandbox/img/8-D-gedit-3-36f32a4191.png
diff --git a/static/images/ar-sandbox/8-E-sea-level-just-right-cdc5f0037b.jpg b/src/content/docs/ar-sandbox/img/8-E-sea-level-just-right-cdc5f0037b.jpg
similarity index 100%
rename from static/images/ar-sandbox/8-E-sea-level-just-right-cdc5f0037b.jpg
rename to src/content/docs/ar-sandbox/img/8-E-sea-level-just-right-cdc5f0037b.jpg
diff --git a/static/images/ar-sandbox/8-maximize-6789e388ee.png b/src/content/docs/ar-sandbox/img/8-maximize-6789e388ee.png
similarity index 100%
rename from static/images/ar-sandbox/8-maximize-6789e388ee.png
rename to src/content/docs/ar-sandbox/img/8-maximize-6789e388ee.png
diff --git a/static/images/ar-sandbox/9-A-launch-sarndbox-3d1afe80d2.png b/src/content/docs/ar-sandbox/img/9-A-launch-sarndbox-3d1afe80d2.png
similarity index 100%
rename from static/images/ar-sandbox/9-A-launch-sarndbox-3d1afe80d2.png
rename to src/content/docs/ar-sandbox/img/9-A-launch-sarndbox-3d1afe80d2.png
diff --git a/static/images/ar-sandbox/9-B-make-it-rain-fe5051a11f.jpg b/src/content/docs/ar-sandbox/img/9-B-make-it-rain-fe5051a11f.jpg
similarity index 100%
rename from static/images/ar-sandbox/9-B-make-it-rain-fe5051a11f.jpg
rename to src/content/docs/ar-sandbox/img/9-B-make-it-rain-fe5051a11f.jpg
diff --git a/content/ar-sandbox.md b/src/content/docs/ar-sandbox/index.mdx
similarity index 84%
rename from content/ar-sandbox.md
rename to src/content/docs/ar-sandbox/index.mdx
index 84a8afad1c..62cc0a1aee 100644
--- a/content/ar-sandbox.md
+++ b/src/content/docs/ar-sandbox/index.mdx
@@ -15,6 +15,8 @@ section: case-studies
tableOfContents: true
---
+import { Icon } from "astro-icon/components";
+
[AR Sandbox Video](https://www.youtube.com/watch?v=uTPOE2XceEA)
The [Augmented Reality Sandbox](https://arsandbox.ucdavis.edu/) was developed by [Oliver Kreylos](http://idav.ucdavis.edu/~okreylos/) at [UC Davis](https://www.ucdavis.edu/).
@@ -39,7 +41,7 @@ In terms of System76 computers we recommend the [Oryx Pro](https://system76.com/
- You'll need a computer running Pop!_OS 22.04.
-- Then install ArSandbox via the [terminal](https://support.system76.com/articles/terminal-basics)
+- Then install ArSandbox via the [terminal](../terminal-basics/index.mdx)
> All of the terminal commands in this guide can be copy-pasted or typed into your terminal.
@@ -66,7 +68,7 @@ reboot
- Connect the projector to your computer.
-- Mirror your computer's display to the sandbox by pressing `Super`