From b5d96e75a65504b1302a42c17634493f7e90fddb Mon Sep 17 00:00:00 2001 From: Junxiao Shi Date: Thu, 7 Jan 2021 00:14:48 -0500 Subject: [PATCH] docs: change documentation domain --- README.md | 2 +- docs/_redirects | 3 ++- docs/build.sh | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1415653..493088c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ **WifiEspNow** is an Arduino library for ESP-NOW, a connectionless WiFi communication protocol defined by Espressif. Refer to [ESP-NOW reference](https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/network/esp_now.html) for more information about how ESP-NOW works and its limitations. -* [Doxygen documentation](https://wifiespnow.yoursunny.cn/) +* [Doxygen documentation](https://wifiespnow.yoursunny.dev/) ## Features diff --git a/docs/_redirects b/docs/_redirects index a7a0ef3..6ef0d89 100644 --- a/docs/_redirects +++ b/docs/_redirects @@ -1 +1,2 @@ -https://wifiespnow.netlify.app/* https://wifiespnow.yoursunny.cn/:splat 301! +https://wifiespnow.netlify.app/* https://wifiespnow.yoursunny.dev/:splat 301! +https://wifiespnow.yoursunny.cn/* https://wifiespnow.yoursunny.dev/:splat 301! diff --git a/docs/build.sh b/docs/build.sh index 1d94804..e352d84 100755 --- a/docs/build.sh +++ b/docs/build.sh @@ -4,5 +4,5 @@ cd "$( dirname "${BASH_SOURCE[0]}" )" doxygen Doxyfile 2>&1 | ./filter-Doxygen-warning.awk 1>&2 -find html -name '*.html' | xargs sed -i '/<\/head>/ i\ ' +find html -name '*.html' | xargs sed -i '/<\/head>/ i\ ' cp _redirects html/