update omis docs

This commit is contained in:
dntzhang 2019-07-22 16:27:18 +08:00
parent c4a8278823
commit cb5c5c5c97
9 changed files with 15 additions and 15 deletions

View File

@ -2,7 +2,7 @@ const config = {
menus: {
'zh-cn': [
{
title: 'Omi',
title: 'Omis',
list: [
{ name: '简介', md: 'introduction' },
{ name: '安装', md: 'installation' }
@ -23,7 +23,7 @@ const config = {
],
en: [
{
title: 'Omi',
title: 'Omis',
list: [
{ name: 'Introduction', md: 'introduction' },
{ name: 'Installation', md: 'installation' }

View File

@ -1,12 +1,12 @@
{
"cn.css": "static/css/cn.4dd07f49.css",
"cn.css.map": "static/css/cn.4dd07f49.css.map",
"cn.js": "static/js/cn.86ecaa1b.js",
"cn.js.map": "static/js/cn.86ecaa1b.js.map",
"cn.js": "static/js/cn.012c6df7.js",
"cn.js.map": "static/js/cn.012c6df7.js.map",
"index.css": "static/css/index.4dd07f49.css",
"index.css.map": "static/css/index.4dd07f49.css.map",
"index.js": "static/js/index.c342e303.js",
"index.js.map": "static/js/index.c342e303.js.map",
"index.js": "static/js/index.7e68da19.js",
"index.js.map": "static/js/index.7e68da19.js.map",
"static/js/0.562b04d5.chunk.js": "static/js/0.562b04d5.chunk.js",
"static/js/0.562b04d5.chunk.js.map": "static/js/0.562b04d5.chunk.js.map",
"static/js/1.c601f4e5.chunk.js": "static/js/1.c601f4e5.chunk.js",

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omi - Next Front End Framework</title><link href="./static/css/cn.4dd07f49.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/cn.86ecaa1b.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omi - Next Front End Framework</title><link href="./static/css/cn.4dd07f49.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/cn.012c6df7.js"></script></body></html>

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omi - Next Front End Framework</title><link href="./static/css/index.4dd07f49.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/index.c342e303.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omi - Next Front End Framework</title><link href="./static/css/index.4dd07f49.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/index.7e68da19.js"></script></body></html>

View File

@ -1 +1 @@
"use strict";var precacheConfig=[["./cn.html","1fbc0bfe84078a5a491de82fb5aeadf5"],["./index.html","cebf53881d65176a2f3b165a12be5abc"],["./static/css/cn.4dd07f49.css","476d16186dc05ff3faa0a5d4dc9ac72c"],["./static/css/index.4dd07f49.css","9ad340cc60e8fed0f9856b562708144e"],["./static/js/0.562b04d5.chunk.js","0b5ba46ab04d4ea25e7a8ab932a72bd3"],["./static/js/1.c601f4e5.chunk.js","979fdd76ff1a99676e21cd2c0ebe1ace"],["./static/js/10.1cf15716.chunk.js","9a37f9aac6ae384d5716796004db9443"],["./static/js/11.61d18500.chunk.js","58f727718eaeef33960cac6bc7e8fef1"],["./static/js/12.6358c19b.chunk.js","2b084c0d7a4e3037c111f8e2028f4492"],["./static/js/13.cbe9d912.chunk.js","83819360b3f2cb3c1d2866db8bfed391"],["./static/js/14.5b1e373f.chunk.js","a0f9bf6fd6a235a64e1bab1979aa0844"],["./static/js/15.83ba513e.chunk.js","a9bcb2f44b85191b2dd15ee05d19e834"],["./static/js/16.9f7b0d62.chunk.js","741e6791835fe0806f961353e7f91b03"],["./static/js/17.4b2bd9bb.chunk.js","5d634dd578578cecf497da7d9dce5994"],["./static/js/2.cb1a208e.chunk.js","d616e8e00766ace515c353fe850553d6"],["./static/js/3.8c523d89.chunk.js","7efc30fb26f4a0c73a27f6a5f311c8b7"],["./static/js/4.bdb6f020.chunk.js","aed9401a0fb834609c7f1eb4df3a8c34"],["./static/js/5.ecb6524c.chunk.js","d888bbe81fe4ae288a5b4bd7c05a30dc"],["./static/js/6.a0043810.chunk.js","ae17482a50254d2be3bc9eb7f0ab889f"],["./static/js/7.a8754bc4.chunk.js","ea53b6a6cb44bfa32ef89170a4734a03"],["./static/js/8.8d224a42.chunk.js","794340334a59d79664621541b3ae4236"],["./static/js/9.00a193aa.chunk.js","ef89493908d669f3a18975c843541920"],["./static/js/cn.86ecaa1b.js","0abc85cfa18b9771242934328660011d"],["./static/js/index.c342e303.js","978c490813e41c7a29a994461d104ef1"],["./static/media/omi-logo2019.923166c3.svg","923166c362dce831a15c447b19a622f9"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var a=new URL(e);return"/"===a.pathname.slice(-1)&&(a.pathname+=t),a.toString()},cleanResponse=function(t){return t.redirected?("body"in t?Promise.resolve(t.body):t.blob()).then(function(e){return new Response(e,{headers:t.headers,status:t.status,statusText:t.statusText})}):Promise.resolve(t)},createCacheKey=function(e,t,a,c){var n=new URL(e);return c&&n.pathname.match(c)||(n.search+=(n.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(a)),n.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var a=new URL(t).pathname;return e.some(function(e){return a.match(e)})},stripIgnoredUrlParameters=function(e,a){var t=new URL(e);return t.hash="",t.search=t.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(t){return a.every(function(e){return!e.test(t[0])})}).map(function(e){return e.join("=")}).join("&"),t.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],a=e[1],c=new URL(t,self.location),n=createCacheKey(c,hashParamName,a,/\.\w{8}\./);return[c.toString(),n]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(c){return setOfCachedUrls(c).then(function(a){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!a.has(t)){var e=new Request(t,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+t+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return c.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var a=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(t){return t.keys().then(function(e){return Promise.all(e.map(function(e){if(!a.has(e.url))return t.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(t){if("GET"===t.request.method){var e,a=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),c="index.html";(e=urlsToCacheKeys.has(a))||(a=addDirectoryIndex(a,c),e=urlsToCacheKeys.has(a));var n="./index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(a=new URL(n,self.location).toString(),e=urlsToCacheKeys.has(a)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(a)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',t.request.url,e),fetch(t.request)}))}});
"use strict";var precacheConfig=[["./cn.html","d4c3ecd33f1415b95b28468cdb9930ef"],["./index.html","0ec0dda5356d3c88ccaa8999314ba919"],["./static/css/cn.4dd07f49.css","476d16186dc05ff3faa0a5d4dc9ac72c"],["./static/css/index.4dd07f49.css","9ad340cc60e8fed0f9856b562708144e"],["./static/js/0.562b04d5.chunk.js","0b5ba46ab04d4ea25e7a8ab932a72bd3"],["./static/js/1.c601f4e5.chunk.js","979fdd76ff1a99676e21cd2c0ebe1ace"],["./static/js/10.1cf15716.chunk.js","9a37f9aac6ae384d5716796004db9443"],["./static/js/11.61d18500.chunk.js","58f727718eaeef33960cac6bc7e8fef1"],["./static/js/12.6358c19b.chunk.js","2b084c0d7a4e3037c111f8e2028f4492"],["./static/js/13.cbe9d912.chunk.js","83819360b3f2cb3c1d2866db8bfed391"],["./static/js/14.5b1e373f.chunk.js","a0f9bf6fd6a235a64e1bab1979aa0844"],["./static/js/15.83ba513e.chunk.js","a9bcb2f44b85191b2dd15ee05d19e834"],["./static/js/16.9f7b0d62.chunk.js","741e6791835fe0806f961353e7f91b03"],["./static/js/17.4b2bd9bb.chunk.js","5d634dd578578cecf497da7d9dce5994"],["./static/js/2.cb1a208e.chunk.js","d616e8e00766ace515c353fe850553d6"],["./static/js/3.8c523d89.chunk.js","7efc30fb26f4a0c73a27f6a5f311c8b7"],["./static/js/4.bdb6f020.chunk.js","aed9401a0fb834609c7f1eb4df3a8c34"],["./static/js/5.ecb6524c.chunk.js","d888bbe81fe4ae288a5b4bd7c05a30dc"],["./static/js/6.a0043810.chunk.js","ae17482a50254d2be3bc9eb7f0ab889f"],["./static/js/7.a8754bc4.chunk.js","ea53b6a6cb44bfa32ef89170a4734a03"],["./static/js/8.8d224a42.chunk.js","794340334a59d79664621541b3ae4236"],["./static/js/9.00a193aa.chunk.js","ef89493908d669f3a18975c843541920"],["./static/js/cn.012c6df7.js","b2ba00a522ad13f8042b07dcd79dd8bc"],["./static/js/index.7e68da19.js","670996a16befffb720f70238fe89bbf4"],["./static/media/omi-logo2019.923166c3.svg","923166c362dce831a15c447b19a622f9"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var a=new URL(e);return"/"===a.pathname.slice(-1)&&(a.pathname+=t),a.toString()},cleanResponse=function(t){return t.redirected?("body"in t?Promise.resolve(t.body):t.blob()).then(function(e){return new Response(e,{headers:t.headers,status:t.status,statusText:t.statusText})}):Promise.resolve(t)},createCacheKey=function(e,t,a,c){var n=new URL(e);return c&&n.pathname.match(c)||(n.search+=(n.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(a)),n.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var a=new URL(t).pathname;return e.some(function(e){return a.match(e)})},stripIgnoredUrlParameters=function(e,a){var t=new URL(e);return t.hash="",t.search=t.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(t){return a.every(function(e){return!e.test(t[0])})}).map(function(e){return e.join("=")}).join("&"),t.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],a=e[1],c=new URL(t,self.location),n=createCacheKey(c,hashParamName,a,/\.\w{8}\./);return[c.toString(),n]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(c){return setOfCachedUrls(c).then(function(a){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!a.has(t)){var e=new Request(t,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+t+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return c.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var a=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(t){return t.keys().then(function(e){return Promise.all(e.map(function(e){if(!a.has(e.url))return t.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(t){if("GET"===t.request.method){var e,a=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),c="index.html";(e=urlsToCacheKeys.has(a))||(a=addDirectoryIndex(a,c),e=urlsToCacheKeys.has(a));var n="./index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(a=new URL(n,self.location).toString(),e=urlsToCacheKeys.has(a)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(a)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',t.request.url,e),fetch(t.request)}))}});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long