Skip to content

Commit

Permalink
docs: change documentation domain
Browse files Browse the repository at this point in the history
  • Loading branch information
yoursunny committed Jan 7, 2021
1 parent 0304fae commit b5d96e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion docs/_redirects
Original file line number Diff line number Diff line change
@@ -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!
2 changes: 1 addition & 1 deletion docs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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\ <script>(function(e,t,n,i,s,a,c){e[n]=e[n]||function(){(e[n].q=e[n].q||[]).push(arguments)};a=t.createElement(i);c=t.getElementsByTagName(i)[0];a.async=true;a.src=s;c.parentNode.insertBefore(a,c)})(window,document,"galite","script","https://cdn.jsdelivr.net/npm/ga-lite@2/dist/ga-lite.min.js"); if (location.hostname.endsWith(".yoursunny.cn")) { galite("create", "UA-935676-14", "auto"); galite("send", "pageview"); }</script>'
find html -name '*.html' | xargs sed -i '/<\/head>/ i\ <script>(function(e,t,n,i,s,a,c){e[n]=e[n]||function(){(e[n].q=e[n].q||[]).push(arguments)};a=t.createElement(i);c=t.getElementsByTagName(i)[0];a.async=true;a.src=s;c.parentNode.insertBefore(a,c)})(window,document,"galite","script","https://cdn.jsdelivr.net/npm/ga-lite@2/dist/ga-lite.min.js"); if (location.hostname.endsWith(".yoursunny.dev")) { galite("create", "UA-935676-14", "auto"); galite("send", "pageview"); }</script>'
cp _redirects html/

0 comments on commit b5d96e7

Please sign in to comment.