diff --git a/README.md b/README.md index 5518d8fe7b..56954eee9e 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ To install all its package definitions, run: You can browse the generated API documentation directly on Github. - - [Server side Lua APIs](http://htmlpreview.github.io/?http://raw.githubusercontent.com/openwrt/luci/master/documentation/api/index.html) - - [Client side JavaScript APIs](http://htmlpreview.github.io/?http://raw.githubusercontent.com/openwrt/luci/master/documentation/jsapi/index.html) + - [Server side Lua APIs](http://htmlpreview.github.io/?http://raw.githubusercontent.com/openwrt/luci/master/docs/api/index.html) + - [Client side JavaScript APIs](http://htmlpreview.github.io/?http://raw.githubusercontent.com/openwrt/luci/master/docs/jsapi/index.html) ## Development diff --git a/documentation/CBI.md b/docs/CBI.md similarity index 100% rename from documentation/CBI.md rename to docs/CBI.md diff --git a/documentation/JsonRpcHowTo.md b/docs/JsonRpcHowTo.md similarity index 100% rename from documentation/JsonRpcHowTo.md rename to docs/JsonRpcHowTo.md diff --git a/documentation/LAR.md b/docs/LAR.md similarity index 100% rename from documentation/LAR.md rename to docs/LAR.md diff --git a/documentation/LMO.md b/docs/LMO.md similarity index 100% rename from documentation/LMO.md rename to docs/LMO.md diff --git a/documentation/LuCI-0.10.md b/docs/LuCI-0.10.md similarity index 100% rename from documentation/LuCI-0.10.md rename to docs/LuCI-0.10.md diff --git a/documentation/Modules.md b/docs/Modules.md similarity index 100% rename from documentation/Modules.md rename to docs/Modules.md diff --git a/documentation/ModulesHowTo.md b/docs/ModulesHowTo.md similarity index 100% rename from documentation/ModulesHowTo.md rename to docs/ModulesHowTo.md diff --git a/documentation/Templates.md b/docs/Templates.md similarity index 100% rename from documentation/Templates.md rename to docs/Templates.md diff --git a/documentation/ThemesHowTo.md b/docs/ThemesHowTo.md similarity index 100% rename from documentation/ThemesHowTo.md rename to docs/ThemesHowTo.md diff --git a/documentation/api/index.html b/docs/api/index.html similarity index 100% rename from documentation/api/index.html rename to docs/api/index.html diff --git a/documentation/api/luadoc.css b/docs/api/luadoc.css similarity index 100% rename from documentation/api/luadoc.css rename to docs/api/luadoc.css diff --git a/documentation/api/modules/luci.dispatcher.html b/docs/api/modules/luci.dispatcher.html similarity index 100% rename from documentation/api/modules/luci.dispatcher.html rename to docs/api/modules/luci.dispatcher.html diff --git a/documentation/api/modules/luci.http.conditionals.html b/docs/api/modules/luci.http.conditionals.html similarity index 100% rename from documentation/api/modules/luci.http.conditionals.html rename to docs/api/modules/luci.http.conditionals.html diff --git a/documentation/api/modules/luci.http.date.html b/docs/api/modules/luci.http.date.html similarity index 100% rename from documentation/api/modules/luci.http.date.html rename to docs/api/modules/luci.http.date.html diff --git a/documentation/api/modules/luci.http.html b/docs/api/modules/luci.http.html similarity index 100% rename from documentation/api/modules/luci.http.html rename to docs/api/modules/luci.http.html diff --git a/documentation/api/modules/luci.http.mime.html b/docs/api/modules/luci.http.mime.html similarity index 100% rename from documentation/api/modules/luci.http.mime.html rename to docs/api/modules/luci.http.mime.html diff --git a/documentation/api/modules/luci.i18n.html b/docs/api/modules/luci.i18n.html similarity index 100% rename from documentation/api/modules/luci.i18n.html rename to docs/api/modules/luci.i18n.html diff --git a/documentation/api/modules/luci.ip.cidr.html b/docs/api/modules/luci.ip.cidr.html similarity index 100% rename from documentation/api/modules/luci.ip.cidr.html rename to docs/api/modules/luci.ip.cidr.html diff --git a/documentation/api/modules/luci.ip.html b/docs/api/modules/luci.ip.html similarity index 100% rename from documentation/api/modules/luci.ip.html rename to docs/api/modules/luci.ip.html diff --git a/documentation/api/modules/luci.json.html b/docs/api/modules/luci.json.html similarity index 100% rename from documentation/api/modules/luci.json.html rename to docs/api/modules/luci.json.html diff --git a/documentation/api/modules/luci.jsonc.html b/docs/api/modules/luci.jsonc.html similarity index 100% rename from documentation/api/modules/luci.jsonc.html rename to docs/api/modules/luci.jsonc.html diff --git a/documentation/api/modules/luci.jsonc.parser.html b/docs/api/modules/luci.jsonc.parser.html similarity index 100% rename from documentation/api/modules/luci.jsonc.parser.html rename to docs/api/modules/luci.jsonc.parser.html diff --git a/documentation/api/modules/luci.model.ipkg.html b/docs/api/modules/luci.model.ipkg.html similarity index 100% rename from documentation/api/modules/luci.model.ipkg.html rename to docs/api/modules/luci.model.ipkg.html diff --git a/documentation/api/modules/luci.model.uci.html b/docs/api/modules/luci.model.uci.html similarity index 100% rename from documentation/api/modules/luci.model.uci.html rename to docs/api/modules/luci.model.uci.html diff --git a/documentation/api/modules/luci.rpcc.html b/docs/api/modules/luci.rpcc.html similarity index 100% rename from documentation/api/modules/luci.rpcc.html rename to docs/api/modules/luci.rpcc.html diff --git a/documentation/api/modules/luci.rpcc.ruci.html b/docs/api/modules/luci.rpcc.ruci.html similarity index 100% rename from documentation/api/modules/luci.rpcc.ruci.html rename to docs/api/modules/luci.rpcc.ruci.html diff --git a/documentation/api/modules/luci.sys.html b/docs/api/modules/luci.sys.html similarity index 100% rename from documentation/api/modules/luci.sys.html rename to docs/api/modules/luci.sys.html diff --git a/documentation/api/modules/luci.sys.init.html b/docs/api/modules/luci.sys.init.html similarity index 100% rename from documentation/api/modules/luci.sys.init.html rename to docs/api/modules/luci.sys.init.html diff --git a/documentation/api/modules/luci.sys.iptparser.html b/docs/api/modules/luci.sys.iptparser.html similarity index 100% rename from documentation/api/modules/luci.sys.iptparser.html rename to docs/api/modules/luci.sys.iptparser.html diff --git a/documentation/api/modules/luci.sys.net.html b/docs/api/modules/luci.sys.net.html similarity index 100% rename from documentation/api/modules/luci.sys.net.html rename to docs/api/modules/luci.sys.net.html diff --git a/documentation/api/modules/luci.sys.process.html b/docs/api/modules/luci.sys.process.html similarity index 100% rename from documentation/api/modules/luci.sys.process.html rename to docs/api/modules/luci.sys.process.html diff --git a/documentation/api/modules/luci.sys.user.html b/docs/api/modules/luci.sys.user.html similarity index 100% rename from documentation/api/modules/luci.sys.user.html rename to docs/api/modules/luci.sys.user.html diff --git a/documentation/api/modules/luci.sys.wifi.html b/docs/api/modules/luci.sys.wifi.html similarity index 100% rename from documentation/api/modules/luci.sys.wifi.html rename to docs/api/modules/luci.sys.wifi.html diff --git a/documentation/api/modules/luci.util.html b/docs/api/modules/luci.util.html similarity index 100% rename from documentation/api/modules/luci.util.html rename to docs/api/modules/luci.util.html diff --git a/documentation/api/modules/nixio.CHANGELOG.html b/docs/api/modules/nixio.CHANGELOG.html similarity index 100% rename from documentation/api/modules/nixio.CHANGELOG.html rename to docs/api/modules/nixio.CHANGELOG.html diff --git a/documentation/api/modules/nixio.CryptoHash.html b/docs/api/modules/nixio.CryptoHash.html similarity index 100% rename from documentation/api/modules/nixio.CryptoHash.html rename to docs/api/modules/nixio.CryptoHash.html diff --git a/documentation/api/modules/nixio.File.html b/docs/api/modules/nixio.File.html similarity index 100% rename from documentation/api/modules/nixio.File.html rename to docs/api/modules/nixio.File.html diff --git a/documentation/api/modules/nixio.README.html b/docs/api/modules/nixio.README.html similarity index 100% rename from documentation/api/modules/nixio.README.html rename to docs/api/modules/nixio.README.html diff --git a/documentation/api/modules/nixio.Socket.html b/docs/api/modules/nixio.Socket.html similarity index 100% rename from documentation/api/modules/nixio.Socket.html rename to docs/api/modules/nixio.Socket.html diff --git a/documentation/api/modules/nixio.TLSContext.html b/docs/api/modules/nixio.TLSContext.html similarity index 100% rename from documentation/api/modules/nixio.TLSContext.html rename to docs/api/modules/nixio.TLSContext.html diff --git a/documentation/api/modules/nixio.TLSSocket.html b/docs/api/modules/nixio.TLSSocket.html similarity index 100% rename from documentation/api/modules/nixio.TLSSocket.html rename to docs/api/modules/nixio.TLSSocket.html diff --git a/documentation/api/modules/nixio.UnifiedIO.html b/docs/api/modules/nixio.UnifiedIO.html similarity index 100% rename from documentation/api/modules/nixio.UnifiedIO.html rename to docs/api/modules/nixio.UnifiedIO.html diff --git a/documentation/api/modules/nixio.bin.html b/docs/api/modules/nixio.bin.html similarity index 100% rename from documentation/api/modules/nixio.bin.html rename to docs/api/modules/nixio.bin.html diff --git a/documentation/api/modules/nixio.bit.html b/docs/api/modules/nixio.bit.html similarity index 100% rename from documentation/api/modules/nixio.bit.html rename to docs/api/modules/nixio.bit.html diff --git a/documentation/api/modules/nixio.crypto.html b/docs/api/modules/nixio.crypto.html similarity index 100% rename from documentation/api/modules/nixio.crypto.html rename to docs/api/modules/nixio.crypto.html diff --git a/documentation/api/modules/nixio.fs.html b/docs/api/modules/nixio.fs.html similarity index 100% rename from documentation/api/modules/nixio.fs.html rename to docs/api/modules/nixio.fs.html diff --git a/documentation/api/modules/nixio.html b/docs/api/modules/nixio.html similarity index 100% rename from documentation/api/modules/nixio.html rename to docs/api/modules/nixio.html diff --git a/documentation/i18n.md b/docs/i18n.md similarity index 100% rename from documentation/i18n.md rename to docs/i18n.md diff --git a/documentation/jsapi/LuCI.Class.html b/docs/jsapi/LuCI.Class.html similarity index 100% rename from documentation/jsapi/LuCI.Class.html rename to docs/jsapi/LuCI.Class.html diff --git a/documentation/jsapi/LuCI.Headers.html b/docs/jsapi/LuCI.Headers.html similarity index 100% rename from documentation/jsapi/LuCI.Headers.html rename to docs/jsapi/LuCI.Headers.html diff --git a/documentation/jsapi/LuCI.Network.Device.html b/docs/jsapi/LuCI.Network.Device.html similarity index 100% rename from documentation/jsapi/LuCI.Network.Device.html rename to docs/jsapi/LuCI.Network.Device.html diff --git a/documentation/jsapi/LuCI.Network.Hosts.html b/docs/jsapi/LuCI.Network.Hosts.html similarity index 100% rename from documentation/jsapi/LuCI.Network.Hosts.html rename to docs/jsapi/LuCI.Network.Hosts.html diff --git a/documentation/jsapi/LuCI.Network.Protocol.html b/docs/jsapi/LuCI.Network.Protocol.html similarity index 100% rename from documentation/jsapi/LuCI.Network.Protocol.html rename to docs/jsapi/LuCI.Network.Protocol.html diff --git a/documentation/jsapi/LuCI.Network.WifiDevice.html b/docs/jsapi/LuCI.Network.WifiDevice.html similarity index 100% rename from documentation/jsapi/LuCI.Network.WifiDevice.html rename to docs/jsapi/LuCI.Network.WifiDevice.html diff --git a/documentation/jsapi/LuCI.Network.WifiNetwork.html b/docs/jsapi/LuCI.Network.WifiNetwork.html similarity index 100% rename from documentation/jsapi/LuCI.Network.WifiNetwork.html rename to docs/jsapi/LuCI.Network.WifiNetwork.html diff --git a/documentation/jsapi/LuCI.Network.html b/docs/jsapi/LuCI.Network.html similarity index 100% rename from documentation/jsapi/LuCI.Network.html rename to docs/jsapi/LuCI.Network.html diff --git a/documentation/jsapi/LuCI.Poll.html b/docs/jsapi/LuCI.Poll.html similarity index 100% rename from documentation/jsapi/LuCI.Poll.html rename to docs/jsapi/LuCI.Poll.html diff --git a/documentation/jsapi/LuCI.Request.html b/docs/jsapi/LuCI.Request.html similarity index 100% rename from documentation/jsapi/LuCI.Request.html rename to docs/jsapi/LuCI.Request.html diff --git a/documentation/jsapi/LuCI.Request.poll.html b/docs/jsapi/LuCI.Request.poll.html similarity index 100% rename from documentation/jsapi/LuCI.Request.poll.html rename to docs/jsapi/LuCI.Request.poll.html diff --git a/documentation/jsapi/LuCI.Response.html b/docs/jsapi/LuCI.Response.html similarity index 100% rename from documentation/jsapi/LuCI.Response.html rename to docs/jsapi/LuCI.Response.html diff --git a/documentation/jsapi/LuCI.XHR.html b/docs/jsapi/LuCI.XHR.html similarity index 100% rename from documentation/jsapi/LuCI.XHR.html rename to docs/jsapi/LuCI.XHR.html diff --git a/documentation/jsapi/LuCI.dom.html b/docs/jsapi/LuCI.dom.html similarity index 100% rename from documentation/jsapi/LuCI.dom.html rename to docs/jsapi/LuCI.dom.html diff --git a/documentation/jsapi/LuCI.fs.html b/docs/jsapi/LuCI.fs.html similarity index 100% rename from documentation/jsapi/LuCI.fs.html rename to docs/jsapi/LuCI.fs.html diff --git a/documentation/jsapi/LuCI.html b/docs/jsapi/LuCI.html similarity index 100% rename from documentation/jsapi/LuCI.html rename to docs/jsapi/LuCI.html diff --git a/documentation/jsapi/LuCI.rpc.html b/docs/jsapi/LuCI.rpc.html similarity index 100% rename from documentation/jsapi/LuCI.rpc.html rename to docs/jsapi/LuCI.rpc.html diff --git a/documentation/jsapi/LuCI.uci.html b/docs/jsapi/LuCI.uci.html similarity index 100% rename from documentation/jsapi/LuCI.uci.html rename to docs/jsapi/LuCI.uci.html diff --git a/documentation/jsapi/LuCI.view.html b/docs/jsapi/LuCI.view.html similarity index 100% rename from documentation/jsapi/LuCI.view.html rename to docs/jsapi/LuCI.view.html diff --git a/documentation/jsapi/fonts/OpenSans-Bold-webfont.eot b/docs/jsapi/fonts/OpenSans-Bold-webfont.eot similarity index 100% rename from documentation/jsapi/fonts/OpenSans-Bold-webfont.eot rename to docs/jsapi/fonts/OpenSans-Bold-webfont.eot diff --git a/documentation/jsapi/fonts/OpenSans-Bold-webfont.svg b/docs/jsapi/fonts/OpenSans-Bold-webfont.svg similarity index 100% rename from documentation/jsapi/fonts/OpenSans-Bold-webfont.svg rename to docs/jsapi/fonts/OpenSans-Bold-webfont.svg diff --git a/documentation/jsapi/fonts/OpenSans-Bold-webfont.woff b/docs/jsapi/fonts/OpenSans-Bold-webfont.woff similarity index 100% rename from documentation/jsapi/fonts/OpenSans-Bold-webfont.woff rename to docs/jsapi/fonts/OpenSans-Bold-webfont.woff diff --git a/documentation/jsapi/fonts/OpenSans-BoldItalic-webfont.eot b/docs/jsapi/fonts/OpenSans-BoldItalic-webfont.eot similarity index 100% rename from documentation/jsapi/fonts/OpenSans-BoldItalic-webfont.eot rename to docs/jsapi/fonts/OpenSans-BoldItalic-webfont.eot diff --git a/documentation/jsapi/fonts/OpenSans-BoldItalic-webfont.svg b/docs/jsapi/fonts/OpenSans-BoldItalic-webfont.svg similarity index 100% rename from documentation/jsapi/fonts/OpenSans-BoldItalic-webfont.svg rename to docs/jsapi/fonts/OpenSans-BoldItalic-webfont.svg diff --git a/documentation/jsapi/fonts/OpenSans-BoldItalic-webfont.woff b/docs/jsapi/fonts/OpenSans-BoldItalic-webfont.woff similarity index 100% rename from documentation/jsapi/fonts/OpenSans-BoldItalic-webfont.woff rename to docs/jsapi/fonts/OpenSans-BoldItalic-webfont.woff diff --git a/documentation/jsapi/fonts/OpenSans-Italic-webfont.eot b/docs/jsapi/fonts/OpenSans-Italic-webfont.eot similarity index 100% rename from documentation/jsapi/fonts/OpenSans-Italic-webfont.eot rename to docs/jsapi/fonts/OpenSans-Italic-webfont.eot diff --git a/documentation/jsapi/fonts/OpenSans-Italic-webfont.svg b/docs/jsapi/fonts/OpenSans-Italic-webfont.svg similarity index 100% rename from documentation/jsapi/fonts/OpenSans-Italic-webfont.svg rename to docs/jsapi/fonts/OpenSans-Italic-webfont.svg diff --git a/documentation/jsapi/fonts/OpenSans-Italic-webfont.woff b/docs/jsapi/fonts/OpenSans-Italic-webfont.woff similarity index 100% rename from documentation/jsapi/fonts/OpenSans-Italic-webfont.woff rename to docs/jsapi/fonts/OpenSans-Italic-webfont.woff diff --git a/documentation/jsapi/fonts/OpenSans-Light-webfont.eot b/docs/jsapi/fonts/OpenSans-Light-webfont.eot similarity index 100% rename from documentation/jsapi/fonts/OpenSans-Light-webfont.eot rename to docs/jsapi/fonts/OpenSans-Light-webfont.eot diff --git a/documentation/jsapi/fonts/OpenSans-Light-webfont.svg b/docs/jsapi/fonts/OpenSans-Light-webfont.svg similarity index 100% rename from documentation/jsapi/fonts/OpenSans-Light-webfont.svg rename to docs/jsapi/fonts/OpenSans-Light-webfont.svg diff --git a/documentation/jsapi/fonts/OpenSans-Light-webfont.woff b/docs/jsapi/fonts/OpenSans-Light-webfont.woff similarity index 100% rename from documentation/jsapi/fonts/OpenSans-Light-webfont.woff rename to docs/jsapi/fonts/OpenSans-Light-webfont.woff diff --git a/documentation/jsapi/fonts/OpenSans-LightItalic-webfont.eot b/docs/jsapi/fonts/OpenSans-LightItalic-webfont.eot similarity index 100% rename from documentation/jsapi/fonts/OpenSans-LightItalic-webfont.eot rename to docs/jsapi/fonts/OpenSans-LightItalic-webfont.eot diff --git a/documentation/jsapi/fonts/OpenSans-LightItalic-webfont.svg b/docs/jsapi/fonts/OpenSans-LightItalic-webfont.svg similarity index 100% rename from documentation/jsapi/fonts/OpenSans-LightItalic-webfont.svg rename to docs/jsapi/fonts/OpenSans-LightItalic-webfont.svg diff --git a/documentation/jsapi/fonts/OpenSans-LightItalic-webfont.woff b/docs/jsapi/fonts/OpenSans-LightItalic-webfont.woff similarity index 100% rename from documentation/jsapi/fonts/OpenSans-LightItalic-webfont.woff rename to docs/jsapi/fonts/OpenSans-LightItalic-webfont.woff diff --git a/documentation/jsapi/fonts/OpenSans-Regular-webfont.eot b/docs/jsapi/fonts/OpenSans-Regular-webfont.eot similarity index 100% rename from documentation/jsapi/fonts/OpenSans-Regular-webfont.eot rename to docs/jsapi/fonts/OpenSans-Regular-webfont.eot diff --git a/documentation/jsapi/fonts/OpenSans-Regular-webfont.svg b/docs/jsapi/fonts/OpenSans-Regular-webfont.svg similarity index 100% rename from documentation/jsapi/fonts/OpenSans-Regular-webfont.svg rename to docs/jsapi/fonts/OpenSans-Regular-webfont.svg diff --git a/documentation/jsapi/fonts/OpenSans-Regular-webfont.woff b/docs/jsapi/fonts/OpenSans-Regular-webfont.woff similarity index 100% rename from documentation/jsapi/fonts/OpenSans-Regular-webfont.woff rename to docs/jsapi/fonts/OpenSans-Regular-webfont.woff diff --git a/documentation/jsapi/fs.js.html b/docs/jsapi/fs.js.html similarity index 100% rename from documentation/jsapi/fs.js.html rename to docs/jsapi/fs.js.html diff --git a/documentation/jsapi/index.html b/docs/jsapi/index.html similarity index 100% rename from documentation/jsapi/index.html rename to docs/jsapi/index.html diff --git a/documentation/jsapi/luci.js.html b/docs/jsapi/luci.js.html similarity index 100% rename from documentation/jsapi/luci.js.html rename to docs/jsapi/luci.js.html diff --git a/documentation/jsapi/network.js.html b/docs/jsapi/network.js.html similarity index 100% rename from documentation/jsapi/network.js.html rename to docs/jsapi/network.js.html diff --git a/documentation/jsapi/rpc.js.html b/docs/jsapi/rpc.js.html similarity index 100% rename from documentation/jsapi/rpc.js.html rename to docs/jsapi/rpc.js.html diff --git a/documentation/jsapi/scripts/linenumber.js b/docs/jsapi/scripts/linenumber.js similarity index 100% rename from documentation/jsapi/scripts/linenumber.js rename to docs/jsapi/scripts/linenumber.js diff --git a/documentation/jsapi/scripts/prettify/Apache-License-2.0.txt b/docs/jsapi/scripts/prettify/Apache-License-2.0.txt similarity index 100% rename from documentation/jsapi/scripts/prettify/Apache-License-2.0.txt rename to docs/jsapi/scripts/prettify/Apache-License-2.0.txt diff --git a/documentation/jsapi/scripts/prettify/lang-css.js b/docs/jsapi/scripts/prettify/lang-css.js similarity index 100% rename from documentation/jsapi/scripts/prettify/lang-css.js rename to docs/jsapi/scripts/prettify/lang-css.js diff --git a/documentation/jsapi/scripts/prettify/prettify.js b/docs/jsapi/scripts/prettify/prettify.js similarity index 100% rename from documentation/jsapi/scripts/prettify/prettify.js rename to docs/jsapi/scripts/prettify/prettify.js diff --git a/documentation/jsapi/styles/jsdoc-default.css b/docs/jsapi/styles/jsdoc-default.css similarity index 100% rename from documentation/jsapi/styles/jsdoc-default.css rename to docs/jsapi/styles/jsdoc-default.css diff --git a/documentation/jsapi/styles/prettify-jsdoc.css b/docs/jsapi/styles/prettify-jsdoc.css similarity index 100% rename from documentation/jsapi/styles/prettify-jsdoc.css rename to docs/jsapi/styles/prettify-jsdoc.css diff --git a/documentation/jsapi/styles/prettify-tomorrow.css b/docs/jsapi/styles/prettify-tomorrow.css similarity index 100% rename from documentation/jsapi/styles/prettify-tomorrow.css rename to docs/jsapi/styles/prettify-tomorrow.css diff --git a/documentation/jsapi/uci.js.html b/docs/jsapi/uci.js.html similarity index 100% rename from documentation/jsapi/uci.js.html rename to docs/jsapi/uci.js.html