# Redirects from "old URL" "new URL"
#
# Space delimited
#
# The old URL must be relative to the document root only and MUST NOT contain the file extension
#
# The new URL can either be an absolute URL or a relative URL
#   - For absolute URLs, the URL must be wrapped in double quotation marks. Whatever is inside the quotation marks is
#     used verbatim as the URL. Don't forget to add the "http://" or "https://" prefix to your absolute URL.
#   - For relative URLs, must be relative to the document root only and MUST NOT be wrapped with any quotation marks.
#
# Empty lines and lines starting with # are ignored

api-reference/ethernet/index                    api-reference/network/index
api-reference/ethernet/esp_eth                  api-reference/network/esp_eth
api-reference/mesh/index                        api-reference/network/index
api-reference/mesh/esp_mesh                     api-reference/network/esp_mesh
api-reference/peripherals/can                   api-reference/peripherals/twai
api-reference/peripherals/usb                   api-reference/peripherals/usb_device
api-reference/wifi/index                        api-reference/network/index
api-reference/wifi/esp_now                      api-reference/network/esp_now
api-reference/wifi/esp_smartconfig              api-reference/network/esp_smartconfig
api-reference/wifi/esp_wifi                     api-reference/network/esp_wifi
api-reference/system/tcpip_adapter              migration-guides/tcpip-adapter
api-reference/system/esp_pthread                api-reference/system/pthread
api-reference/storage/spi_flash                 api-reference/peripherals/spi_flash/index
api-reference/storage/spi_flash_concurrency     api-reference/peripherals/spi_flash/spi_flash_concurrency
api-reference/storage/spi_flash_override_driver api-reference/peripherals/spi_flash/spi_flash_override_driver
api-reference/storage/spi_flash_optional_feature    api-reference/peripherals/spi_flash/spi_flash_optional_feature
api-reference/peripherals/adc_oneshot     /api-reference/peripherals/adc/adc_oneshot
api-reference/peripherals/adc_continuous     api-reference/peripherals/adc/adc_continuous
api-reference/peripherals/adc_calibration     api-reference/peripherals/adc/adc_calibration
api-reference/peripherals/adc     api-reference/peripherals/adc/index
api-reference/peripherals/lcd     api-reference/peripherals/lcd/index


get-started/idf-monitor                         api-guides/tools/idf-monitor
get-started-cmake/idf-monitor                   api-guides/tools/idf-monitor
get-started/get-started-devkitc                 hw-reference/esp32/get-started-devkitc
get-started/get-started-devkitc-v2              hw-reference/esp32/get-started-devkitc-v2
get-started/get-started-wrover-kit              hw-reference/esp32/get-started-wrover-kit
get-started/get-started-wrover-kit-v2           hw-reference/esp32/get-started-wrover-kit-v2
get-started/get-started-wrover-kit-v3           hw-reference/esp32/get-started-wrover-kit-v3
get-started/get-started-pico-kit                hw-reference/esp32/get-started-pico-kit
get-started/get-started-pico-kit-v3             hw-reference/esp32/get-started-pico-kit-v3

# The preview 'get-started-cmake' guides are now 'get-started'
get-started-cmake                               get-started
get-started-cmake/add-idf_path-to-profile       get-started/add-idf_path-to-profile
get-started-cmake/eclipse-setup                 get-started/eclipse-setup
get-started-cmake/establish-serial-connection   get-started/establish-serial-connection
get-started-cmake/index                         get-started/index
get-started-cmake/linux-setup                   get-started/linux-setup
get-started-cmake/linux-setup-scratch           get-started/linux-setup-scratch
get-started-cmake/macos-setup                   get-started/macos-setup
get-started-cmake/macos-setup-scratch           get-started/macos-setup-scratch
get-started-cmake/toolchain-setup-scratch       get-started/toolchain-setup-scratch
get-started-cmake/windows-setup                 get-started/windows-setup
get-started-cmake/windows-setup-scratch         get-started/windows-setup-scratch
get-started-cmake/get-started-devkitc           hw-reference/esp32/get-started-devkitc
get-started-cmake/get-started-devkitc-v2        hw-reference/esp32/get-started-devkitc-v2
get-started-cmake/get-started-wrover-kit        hw-reference/esp32/get-started-wrover-kit
get-started-cmake/get-started-wrover-kit-v2     hw-reference/esp32/get-started-wrover-kit-v2
get-started-cmake/get-started-wrover-kit-v3     hw-reference/esp32/get-started-wrover-kit-v3
get-started-cmake/get-started-pico-kit          hw-reference/esp32/get-started-pico-kit
get-started-cmake/get-started-pico-kit-v3       hw-reference/esp32/get-started-pico-kit-v3

api-guides/build-system-cmake                   api-guides/build-system
api-guides/freertos-smp                         api-reference/system/freertos_idf
api-guides/ulp-cmake                            api-guides/ulp
api-guides/unit-tests-cmake                     api-guides/unit-tests
api-guides/ulp_instruction_set                  api-reference/system/ulp_instruction_set
api-guides/ulps2_instruction_set                api-reference/system/ulp_instruction_set
api-guides/ulp_macros                           api-reference/system/ulp_macros
api-guides/ulp-risc-v                           api-reference/system/ulp-risc-v
api-guides/console                              api-reference/system/console
api-guides/event-handling                       api-reference/system/esp_event

api-reference/network/tcpip_adapter             migration-guides/tcpip-adapter
api-reference/system/system                     api-reference/system/misc_system_api
api-reference/protocols/esp_spi_slave_protocol  "https://espressif.github.io/idf-extra-components/latest/esp_serial_slave_link/spi_slave_hd_protocol.html"
api-reference/protocols/esp_sdio_slave_protocol "https://espressif.github.io/idf-extra-components/latest/esp_serial_slave_link/sdio_slave_protocol.html"
api-reference/protocols/esp_serial_slave_link   "https://espressif.github.io/idf-extra-components/latest/esp_serial_slave_link/index.html"
api-reference/peripherals/touch_element         "https://espressif.github.io/idf-extra-components/latest/touch_element/index.html"

# Driver-NG refactor
api-reference/peripherals/timer                 api-reference/peripherals/gptimer
api-reference/peripherals/sigmadelta            api-reference/peripherals/sdm

# The 'secure boot' guides are now 'secure boot v1' guides
security/secure-boot                           security/secure-boot-v1
security/host-based-security-workflows         security/security-features-enablement-workflows

# Since ESP32-S2, hw-reference URLs are now namespaced by chip
hw-reference/get-started-devkitc                hw-reference/esp32/get-started-devkitc
hw-reference/get-started-devkitc-v2             hw-reference/esp32/get-started-devkitc-v2
hw-reference/get-started-wrover-kit             hw-reference/esp32/get-started-wrover-kit
hw-reference/get-started-wrover-kit-v2          hw-reference/esp32/get-started-wrover-kit-v2
hw-reference/get-started-wrover-kit-v3          hw-reference/esp32/get-started-wrover-kit-v3
hw-reference/get-started-pico-kit               hw-reference/esp32/get-started-pico-kit
hw-reference/get-started-pico-kit-v3            hw-reference/esp32/get-started-pico-kit-v3
hw-reference/get-started-ethernet-kit-v1.0      hw-reference/esp32/get-started-ethernet-kit-v1.0
hw-reference/get-started-ethernet-kit           hw-reference/esp32/get-started-ethernet-kit
hw-reference/esp32s2/usermacos-setup_mesh       api-reference/network/esp-wifi-mesh
# The 'chip series comparison' is merged into 'esp product selector'
hw-reference/chip-series-comparison             "https://products.espressif.com/#/product-comparison"

# Getting Started
get-started/macos-setup                         get-started/linux-macos-setup
get-started/linux-setup                         get-started/linux-macos-setup
get-started/windows-setup-scratch               get-started/windows-setup
get-started/linux-setup-scratch                 get-started/linux-macos-setup
get-started/macos-setup-scratch                 get-started/linux-macos-setup
get-started/toolchain-setup-scratch             get-started/index
get-started/eclipse-setup                       get-started/index
get-started/vscode-setup                        get-started/index

# Kconfig documentation got pretty serious file structure changes
api-reference/kconfig                          api-reference/kconfig-reference
