Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ issue! We're always on the lookout for topics that can add value to Mage-OS DevD
Want to add a new page? Great! Make sure you reference it in the documentation.md which serves as our central
navigation. This ensures everyone can find your valuable addition.

## 🔀 Renaming & Removing Pages

The file name of a page is its address on the website, so renaming or removing a page breaks the links and bookmarks
that point to it. When you rename or remove a page, add a line to `redirects.yml` with the old file name and the page
that covers the topic now, both without `.md`:

```yaml
old-page-name: new-page-name
```

The website then sends visitors of the old address to the new page. Leave a removed page out of the file if no other
page covers its topic.

## 📄 Formatting & Structure

Every document you create should start with a `# Headline` and be followed by a `[TOC]`. This helps in generating the
Expand Down
33 changes: 33 additions & 0 deletions redirects.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Redirects for pages that were removed or renamed.
#
# One redirect per line: "old-page: new-page", both without the .md extension.
#
# The website sends a request for the old page to the new page, as long as no
# page with the old name exists. See "Renaming & Removing Pages" in README.md.

acl: acl_xml
api-reference: overview-of-magento-2-apis
continious-integration-continious-deployment: production-deployment
cron_groups: cron_groups_xml
cron_jobs_xml: crontab_xml
db_schema: db_schema_xml
di: di_xml
diagrams-to-visually-represent-the-architecture: overview-of-the-architectural-components
extension-use-cases: developing-extensions-in-magento-2
extension_attributes: extension_attributes_xml
fieldset: fieldset_xml
how-to-use-and-extend-apis: create-a-web-api-endpoint
indexer: indexer_xml
knockoutjs-integration: ui-components
menu: menu_xml
observers: events
requirejs: javascript-in-magento-2
rest-apis-soap-apis: overview-of-magento-2-apis
routes: routes_xml
soap-apis: overview-of-magento-2-apis
testing-tools: unit-testing
the-magento-application: overview-of-the-architectural-components
the-magento-application-and-service-contracts: service-contracts
web-api: overview-of-magento-2-apis
webapi: webapi_xml
widget: widget_xml