Skip to content

Commit

Permalink
Remove permalinks and update redirects
Browse files Browse the repository at this point in the history
In order to support release-specific documentation
(QubesOS/qubes-issues#5308), we want to allow permalinks for
release-specific pages to be generated by _config.yml rather than
being manually specified in the YAML header of each individual page.

However, we want the unversioned URLs to point to the latest version of
each page. Currently, it seems like best (but still undesirable) way to
do this is by specifying those unversioned URLs in the redirect_from
fields in the YAML headers on each page.
  • Loading branch information
Andrew David Wong committed Sep 12, 2019
1 parent 4490e13 commit c84b1ad
Show file tree
Hide file tree
Showing 145 changed files with 182 additions and 148 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Development Workflow
permalink: /doc/development-workflow/
redirect_from:
- /doc/development-workflow/
- /en/doc/development-workflow/
- /doc/DevelopmentWorkflow/
- /wiki/DevelopmentWorkflow/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Qubes Builder Details
permalink: /doc/qubes-builder-details/
redirect_from:
- /doc/qubes-builder-details/
- /en/doc/qubes-builder-details/
- /doc/QubesBuilderDetails/
- /wiki/QubesBuilderDetails/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/building/qubes-builder.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Qubes Builder
permalink: /doc/qubes-builder/
redirect_from:
- /doc/qubes-builder/
- /en/doc/qubes-builder/
- /doc/QubesBuilder/
- /wiki/QubesBuilder/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/building/qubes-iso-building.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Qubes ISO Building
permalink: /doc/qubes-iso-building/
redirect_from:
- /doc/qubes-iso-building/
- /doc/qubes-r3-building/
- /en/doc/qubes-r3-building/
- /en/doc/qubes-iso-building/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/debugging/automated-tests.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Automated Tests
permalink: /doc/automated-tests/
redirect_from:
- /doc/automated-tests/
- /en/doc/automated-tests/
- /doc/AutomatedTests/
---
Expand Down
3 changes: 2 additions & 1 deletion release-specific/developer/debugging/mount-lvm-image.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
layout: doc
title: Mount LVM image
permalink: /doc/mount-lvm-image/
redirect_from:
- /doc/mount-lvm-image/
---

# How to mount LVM image
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/debugging/profiling.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Profiling
permalink: /doc/profiling/
redirect_from:
- /doc/profiling/
- /en/doc/profiling/
- /doc/Profiling/
- /wiki/Profiling/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/debugging/safe-remote-ttys.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Safe Remote Dom0 Terminals
permalink: /doc/safe-remote-ttys/
redirect_from:
- /doc/safe-remote-ttys/
- /en/doc/safe-remote-ttys/
- /doc/safe-remote-ttys/
---
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/debugging/test-bench.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Test Bench
permalink: /doc/test-bench/
redirect_from:
- /doc/test-bench/
- /en/doc/test-bench/
- /doc/TestBench/
- /wiki/TestBench/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/debugging/vm-interface.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: VM Configuration Interface
permalink: /doc/vm-interface/
redirect_from:
- /doc/vm-interface/
- /en/doc/vm-interface/
- /doc/VMInterface/
- /doc/SystemDoc/VMInterface/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/debugging/windows-debugging.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Windows Debugging
permalink: /doc/windows-debugging/
redirect_from:
- /doc/windows-debugging/
- /en/doc/windows-debugging/
- /doc/WindowsDebugging/
- /wiki/WindowsDebugging/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/services/admin-api.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc-full
title: Admin API
permalink: /doc/admin-api/
redirect_from:
- /doc/admin-api/
- /doc/mgmt/
- /doc/mgmt1/
- /doc/mgmt-architecture/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/services/dom0-secure-updates.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Dom0 Secure Updates
permalink: /doc/dom0-secure-updates/
redirect_from:
- /doc/dom0-secure-updates/
- /en/doc/dom0-secure-updates/
- /doc/Dom0SecureUpdates/
- /wiki/Dom0SecureUpdates/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/services/dvm-impl.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: DVMimpl
permalink: /doc/dvm-impl/
redirect_from:
- /doc/dvm-impl/
- /en/doc/dvm-impl/
- /doc/DVMimpl/
- /wiki/DVMimpl/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/services/qfilecopy.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Qfilecopy
permalink: /doc/qfilecopy/
redirect_from:
- /doc/qfilecopy/
- /en/doc/qfilecopy/
- /doc/Qfilecopy/
- /wiki/Qfilecopy/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/services/qfileexchgd.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Qfileexchgd
permalink: /doc/qfileexchgd/
redirect_from:
- /doc/qfileexchgd/
- /en/doc/qfileexchgd/
- /doc/Qfileexchgd/
- /wiki/Qfileexchgd/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/services/qmemman.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Qmemman
permalink: /doc/qmemman/
redirect_from:
- /doc/qmemman/
- /en/doc/qmemman/
- /doc/Qmemman/
- /wiki/Qmemman/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/services/qrexec-internals.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Qubes RPC internals
permalink: /doc/qrexec-internals/
redirect_from:
- /doc/qrexec-internals/
- /doc/qrexec3-implementation/
- /en/doc/qrexec3-implementation/
- /doc/Qrexec3Implementation/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/services/qrexec.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Qrexec
permalink: /doc/qrexec/
redirect_from:
- /doc/qrexec/
- /en/doc/qrexec3/
- /doc/Qrexec3/
- /doc/qrexec3/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/services/qrexec2.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Qrexec2
permalink: /doc/qrexec2/
redirect_from:
- /doc/qrexec2/
- /doc/qrexec2-implementation/
- /en/doc/qrexec2-implementation/
- /doc/Qrexec2Implementation/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/system/architecture.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Architecture
permalink: /doc/architecture/
redirect_from:
- /doc/architecture/
- /doc/qubes-architecture/
- /en/doc/qubes-architecture/
- /doc/QubesArchitecture/
Expand Down
3 changes: 2 additions & 1 deletion release-specific/developer/system/audio.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
layout: doc
title: Audio Virtualization
permalink: /doc/audio-virtualization/
redirect_from:
- /doc/audio-virtualization/
---

Audio Virtualization
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/system/gui.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: GUI
permalink: /doc/gui/
redirect_from:
- /doc/gui/
- /en/doc/gui/
- /en/doc/gui-docs/
- /doc/GUIdocs/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/system/networking.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Networking
permalink: /doc/networking/
redirect_from:
- /doc/networking/
- /doc/qubes-net/
- /en/doc/qubes-net/
- /doc/QubesNet/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Security-critical Code
permalink: /doc/security-critical-code/
redirect_from:
- /doc/security-critical-code/
- /en/doc/security-critical-code/
- /doc/SecurityCriticalCode/
- /wiki/SecurityCriticalCode/
Expand Down
3 changes: 2 additions & 1 deletion release-specific/developer/system/storage-pools.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
layout: doc
title: Storage Pools
permalink: /doc/storage-pools/
redirect_from:
- /doc/storage-pools/
---

Storage Pools in Qubes
Expand Down
2 changes: 1 addition & 1 deletion release-specific/developer/system/system-doc.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: System Documentation
permalink: /doc/system-doc/
redirect_from:
- /doc/system-doc/
- /en/doc/system-doc/
- /doc/SystemDoc/
- /wiki/SystemDoc/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Template Implementation
permalink: /doc/template-implementation/
redirect_from:
- /doc/template-implementation/
- /en/doc/template-implementation/
- /doc/TemplateImplementation/
- /wiki/TemplateImplementation/
Expand Down
3 changes: 2 additions & 1 deletion doc.md → release-specific/doc.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
layout: doc-index
title: Documentation
permalink: /doc/
permalink: /doc/r4/
redirect_from:
- /doc/
- /en/doc/
- /doc/UserDoc/
- /wiki/UserDoc/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Building Archlinux Template
permalink: /doc/building-archlinux-template/
redirect_from:
- /doc/building-archlinux-template/
- /en/doc/building-archlinux-template/
- /doc/BuildingArchlinuxTemplate/
- /wiki/BuildingArchlinuxTemplate/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Building Non-Fedora Template
permalink: /doc/building-non-fedora-template/
redirect_from:
- /doc/building-non-fedora-template/
- /en/doc/building-non-fedora-template/
- /doc/BuildingNonFedoraTemplate/
- /wiki/BuildingNonFedoraTemplate/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Building Whonix Templates
permalink: /doc/building-whonix-template/
redirect_from:
- /doc/building-whonix-template/
- /en/doc/building-whonix-template/
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
layout: doc
title: Changing your Time Zone
permalink: /doc/change-time-zone/
redirect_from:
- /doc/change-time-zone/
---

# Changing your Time Zone #
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Disk TRIM
permalink: /doc/disk-trim/
redirect_from:
- /doc/disk-trim/
- /en/doc/disk-trim/
- /doc/DiskTRIM/
- /wiki/DiskTRIM/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: External Audio
permalink: /doc/external-audio/
redirect_from:
- /doc/external-audio/
- /en/doc/external-audio/
- /doc/ExternalAudio/
- /wiki/ExternalAudio/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Fetchmail
permalink: /doc/fetchmail/
redirect_from:
- /doc/fetchmail/
- /en/doc/fetchmail/
- /doc/Fetchmail/
- /wiki/Fetchmail/
Expand Down
3 changes: 2 additions & 1 deletion release-specific/external/configuration-guides/multiboot.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
layout: doc
title: Multibooting
permalink: /doc/multiboot/
redirect_from:
- /doc/multiboot/
---

Multibooting Qubes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: How to Make a Multimedia TemplateVM
permalink: /doc/multimedia/
redirect_from:
- /doc/multimedia/
- /en/doc/multimedia/
- /doc/Multimedia/
- /wiki/Multimedia/
Expand Down
2 changes: 1 addition & 1 deletion release-specific/external/configuration-guides/mutt.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: doc
title: Mutt
permalink: /doc/mutt/
redirect_from:
- /doc/mutt/
- /en/doc/mutt/
- /doc/Mutt/
- /wiki/Mutt/
Expand Down
Loading

0 comments on commit c84b1ad

Please sign in to comment.