diff --git a/docs/.nojekyll b/docs/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/docs/CNAME b/docs/CNAME new file mode 100644 index 0000000..c9cd0c1 --- /dev/null +++ b/docs/CNAME @@ -0,0 +1 @@ +wiot.eee.dog \ No newline at end of file diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..6716a60 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,2 @@ +## Ushio - 分布式信息支持系统 + diff --git a/docs/config.js b/docs/config.js new file mode 100644 index 0000000..d702fbe --- /dev/null +++ b/docs/config.js @@ -0,0 +1,71 @@ +const langs = [ + { title: '简体中文', path: '/home', matchPath: /^\/(home|ecosystem|support)/ }, + { title: 'English', path: '/en/', matchPath: /^\/en/ }, +]; + +docute.init({ + landing: 'landing.html', + title: 'Ushio', + repo: 'iotcat/ushio', + twitter: 'iotcat', + 'edit-link': 'https://github.com/IoTcat/ushio/blob/master/docs/', + nav: { + default: [ + { + title: 'Home', path: '/home' + }, + { + title: 'Ecosystem', path: '/ecosystem' + }, + { + title: 'Support wIoT', path: '/support' + }, + { + title: 'Languages', type: 'dropdown', items: langs + } + ], + 'zh-Hans': [ + { + title: '首页', path: '/en/' + }, + { + title: '生态', path: '/en/ecosystem' + }, + { + title: '支持 Ushio', path: '/en/support' + }, + { + title: '选择语言', type: 'dropdown', items: langs + } + ], + }, + plugins: [ + docsearch({ + apiKey: '46a8ba306e368972c1d75feb581fb430', + indexName: 'ushio', + tags: ['english', 'zh-Hans'], + url: 'https://ushio.yimian.xyz' + }), + evanyou() + ] +}); + +function loadScript (src, callback) { + let s, + r, + t; + r = false; + s = document.createElement('script'); + s.type = 'text/javascript'; + s.src = src; + s.onload = s.onreadystatechange = function () { + // console.log( this.readyState ); //uncomment this line to see which ready states are called. + if (!r && (!this.readyState || this.readyState == 'complete')) + { + r = true; + callback(); + } + }; + t = document.getElementsByTagName('script')[0]; + t.parentNode.insertBefore(s, t); +} \ No newline at end of file diff --git a/docs/ecosystem.md b/docs/ecosystem.md new file mode 100644 index 0000000..3fd102b --- /dev/null +++ b/docs/ecosystem.md @@ -0,0 +1,23 @@ +--- +search: english +--- + +# Ecosystem + +Let's make Ushio better, feel free to submit yours in [`Let me know!`](https://github.com/IoTcat/Ushio/issues/1) + +## Help + +### Joining the Discussion + +- [Telegram Group](https://t.me/wiott) + +### Creating issue + +- [iotcat/ushio/issues](https://github.com/iotcat/ushio/issues) + + +## Contributors + +This project exists thanks to all the people who contribute. + diff --git a/docs/en/README.md b/docs/en/README.md new file mode 100644 index 0000000..c368984 --- /dev/null +++ b/docs/en/README.md @@ -0,0 +1 @@ +# Ushio - Distributed Information Support System \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..f82bcff --- /dev/null +++ b/docs/index.html @@ -0,0 +1,35 @@ + + + + + + + wIoT | Free IoT + + + + + + + + +
+ + + + + + + + diff --git a/docs/landing.html b/docs/landing.html new file mode 100644 index 0000000..dfc5514 --- /dev/null +++ b/docs/landing.html @@ -0,0 +1,80 @@ +

Ushio

+

+

🍭 Amazing Distrubuted Support System.

+ + +
+ + GitHub + + + + Docs + +
+ + \ No newline at end of file diff --git a/docs/support.md b/docs/support.md new file mode 100644 index 0000000..5cdbf2f --- /dev/null +++ b/docs/support.md @@ -0,0 +1,27 @@ +--- +search: english +--- + +# Sponsor Ushio Development + +Ushio is an Apache licensed partially open-source project and completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing. + +If you run a business and are using some tools or APIs in a revenue-generating product, it makes business sense to sponsor Ushio development: it ensures the project that your product relies on stays healthy and actively maintained. + +If you are an individual user and have enjoyed the productivity of using Ushio, consider donating as a sign of appreciation - like buying me coffee once in a while :) + +You can support Ushio development via the following methods: + +## One-time Donations + +We accept donations through these channels: + +- [Paypal](https://www.paypal.me/iotcat) +- [Alipay / WeChat Pay](https://cdn.yimian.xyz/yimian.pay/qrcode/3to1.png) +- Bitcoin: 1MRAfEXsHTVYH8bHQ3J4fos3zs7Zj6oKWh + + + +## Ushio contributors + +This project exists thanks to all the people who contribute.