diff --git a/dist/404.html b/404.html similarity index 100% rename from dist/404.html rename to 404.html diff --git a/dist/assets/css/0.styles.05d6b1d5.css b/assets/css/0.styles.05d6b1d5.css similarity index 100% rename from dist/assets/css/0.styles.05d6b1d5.css rename to assets/css/0.styles.05d6b1d5.css diff --git a/dist/assets/img/danger-dark.7b1d6aa1.svg b/assets/img/danger-dark.7b1d6aa1.svg similarity index 100% rename from dist/assets/img/danger-dark.7b1d6aa1.svg rename to assets/img/danger-dark.7b1d6aa1.svg diff --git a/dist/assets/img/danger.b143eda2.svg b/assets/img/danger.b143eda2.svg similarity index 100% rename from dist/assets/img/danger.b143eda2.svg rename to assets/img/danger.b143eda2.svg diff --git a/dist/assets/img/default-skin.b257fa9c.svg b/assets/img/default-skin.b257fa9c.svg similarity index 100% rename from dist/assets/img/default-skin.b257fa9c.svg rename to assets/img/default-skin.b257fa9c.svg diff --git a/dist/assets/img/info-dark.f8a43cf6.svg b/assets/img/info-dark.f8a43cf6.svg similarity index 100% rename from dist/assets/img/info-dark.f8a43cf6.svg rename to assets/img/info-dark.f8a43cf6.svg diff --git a/dist/assets/img/info.88826912.svg b/assets/img/info.88826912.svg similarity index 100% rename from dist/assets/img/info.88826912.svg rename to assets/img/info.88826912.svg diff --git a/dist/assets/img/landscape.58bdb6b2.png b/assets/img/landscape.58bdb6b2.png similarity index 100% rename from dist/assets/img/landscape.58bdb6b2.png rename to assets/img/landscape.58bdb6b2.png diff --git a/dist/assets/img/search.83621669.svg b/assets/img/search.83621669.svg similarity index 100% rename from dist/assets/img/search.83621669.svg rename to assets/img/search.83621669.svg diff --git a/dist/assets/img/superchain-diag.96e9f28f.png b/assets/img/superchain-diag.96e9f28f.png similarity index 100% rename from dist/assets/img/superchain-diag.96e9f28f.png rename to assets/img/superchain-diag.96e9f28f.png diff --git a/dist/assets/img/tip-dark.075a244c.svg b/assets/img/tip-dark.075a244c.svg similarity index 100% rename from dist/assets/img/tip-dark.075a244c.svg rename to assets/img/tip-dark.075a244c.svg diff --git a/dist/assets/img/tip.a2b80aa5.svg b/assets/img/tip.a2b80aa5.svg similarity index 100% rename from dist/assets/img/tip.a2b80aa5.svg rename to assets/img/tip.a2b80aa5.svg diff --git a/dist/assets/img/warning-dark.aac7e30c.svg b/assets/img/warning-dark.aac7e30c.svg similarity index 100% rename from dist/assets/img/warning-dark.aac7e30c.svg rename to assets/img/warning-dark.aac7e30c.svg diff --git a/dist/assets/img/warning.ec428b6d.svg b/assets/img/warning.ec428b6d.svg similarity index 100% rename from dist/assets/img/warning.ec428b6d.svg rename to assets/img/warning.ec428b6d.svg diff --git a/dist/assets/js/41.f0f3702e.js b/assets/js/41.f0f3702e.js similarity index 100% rename from dist/assets/js/41.f0f3702e.js rename to assets/js/41.f0f3702e.js diff --git a/dist/assets/js/app.a10c3567.js b/assets/js/app.a10c3567.js similarity index 100% rename from dist/assets/js/app.a10c3567.js rename to assets/js/app.a10c3567.js diff --git a/dist/assets/js/layout-Blog.a994568e.js b/assets/js/layout-Blog.a994568e.js similarity index 100% rename from dist/assets/js/layout-Blog.a994568e.js rename to assets/js/layout-Blog.a994568e.js diff --git a/dist/assets/js/layout-Blog~layout-Layout~layout-NotFound.3f9ea462.js b/assets/js/layout-Blog~layout-Layout~layout-NotFound.3f9ea462.js similarity index 100% rename from dist/assets/js/layout-Blog~layout-Layout~layout-NotFound.3f9ea462.js rename to assets/js/layout-Blog~layout-Layout~layout-NotFound.3f9ea462.js diff --git a/dist/assets/js/layout-Layout.203bc08b.js b/assets/js/layout-Layout.203bc08b.js similarity index 100% rename from dist/assets/js/layout-Layout.203bc08b.js rename to assets/js/layout-Layout.203bc08b.js diff --git a/dist/assets/js/layout-NotFound.1ba9c6f7.js b/assets/js/layout-NotFound.1ba9c6f7.js similarity index 100% rename from dist/assets/js/layout-NotFound.1ba9c6f7.js rename to assets/js/layout-NotFound.1ba9c6f7.js diff --git a/dist/assets/js/layout-Slide.84c3cb7a.js b/assets/js/layout-Slide.84c3cb7a.js similarity index 100% rename from dist/assets/js/layout-Slide.84c3cb7a.js rename to assets/js/layout-Slide.84c3cb7a.js diff --git a/dist/assets/js/page-BedrockExplainer.94d12776.js b/assets/js/page-BedrockExplainer.94d12776.js similarity index 100% rename from dist/assets/js/page-BedrockExplainer.94d12776.js rename to assets/js/page-BedrockExplainer.94d12776.js diff --git "a/dist/assets/js/page-Bedrock\344\270\216L1\344\273\245\345\244\252\345\235\212\344\271\213\351\227\264\347\232\204\345\267\256\345\274\202.8cd91997.js" "b/assets/js/page-Bedrock\344\270\216L1\344\273\245\345\244\252\345\235\212\344\271\213\351\227\264\347\232\204\345\267\256\345\274\202.8cd91997.js" similarity index 100% rename from "dist/assets/js/page-Bedrock\344\270\216L1\344\273\245\345\244\252\345\235\212\344\271\213\351\227\264\347\232\204\345\267\256\345\274\202.8cd91997.js" rename to "assets/js/page-Bedrock\344\270\216L1\344\273\245\345\244\252\345\235\212\344\271\213\351\227\264\347\232\204\345\267\256\345\274\202.8cd91997.js" diff --git a/dist/assets/js/page-OPStackDocs.59efd7a5.js b/assets/js/page-OPStackDocs.59efd7a5.js similarity index 100% rename from dist/assets/js/page-OPStackDocs.59efd7a5.js rename to assets/js/page-OPStackDocs.59efd7a5.js diff --git "a/dist/assets/js/page-OPStackHacks\347\256\200\344\273\213.f30301fb.js" "b/assets/js/page-OPStackHacks\347\256\200\344\273\213.f30301fb.js" similarity index 100% rename from "dist/assets/js/page-OPStackHacks\347\256\200\344\273\213.f30301fb.js" rename to "assets/js/page-OPStackHacks\347\256\200\344\273\213.f30301fb.js" diff --git "a/dist/assets/js/page-OPStack\344\273\243\347\240\201\345\272\223V1-Bedrock.3aa1884a.js" "b/assets/js/page-OPStack\344\273\243\347\240\201\345\272\223V1-Bedrock.3aa1884a.js" similarity index 100% rename from "dist/assets/js/page-OPStack\344\273\243\347\240\201\345\272\223V1-Bedrock.3aa1884a.js" rename to "assets/js/page-OPStack\344\273\243\347\240\201\345\272\223V1-Bedrock.3aa1884a.js" diff --git "a/dist/assets/js/page-OPStack\345\205\250\350\262\214.61392c30.js" "b/assets/js/page-OPStack\345\205\250\350\262\214.61392c30.js" similarity index 100% rename from "dist/assets/js/page-OPStack\345\205\250\350\262\214.61392c30.js" rename to "assets/js/page-OPStack\345\205\250\350\262\214.61392c30.js" diff --git "a/dist/assets/js/page-Rollup\346\223\215\344\275\234.0d703b3b.js" "b/assets/js/page-Rollup\346\223\215\344\275\234.0d703b3b.js" similarity index 100% rename from "dist/assets/js/page-Rollup\346\223\215\344\275\234.0d703b3b.js" rename to "assets/js/page-Rollup\346\223\215\344\275\234.0d703b3b.js" diff --git "a/dist/assets/js/page-Superchain\350\247\243\351\207\212\345\231\250.89242b1c.js" "b/assets/js/page-Superchain\350\247\243\351\207\212\345\231\250.89242b1c.js" similarity index 100% rename from "dist/assets/js/page-Superchain\350\247\243\351\207\212\345\231\250.89242b1c.js" rename to "assets/js/page-Superchain\350\247\243\351\207\212\345\231\250.89242b1c.js" diff --git a/dist/assets/js/page-WelcometotheOPStack.b8bd9ef7.js b/assets/js/page-WelcometotheOPStack.b8bd9ef7.js similarity index 100% rename from dist/assets/js/page-WelcometotheOPStack.b8bd9ef7.js rename to assets/js/page-WelcometotheOPStack.b8bd9ef7.js diff --git "a/dist/assets/js/page-\344\270\272\346\234\211\347\224\250\350\275\257\344\273\266\350\200\214\350\256\276\350\256\241\347\232\204\345\216\237\345\210\231.2fc5fb96.js" "b/assets/js/page-\344\270\272\346\234\211\347\224\250\350\275\257\344\273\266\350\200\214\350\256\276\350\256\241\347\232\204\345\216\237\345\210\231.2fc5fb96.js" similarity index 100% rename from "dist/assets/js/page-\344\270\272\346\234\211\347\224\250\350\275\257\344\273\266\350\200\214\350\256\276\350\256\241\347\232\204\345\216\237\345\210\231.2fc5fb96.js" rename to "assets/js/page-\344\270\272\346\234\211\347\224\250\350\275\257\344\273\266\350\200\214\350\256\276\350\256\241\347\232\204\345\216\237\345\210\231.2fc5fb96.js" diff --git "a/dist/assets/js/page-\344\273\216OPStack\345\214\272\345\235\227\351\223\276\344\270\255\345\274\272\345\210\266\346\217\220\345\217\226\350\265\204\344\272\247.9051bd64.js" "b/assets/js/page-\344\273\216OPStack\345\214\272\345\235\227\351\223\276\344\270\255\345\274\272\345\210\266\346\217\220\345\217\226\350\265\204\344\272\247.9051bd64.js" similarity index 100% rename from "dist/assets/js/page-\344\273\216OPStack\345\214\272\345\235\227\351\223\276\344\270\255\345\274\272\345\210\266\346\217\220\345\217\226\350\265\204\344\272\247.9051bd64.js" rename to "assets/js/page-\344\273\216OPStack\345\214\272\345\235\227\351\223\276\344\270\255\345\274\272\345\210\266\346\217\220\345\217\226\350\265\204\344\272\247.9051bd64.js" diff --git "a/dist/assets/js/page-\344\275\277\347\224\250OPStackClientSDK.b54e1490.js" "b/assets/js/page-\344\275\277\347\224\250OPStackClientSDK.b54e1490.js" similarity index 100% rename from "dist/assets/js/page-\344\275\277\347\224\250OPStackClientSDK.b54e1490.js" rename to "assets/js/page-\344\275\277\347\224\250OPStackClientSDK.b54e1490.js" diff --git "a/dist/assets/js/page-\344\275\277\347\224\250OPStack\350\277\233\350\241\214\346\236\204\345\273\272.bdc6fc4a.js" "b/assets/js/page-\344\275\277\347\224\250OPStack\350\277\233\350\241\214\346\236\204\345\273\272.bdc6fc4a.js" similarity index 100% rename from "dist/assets/js/page-\344\275\277\347\224\250OPStack\350\277\233\350\241\214\346\236\204\345\273\272.bdc6fc4a.js" rename to "assets/js/page-\344\275\277\347\224\250OPStack\350\277\233\350\241\214\346\236\204\345\273\272.bdc6fc4a.js" diff --git "a/dist/assets/js/page-\344\277\256\346\224\271\351\242\204\351\203\250\347\275\262\345\220\210\347\272\246.c797a1aa.js" "b/assets/js/page-\344\277\256\346\224\271\351\242\204\351\203\250\347\275\262\345\220\210\347\272\246.c797a1aa.js" similarity index 100% rename from "dist/assets/js/page-\344\277\256\346\224\271\351\242\204\351\203\250\347\275\262\345\220\210\347\272\246.c797a1aa.js" rename to "assets/js/page-\344\277\256\346\224\271\351\242\204\351\203\250\347\275\262\345\220\210\347\272\246.c797a1aa.js" diff --git "a/dist/assets/js/page-\345\214\272\345\235\227\346\265\217\350\247\210\345\231\250\345\222\214\347\264\242\345\274\225\345\231\250.c803de8a.js" "b/assets/js/page-\345\214\272\345\235\227\346\265\217\350\247\210\345\231\250\345\222\214\347\264\242\345\274\225\345\231\250.c803de8a.js" similarity index 100% rename from "dist/assets/js/page-\345\214\272\345\235\227\346\265\217\350\247\210\345\231\250\345\222\214\347\264\242\345\274\225\345\231\250.c803de8a.js" rename to "assets/js/page-\345\214\272\345\235\227\346\265\217\350\247\210\345\231\250\345\222\214\347\264\242\345\274\225\345\231\250.c803de8a.js" diff --git "a/dist/assets/js/page-\345\217\221\345\270\203\345\216\206\345\217\262.69ab2491.js" "b/assets/js/page-\345\217\221\345\270\203\345\216\206\345\217\262.69ab2491.js" similarity index 100% rename from "dist/assets/js/page-\345\217\221\345\270\203\345\216\206\345\217\262.69ab2491.js" rename to "assets/js/page-\345\217\221\345\270\203\345\216\206\345\217\262.69ab2491.js" diff --git "a/dist/assets/js/page-\345\220\221\346\264\276\347\224\237\345\207\275\346\225\260\346\267\273\345\212\240\345\261\236\346\200\247.96209ab2.js" "b/assets/js/page-\345\220\221\346\264\276\347\224\237\345\207\275\346\225\260\346\267\273\345\212\240\345\261\236\346\200\247.96209ab2.js" similarity index 100% rename from "dist/assets/js/page-\345\220\221\346\264\276\347\224\237\345\207\275\346\225\260\346\267\273\345\212\240\345\261\236\346\200\247.96209ab2.js" rename to "assets/js/page-\345\220\221\346\264\276\347\224\237\345\207\275\346\225\260\346\267\273\345\212\240\345\261\236\346\200\247.96209ab2.js" diff --git "a/dist/assets/js/page-\345\256\211\345\205\250\347\255\226\347\225\245\343\200\201\346\274\217\346\264\236\346\212\245\345\221\212\345\222\214\350\265\217\351\207\221\350\256\241\345\210\222.41700a4f.js" "b/assets/js/page-\345\256\211\345\205\250\347\255\226\347\225\245\343\200\201\346\274\217\346\264\236\346\212\245\345\221\212\345\222\214\350\265\217\351\207\221\350\256\241\345\210\222.41700a4f.js" similarity index 100% rename from "dist/assets/js/page-\345\256\211\345\205\250\347\255\226\347\225\245\343\200\201\346\274\217\346\264\236\346\212\245\345\221\212\345\222\214\350\265\217\351\207\221\350\256\241\345\210\222.41700a4f.js" rename to "assets/js/page-\345\256\211\345\205\250\347\255\226\347\225\245\343\200\201\346\274\217\346\264\236\346\212\245\345\221\212\345\222\214\350\265\217\351\207\221\350\256\241\345\210\222.41700a4f.js" diff --git "a/dist/assets/js/page-\345\270\270\350\247\201\345\256\211\345\205\250\351\227\256\351\242\230.4686caaa.js" "b/assets/js/page-\345\270\270\350\247\201\345\256\211\345\205\250\351\227\256\351\242\230.4686caaa.js" similarity index 100% rename from "dist/assets/js/page-\345\270\270\350\247\201\345\256\211\345\205\250\351\227\256\351\242\230.4686caaa.js" rename to "assets/js/page-\345\270\270\350\247\201\345\256\211\345\205\250\351\227\256\351\242\230.4686caaa.js" diff --git "a/dist/assets/js/page-\345\270\270\350\247\201\347\232\204\345\256\211\345\205\250\351\227\256\351\242\230.12aaeb7b.js" "b/assets/js/page-\345\270\270\350\247\201\347\232\204\345\256\211\345\205\250\351\227\256\351\242\230.12aaeb7b.js" similarity index 100% rename from "dist/assets/js/page-\345\270\270\350\247\201\347\232\204\345\256\211\345\205\250\351\227\256\351\242\230.12aaeb7b.js" rename to "assets/js/page-\345\270\270\350\247\201\347\232\204\345\256\211\345\205\250\351\227\256\351\242\230.12aaeb7b.js" diff --git "a/dist/assets/js/page-\345\277\253\351\200\237\345\274\200\345\247\213.4118c74c.js" "b/assets/js/page-\345\277\253\351\200\237\345\274\200\345\247\213.4118c74c.js" similarity index 100% rename from "dist/assets/js/page-\345\277\253\351\200\237\345\274\200\345\247\213.4118c74c.js" rename to "assets/js/page-\345\277\253\351\200\237\345\274\200\345\247\213.4118c74c.js" diff --git "a/dist/assets/js/page-\346\211\247\350\241\214\346\212\200\345\267\247.afc3d4ed.js" "b/assets/js/page-\346\211\247\350\241\214\346\212\200\345\267\247.afc3d4ed.js" similarity index 100% rename from "dist/assets/js/page-\346\211\247\350\241\214\346\212\200\345\267\247.afc3d4ed.js" rename to "assets/js/page-\346\211\247\350\241\214\346\212\200\345\267\247.afc3d4ed.js" diff --git "a/dist/assets/js/page-\346\225\260\346\215\256\345\217\257\347\224\250\346\200\247\346\212\200\345\267\247.be17871a.js" "b/assets/js/page-\346\225\260\346\215\256\345\217\257\347\224\250\346\200\247\346\212\200\345\267\247.be17871a.js" similarity index 100% rename from "dist/assets/js/page-\346\225\260\346\215\256\345\217\257\347\224\250\346\200\247\346\212\200\345\267\247.be17871a.js" rename to "assets/js/page-\346\225\260\346\215\256\345\217\257\347\224\250\346\200\247\346\212\200\345\267\247.be17871a.js" diff --git "a/dist/assets/js/page-\346\232\202\345\201\234\345\222\214\346\201\242\345\244\215\346\241\245\346\216\245.cd2944e7.js" "b/assets/js/page-\346\232\202\345\201\234\345\222\214\346\201\242\345\244\215\346\241\245\346\216\245.cd2944e7.js" similarity index 100% rename from "dist/assets/js/page-\346\232\202\345\201\234\345\222\214\346\201\242\345\244\215\346\241\245\346\216\245.cd2944e7.js" rename to "assets/js/page-\346\232\202\345\201\234\345\222\214\346\201\242\345\244\215\346\241\245\346\216\245.cd2944e7.js" diff --git "a/dist/assets/js/page-\346\267\273\345\212\240\344\270\200\344\270\252\351\242\204\347\274\226\350\257\221\345\220\210\347\272\246.8a6381b1.js" "b/assets/js/page-\346\267\273\345\212\240\344\270\200\344\270\252\351\242\204\347\274\226\350\257\221\345\220\210\347\272\246.8a6381b1.js" similarity index 100% rename from "dist/assets/js/page-\346\267\273\345\212\240\344\270\200\344\270\252\351\242\204\347\274\226\350\257\221\345\220\210\347\272\246.8a6381b1.js" rename to "assets/js/page-\346\267\273\345\212\240\344\270\200\344\270\252\351\242\204\347\274\226\350\257\221\345\220\210\347\272\246.8a6381b1.js" diff --git "a/dist/assets/js/page-\347\211\271\350\211\262\351\273\221\345\256\242\346\212\200\345\267\247.dec0ea51.js" "b/assets/js/page-\347\211\271\350\211\262\351\273\221\345\256\242\346\212\200\345\267\247.dec0ea51.js" similarity index 100% rename from "dist/assets/js/page-\347\211\271\350\211\262\351\273\221\345\256\242\346\212\200\345\267\247.dec0ea51.js" rename to "assets/js/page-\347\211\271\350\211\262\351\273\221\345\256\242\346\212\200\345\267\247.dec0ea51.js" diff --git "a/dist/assets/js/page-\347\273\223\347\256\227\345\261\202\346\212\200\345\267\247.9da9c0a8.js" "b/assets/js/page-\347\273\223\347\256\227\345\261\202\346\212\200\345\267\247.9da9c0a8.js" similarity index 100% rename from "dist/assets/js/page-\347\273\223\347\256\227\345\261\202\346\212\200\345\267\247.9da9c0a8.js" rename to "assets/js/page-\347\273\223\347\256\227\345\261\202\346\212\200\345\267\247.9da9c0a8.js" diff --git "a/dist/assets/js/page-\350\241\215\347\224\237\346\212\200\345\267\247.9334377a.js" "b/assets/js/page-\350\241\215\347\224\237\346\212\200\345\267\247.9334377a.js" similarity index 100% rename from "dist/assets/js/page-\350\241\215\347\224\237\346\212\200\345\267\247.9334377a.js" rename to "assets/js/page-\350\241\215\347\224\237\346\212\200\345\267\247.9334377a.js" diff --git "a/dist/assets/js/page-\350\264\241\347\214\256\346\214\207\345\215\227.da66b8ad.js" "b/assets/js/page-\350\264\241\347\214\256\346\214\207\345\215\227.da66b8ad.js" similarity index 100% rename from "dist/assets/js/page-\350\264\241\347\214\256\346\214\207\345\215\227.da66b8ad.js" rename to "assets/js/page-\350\264\241\347\214\256\346\214\207\345\215\227.da66b8ad.js" diff --git "a/dist/assets/js/page-\351\205\215\347\275\256.fe26aa4e.js" "b/assets/js/page-\351\205\215\347\275\256.fe26aa4e.js" similarity index 100% rename from "dist/assets/js/page-\351\205\215\347\275\256.fe26aa4e.js" rename to "assets/js/page-\351\205\215\347\275\256.fe26aa4e.js" diff --git a/dist/assets/js/vendors~docsearch.9346ec91.js b/assets/js/vendors~docsearch.9346ec91.js similarity index 100% rename from dist/assets/js/vendors~docsearch.9346ec91.js rename to assets/js/vendors~docsearch.9346ec91.js diff --git a/dist/assets/js/vendors~layout-Blog~layout-Layout~layout-NotFound.aa392ad9.js b/assets/js/vendors~layout-Blog~layout-Layout~layout-NotFound.aa392ad9.js similarity index 100% rename from dist/assets/js/vendors~layout-Blog~layout-Layout~layout-NotFound.aa392ad9.js rename to assets/js/vendors~layout-Blog~layout-Layout~layout-NotFound.aa392ad9.js diff --git a/dist/assets/js/vendors~layout-Layout.668d9695.js b/assets/js/vendors~layout-Layout.668d9695.js similarity index 100% rename from dist/assets/js/vendors~layout-Layout.668d9695.js rename to assets/js/vendors~layout-Layout.668d9695.js diff --git a/dist/assets/js/vendors~photo-swipe.b538c7ab.js b/assets/js/vendors~photo-swipe.b538c7ab.js similarity index 100% rename from dist/assets/js/vendors~photo-swipe.b538c7ab.js rename to assets/js/vendors~photo-swipe.b538c7ab.js diff --git a/dist/assets/logos/favicon.png b/assets/logos/favicon.png similarity index 100% rename from dist/assets/logos/favicon.png rename to assets/logos/favicon.png diff --git a/dist/assets/logos/header.png b/assets/logos/header.png similarity index 100% rename from dist/assets/logos/header.png rename to assets/logos/header.png diff --git a/dist/assets/logos/icon-1020x1020.png b/assets/logos/icon-1020x1020.png similarity index 100% rename from dist/assets/logos/icon-1020x1020.png rename to assets/logos/icon-1020x1020.png diff --git a/dist/assets/logos/icon-192x192.png b/assets/logos/icon-192x192.png similarity index 100% rename from dist/assets/logos/icon-192x192.png rename to assets/logos/icon-192x192.png diff --git a/dist/assets/logos/icon-256x256.png b/assets/logos/icon-256x256.png similarity index 100% rename from dist/assets/logos/icon-256x256.png rename to assets/logos/icon-256x256.png diff --git a/dist/assets/logos/icon-384x384.png b/assets/logos/icon-384x384.png similarity index 100% rename from dist/assets/logos/icon-384x384.png rename to assets/logos/icon-384x384.png diff --git a/dist/assets/logos/icon-512x512.png b/assets/logos/icon-512x512.png similarity index 100% rename from dist/assets/logos/icon-512x512.png rename to assets/logos/icon-512x512.png diff --git a/dist/assets/logos/logo.png b/assets/logos/logo.png similarity index 100% rename from dist/assets/logos/logo.png rename to assets/logos/logo.png diff --git a/dist/assets/logos/twitter-logo.png b/assets/logos/twitter-logo.png similarity index 100% rename from dist/assets/logos/twitter-logo.png rename to assets/logos/twitter-logo.png diff --git a/dist/assets/logos/twitter-superchain.png b/assets/logos/twitter-superchain.png similarity index 100% rename from dist/assets/logos/twitter-superchain.png rename to assets/logos/twitter-superchain.png diff --git a/dist/atom.xml b/atom.xml similarity index 100% rename from dist/atom.xml rename to atom.xml diff --git a/config.js b/config.js deleted file mode 100644 index 970740a..0000000 --- a/config.js +++ /dev/null @@ -1,208 +0,0 @@ -const { description } = require('../../package') -const path = require('path') - -module.exports = { - title: 'OP Stack Docs', - description: description, - head: [ - ['link', { rel: 'manifest', href: '/manifest.json' }], - ['meta', { name: 'theme-color', content: '#3eaf7c' }], - ['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }], - ['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }], - ['meta', { property: 'og:image', content: 'https://stack.optimism.io/assets/logos/twitter-logo.png' }], - ['meta', { name: 'twitter:image', content: 'https://stack.optimism.io/assets/logos/twitter-logo.png' }], - ['meta', { name: 'twitter:title', content: 'OP Stack Docs' }], - ['meta', { property: 'og:title', content: 'OP Stack Docs' }], - ['meta', { name: 'twitter:card', content: 'summary' } ], - ['link', { rel: "icon", type: "image/png", sizes: "32x32", href: "/assets/logos/favicon.png"}], - ], - theme: path.resolve(__dirname, './theme'), - themeConfig: { - "twitter:card": "summary", - contributor: false, - hostname: 'https://stack.optimism.io', - logo: '/assets/logos/logo.png', - docsDir: 'src', - docsRepo: 'https://github.com/ethereum-optimism/stack-docs', - docsBranch: 'main', - lastUpdated: false, - darkmode: 'disable', - themeColor: false, - blog: false, - iconPrefix: 'far fa-', - pageInfo: false, - pwa: { - cacheHTML: false, - }, - activeHash: { - offset: -200, - }, - algolia: { - appId: 'O9WKE9RMCV', - apiKey: '00cf17cba30b374d08d7f7afead974be', - indexName: 'optimism' - }, - nav: [ - { - text: 'Home', - link: 'https://www.optimism.io/' - }, - { - text: 'OP Stack Docs', - link: '/' - }, - { - text: 'Optimism Docs', - link: 'https://community.optimism.io/' - }, - { - text: 'Governance', - link: 'https://community.optimism.io/docs/governance/' - }, - { - text: 'Community', - items: [ - { - icon: 'discord', - iconPrefix: 'fab fa-', - iconClass: 'color-discord', - text: 'Discord', - link: 'https://discord.optimism.io', - }, - { - icon: 'github', - iconPrefix: 'fab fa-', - iconClass: 'color-github', - text: 'GitHub', - link: 'https://github.com/ethereum-optimism/optimism', - }, - { - icon: 'twitter', - iconPrefix: 'fab fa-', - iconClass: 'color-twitter', - text: 'Twitter', - link: 'https://twitter.com/optimismFND', - }, - { - icon: 'twitch', - iconPrefix: 'fab fa-', - iconClass: 'color-twitch', - text: 'Twitch', - link: 'https://www.twitch.tv/optimismpbc' - }, - { - icon: 'medium', - iconPrefix: 'fab fa-', - iconClass: 'color-medium', - text: 'Blog', - link: 'https://optimismpbc.medium.com/' - }, - { - icon: 'computer-classic', - iconClass: 'color-ecosystem', - text: 'Ecosystem', - link: 'https://www.optimism.io/apps/all', - }, - { - icon: 'globe', - iconClass: 'color-optimism', - text: 'optimism.io', - link: 'https://www.optimism.io/', - } - ] - } - ], - searchPlaceholder: 'Search the docs', - sidebar: [ - { - title: "OP Stack", - collapsable: false, - children: [ - '/', - [ - '/docs/understand/design-principles.md', - '设计原则' - ], - '/docs/understand/landscape.md', - '/docs/understand/explainer.md' - ] - }, - { - title: "Releases", - collapsable: false, - children: [ - '/docs/releases/', - { - title: "Bedrock", - collapsable: true, - children: [ - '/docs/releases/bedrock/', - '/docs/releases/bedrock/explainer.md', - '/docs/releases/bedrock/differences.md' - ] - } - ] - }, - { - title: "Building OP Stack Rollups", - collapsable: false, - children: [ - '/docs/build/getting-started.md', - '/docs/build/conf.md', - '/docs/build/operations.md', - '/docs/build/explorer.md', - '/docs/build/sdk.md', - { - title: "OP Stack Hacks", - collapsable: true, - children: [ - '/docs/build/hacks.md', - '/docs/build/featured.md', - '/docs/build/data-avail.md', - '/docs/build/derivation.md', - '/docs/build/execution.md', - '/docs/build/settlement.md', - { - title: "Sample Hacks", - children: [ - "/docs/build/tutorials/add-attr.md", - "/docs/build/tutorials/new-precomp.md", - "/docs/build/tutorials/predeploys.md" - ] - } // End of tutorials - ], - }, // End of OP Stack hacks - ], - }, // End of Building OP Stack Rollups - { - title: "Contributing", - collapsable: false, - children: [ - '/docs/contribute.md', - ] - }, - { - title: "Security", - collapsable: false, - children: [ - '/docs/security/faq.md', - '/docs/security/policy.md', - '/docs/security/pause.md', - '/docs/security/forced-withdrawal.md', - ] - }, - ], // end of sidebar - plugins: [ - "@vuepress/pwa", - [ - '@vuepress/plugin-medium-zoom', - { - selector: ':not(a) > img' - } - ], - "plausible-analytics" - ] -} -} - -// module.exports.themeConfig.sidebar["/docs/useful-tools/"] = module.exports.themeConfig.sidebar["/docs/developers/"] diff --git a/dist/docs/build/conf/index.html b/docs/build/conf/index.html similarity index 100% rename from dist/docs/build/conf/index.html rename to docs/build/conf/index.html diff --git a/dist/docs/build/data-avail/index.html b/docs/build/data-avail/index.html similarity index 100% rename from dist/docs/build/data-avail/index.html rename to docs/build/data-avail/index.html diff --git a/dist/docs/build/derivation/index.html b/docs/build/derivation/index.html similarity index 100% rename from dist/docs/build/derivation/index.html rename to docs/build/derivation/index.html diff --git a/dist/docs/build/execution/index.html b/docs/build/execution/index.html similarity index 100% rename from dist/docs/build/execution/index.html rename to docs/build/execution/index.html diff --git a/dist/docs/build/explorer/index.html b/docs/build/explorer/index.html similarity index 100% rename from dist/docs/build/explorer/index.html rename to docs/build/explorer/index.html diff --git a/dist/docs/build/featured/index.html b/docs/build/featured/index.html similarity index 100% rename from dist/docs/build/featured/index.html rename to docs/build/featured/index.html diff --git a/dist/docs/build/getting-started/index.html b/docs/build/getting-started/index.html similarity index 100% rename from dist/docs/build/getting-started/index.html rename to docs/build/getting-started/index.html diff --git a/dist/docs/build/hacks/index.html b/docs/build/hacks/index.html similarity index 100% rename from dist/docs/build/hacks/index.html rename to docs/build/hacks/index.html diff --git a/dist/docs/build/index.html b/docs/build/index.html similarity index 100% rename from dist/docs/build/index.html rename to docs/build/index.html diff --git a/dist/docs/build/operations/index.html b/docs/build/operations/index.html similarity index 100% rename from dist/docs/build/operations/index.html rename to docs/build/operations/index.html diff --git a/dist/docs/build/sdk/index.html b/docs/build/sdk/index.html similarity index 100% rename from dist/docs/build/sdk/index.html rename to docs/build/sdk/index.html diff --git a/dist/docs/build/settlement/index.html b/docs/build/settlement/index.html similarity index 100% rename from dist/docs/build/settlement/index.html rename to docs/build/settlement/index.html diff --git a/dist/docs/build/tutorials/add-attr/index.html b/docs/build/tutorials/add-attr/index.html similarity index 100% rename from dist/docs/build/tutorials/add-attr/index.html rename to docs/build/tutorials/add-attr/index.html diff --git a/dist/docs/build/tutorials/new-precomp/index.html b/docs/build/tutorials/new-precomp/index.html similarity index 100% rename from dist/docs/build/tutorials/new-precomp/index.html rename to docs/build/tutorials/new-precomp/index.html diff --git a/dist/docs/build/tutorials/predeploys/index.html b/docs/build/tutorials/predeploys/index.html similarity index 100% rename from dist/docs/build/tutorials/predeploys/index.html rename to docs/build/tutorials/predeploys/index.html diff --git a/dist/docs/contribute/index.html b/docs/contribute/index.html similarity index 100% rename from dist/docs/contribute/index.html rename to docs/contribute/index.html diff --git a/dist/docs/index.html b/docs/index.html similarity index 100% rename from dist/docs/index.html rename to docs/index.html diff --git a/dist/docs/releases/bedrock/differences/index.html b/docs/releases/bedrock/differences/index.html similarity index 100% rename from dist/docs/releases/bedrock/differences/index.html rename to docs/releases/bedrock/differences/index.html diff --git a/dist/docs/releases/bedrock/explainer/index.html b/docs/releases/bedrock/explainer/index.html similarity index 100% rename from dist/docs/releases/bedrock/explainer/index.html rename to docs/releases/bedrock/explainer/index.html diff --git a/dist/docs/releases/bedrock/index.html b/docs/releases/bedrock/index.html similarity index 100% rename from dist/docs/releases/bedrock/index.html rename to docs/releases/bedrock/index.html diff --git a/dist/docs/releases/index.html b/docs/releases/index.html similarity index 100% rename from dist/docs/releases/index.html rename to docs/releases/index.html diff --git a/dist/docs/security/faq/index.html b/docs/security/faq/index.html similarity index 100% rename from dist/docs/security/faq/index.html rename to docs/security/faq/index.html diff --git a/dist/docs/security/forced-withdrawal/index.html b/docs/security/forced-withdrawal/index.html similarity index 100% rename from dist/docs/security/forced-withdrawal/index.html rename to docs/security/forced-withdrawal/index.html diff --git a/dist/docs/security/index.html b/docs/security/index.html similarity index 100% rename from dist/docs/security/index.html rename to docs/security/index.html diff --git a/dist/docs/security/pause/index.html b/docs/security/pause/index.html similarity index 100% rename from dist/docs/security/pause/index.html rename to docs/security/pause/index.html diff --git a/dist/docs/security/policy/index.html b/docs/security/policy/index.html similarity index 100% rename from dist/docs/security/policy/index.html rename to docs/security/policy/index.html diff --git a/dist/docs/understand/design-principles/index.html b/docs/understand/design-principles/index.html similarity index 100% rename from dist/docs/understand/design-principles/index.html rename to docs/understand/design-principles/index.html diff --git a/dist/docs/understand/explainer/index.html b/docs/understand/explainer/index.html similarity index 100% rename from dist/docs/understand/explainer/index.html rename to docs/understand/explainer/index.html diff --git a/dist/docs/understand/landscape/index.html b/docs/understand/landscape/index.html similarity index 100% rename from dist/docs/understand/landscape/index.html rename to docs/understand/landscape/index.html diff --git a/enhanceApp.js b/enhanceApp.js deleted file mode 100644 index 8580ae3..0000000 --- a/enhanceApp.js +++ /dev/null @@ -1,24 +0,0 @@ -import event from '@vuepress/plugin-pwa/lib/event' - -export default ({ router }) => { - registerAutoReload(); - - router.addRoutes([ - { path: '/docs/', redirect: '/' }, - ]) -} - -// When new content is detected by the app, this will automatically -// refresh the page, so that users do not need to manually click -// the refresh button. For more details see: -// https://linear.app/optimism/issue/FE-1003/investigate-archive-issue-on-docs -const registerAutoReload = () => { - event.$on('sw-updated', e => { - e.skipWaiting().then(() => - { - if (typeof location !== 'undefined') - location.reload(true); - } - ) - }) -} diff --git a/dist/feed.json b/feed.json similarity index 100% rename from dist/feed.json rename to feed.json diff --git a/dist/index.html b/index.html similarity index 100% rename from dist/index.html rename to index.html diff --git a/dist/manifest.json b/manifest.json similarity index 100% rename from dist/manifest.json rename to manifest.json diff --git a/dist/manifest.webmanifest b/manifest.webmanifest similarity index 100% rename from dist/manifest.webmanifest rename to manifest.webmanifest diff --git a/public/assets/logos/favicon.png b/public/assets/logos/favicon.png deleted file mode 100644 index 720c081..0000000 Binary files a/public/assets/logos/favicon.png and /dev/null differ diff --git a/public/assets/logos/header.png b/public/assets/logos/header.png deleted file mode 100644 index b74a60c..0000000 Binary files a/public/assets/logos/header.png and /dev/null differ diff --git a/public/assets/logos/icon-1020x1020.png b/public/assets/logos/icon-1020x1020.png deleted file mode 100644 index edfac6e..0000000 Binary files a/public/assets/logos/icon-1020x1020.png and /dev/null differ diff --git a/public/assets/logos/icon-192x192.png b/public/assets/logos/icon-192x192.png deleted file mode 100644 index 077cdc8..0000000 Binary files a/public/assets/logos/icon-192x192.png and /dev/null differ diff --git a/public/assets/logos/icon-256x256.png b/public/assets/logos/icon-256x256.png deleted file mode 100644 index 166308a..0000000 Binary files a/public/assets/logos/icon-256x256.png and /dev/null differ diff --git a/public/assets/logos/icon-384x384.png b/public/assets/logos/icon-384x384.png deleted file mode 100644 index d8c5684..0000000 Binary files a/public/assets/logos/icon-384x384.png and /dev/null differ diff --git a/public/assets/logos/icon-512x512.png b/public/assets/logos/icon-512x512.png deleted file mode 100644 index 77c3a5b..0000000 Binary files a/public/assets/logos/icon-512x512.png and /dev/null differ diff --git a/public/assets/logos/logo.png b/public/assets/logos/logo.png deleted file mode 100644 index 2765b36..0000000 Binary files a/public/assets/logos/logo.png and /dev/null differ diff --git a/public/assets/logos/twitter-logo.png b/public/assets/logos/twitter-logo.png deleted file mode 100644 index 0a88b91..0000000 Binary files a/public/assets/logos/twitter-logo.png and /dev/null differ diff --git a/public/assets/logos/twitter-superchain.png b/public/assets/logos/twitter-superchain.png deleted file mode 100644 index a2a2ac0..0000000 Binary files a/public/assets/logos/twitter-superchain.png and /dev/null differ diff --git a/public/manifest.json b/public/manifest.json deleted file mode 100644 index 9c94acd..0000000 --- a/public/manifest.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "OP Docs", - "short_name": "OP Docs", - "description": "The official OP Docs", - "icons": [ - { - "src": "/assets/logos/icon-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "/assets/logos/icon-256x256.png", - "sizes": "256x256", - "type": "image/png" - }, - { - "src": "/assets/logos/icon-384x384.png", - "sizes": "384x384", - "type": "image/png" - }, - { - "src": "/assets/logos/icon-512x512.png", - "sizes": "512x512", - "type": "image/png" - }, - { - "src": "/assets/logos/icon-1020x1020.png", - "sizes": "any", - "type": "image/png" - } - ], - "start_url": "/index.html", - "display": "standalone", - "background_color": "#ffffff", - "theme_color": "#ff0420" -} diff --git a/dist/robots.txt b/robots.txt similarity index 100% rename from dist/robots.txt rename to robots.txt diff --git a/dist/rss.xml b/rss.xml similarity index 100% rename from dist/rss.xml rename to rss.xml diff --git a/dist/service-worker.js b/service-worker.js similarity index 100% rename from dist/service-worker.js rename to service-worker.js diff --git a/dist/service-worker.js.map b/service-worker.js.map similarity index 100% rename from dist/service-worker.js.map rename to service-worker.js.map diff --git a/dist/sitemap.xml b/sitemap.xml similarity index 100% rename from dist/sitemap.xml rename to sitemap.xml diff --git a/styles/index.styl b/styles/index.styl deleted file mode 100644 index d24d368..0000000 --- a/styles/index.styl +++ /dev/null @@ -1,317 +0,0 @@ -@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap'); -@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,600;0,700;1,600;1,700&display=swap'); -@import 'https://pro.fontawesome.com/releases/v5.15.4/css/all.css'; - -main, body, html { - font-family: 'Open Sans', sans-serif; -} - -p { - font-size: 16px; - line-height: 24px; -} - -aside.sidebar { - background-color: #F1F4F9; - border-right: none; -} - -p.sidebar-heading { - color: #323A43 !important; - font-family: 'Open Sans', sans-serif; - font-weight: 600 !important; - font-size: 14px !important; - line-height: 24px !important; - min-height: 36px; - margin-left: 20px; - padding: 8px 16px !important; - width: calc(100% - 60px) !important; - border-radius: 8px; -} - -a.sidebar-link { - font-family: 'Open Sans', sans-serif; - font-size: 14px !important; - line-height: 24px !important; - min-height: 36px; - margin-top: 3px; - margin-left: 20px; - padding: 8px 16px !important; - width: calc(100% - 60px) !important; - border-radius: 8px; -} - -section.sidebar-group a.sidebar-link, -section.sidebar-group p.sidebar-heading.clickable { - margin-left: 32px; - width: calc(100% - 60px) !important; -} - -.sidebar-links:not(.sidebar-group-items) > li > a.sidebar-link { - font-weight: 600 !important; - color: #323A43 !important; -} - -.sidebar-links:not(.sidebar-group-items) > li > a.sidebar-link.active { - border-left-color: #F1F4F9 !important; - background-color: #FFDBDF !important; - color: #FF0420 !important; -} - -a.sidebar-link.active { - border-left-color: #F1F4F9 !important; - background-color: #FFDBDF !important; - color: #FF0420 !important; -} - -h1 { - font-size: 50px; -} - -h2 { - font-size: 40px; -} - -h3 { - font-size: 28px; -} - -h4 { - font-size: 20px; -} - -h1 { - font-family: 'Rubik', sans-serif; - font-weight: 700; - font-style: italic; - border-bottom: none; - color: #202327 !important; -} - -h2, h3, h4 { - font-family: 'Rubik', sans-serif; - border-bottom: none; - font-weight: 400; -} - -#search-form { - @media (min-width $MQNormal) { - margin-left: 2rem; - } -} - -.search-box { - @media (min-width $MQNormal) { - order: 1; - margin-right: 0; - margin-left: 1rem; - - .suggestions { - left: auto !important; - right: 0 !important; - } - } - - input { - border-color: #CBD5E0 !important; - border-radius: 100px !important; - background-color: #FFFFFF !important; - } -} - -header.navbar { - border-bottom: none; - box-shadow: 0px 6px 8px -6px rgba(20, 23, 26, 0.06), 0px 8px 16px -6px rgba(20, 23, 26, 0.04); - --bgcolor-blur: hsla(0,0%,100%,0.9); -} - -span.site-name { - display: none !important; -} - -a.nav-link, -div.nav-item span.title { - font-weight: 600; -} - -a.nav-link:not(.router-link-active), -div.nav-item span.title { - color: #68778D; -} - -.theme-default-content:not(.custom) > p { - text-align: inherit !important; -} - -.sidebar { - box-shadow: none !important; -} - -div.hero-info { - color: white; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - display: flex; - align-items: center; -} - -div.hero-info .description { - display: none; -} - -div.hero-info #main-title { - color: white !important; -} - -header.hero > img { - border-radius: 16px; - max-height: none !important; -} - -header.hero { - margin-top: 20px; - position: relative; - justify-content: space-between !important; -} - -.home .features { - border-top: none !important; - justify-content: space-between !important; - margin: 0 !important; - padding-top: 0.5rem !important; -} - -.home .features h2 { - font-family: 'Open Sans', sans-serif; - font-style: normal; - font-size: 16px !important; - font-weight: 600 !important; - color: #202327 !important; -} - -.home .features p { - font-family: 'Open Sans', sans-serif; - font-size: 14px !important; - color: #68778D !important; -} - -.home .features .icon-container { - height: 44px; - width: 44px; - background-color: #FFF0F1; - border-radius: 8px; - display: flex; - justify-content: center; - align-items: center; - color: #FF0420; -} - -.home .features .feature { - background-color: #FFFFFF !important; - box-shadow: 0px 6px 8px -6px rgba(20, 23, 26, 0.12), 0px 8px 16px -6px rgba(20, 23, 26, 0.08); - border-radius: 16px !important; - margin: 0 !important; - margin-bottom: 2rem !important; - padding: 1.5rem !important; -} - -.features-header { - margin-top: 30px; - margin-bottom: 0px; -} - -div.theme-container:not(.has-sidebar) { - background-color: #F1F4F9; -} - -.anchor-header { - color: #202327; - font-weight: 600; - font-size: 14px; - font-height: 20px; - margin-bottom: 10px; -} - -.anchor-support { - margin-top: 20px; -} - -.anchor-support-links i { - width: 20px; - text-align: center; - margin-right: 5px; -} - -.anchor-support-links a { - color: #68778D; -} - -.anchor-support-links a div { - height: 30px; - font-size: 14px; -} - -.anchor-support-links a:hover { - color: #FF0420; -} - -#anchor { - width: 15rem !important; -} - -#anchor .anchor { - line-height: 27.2px !important; -} - -#anchor .anchor div { - color: #68778D !important; -} - -#anchor .anchor.active div { - font-weight: 600 !important; -} - -.theme-default-content code { - top: 1px; - line-height: 22.4px !important; - vertical-align: middle !important; -} - -.nav-dropdown svg.icon.outbound { - display: none; -} - -.nav-dropdown .dropdown-item i { - width: 20px; -} - -.color-discord { - color: #5865F2; -} - -.color-github { - color: #121212; -} - -.color-twitter { - color: #1DA1F2; -} - -.color-twitch { - color: #6441A5; -} - -.color-medium { - color: #000000; -} - -.color-optimism { - color: #FF0420; -} - -.color-ecosystem { - color: #ea94db; -} diff --git a/styles/palette.styl b/styles/palette.styl deleted file mode 100644 index 8e319b7..0000000 --- a/styles/palette.styl +++ /dev/null @@ -1,5 +0,0 @@ -$textColor = #000000 -$accentColor = #f01a37 -$backgroundColor = #272934 -$lightBackgroundColor = #f3f3f3 -$sidebarWidth = 320px diff --git a/theme/assets/hero.jpg b/theme/assets/hero.jpg deleted file mode 100644 index 7f3f61a..0000000 Binary files a/theme/assets/hero.jpg and /dev/null differ diff --git a/theme/components/AlgoliaSearch/Dropdown.d.ts b/theme/components/AlgoliaSearch/Dropdown.d.ts deleted file mode 100644 index 0d618a5..0000000 --- a/theme/components/AlgoliaSearch/Dropdown.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import Vue from "vue"; -import type { AlgoliaOption } from "@mr-hope/vuepress-types"; -declare const _default: import("vue/types/vue").ExtendedVue; -export default _default; diff --git a/theme/components/AlgoliaSearch/Dropdown.js b/theme/components/AlgoliaSearch/Dropdown.js deleted file mode 100644 index 50cc6a0..0000000 --- a/theme/components/AlgoliaSearch/Dropdown.js +++ /dev/null @@ -1,55 +0,0 @@ -import Vue from "vue"; -export default Vue.extend({ - name: "AlgoliaSearchDropdown", - props: { - options: { type: Object, required: true }, - }, - data: () => ({ - placeholder: "", - }), - watch: { - $lang(newValue) { - this.update(this.options, newValue); - }, - options(newValue) { - this.update(newValue, this.$lang); - }, - }, - mounted() { - this.initialize(this.options, this.$lang); - this.placeholder = - this.$site.themeConfig.searchPlaceholder || ""; - }, - methods: { - initialize(userOptions, lang) { - void Promise.all([ - import( - /* webpackChunkName: "docsearch" */ "docsearch.js/dist/cdn/docsearch.min.js"), - import( - /* webpackChunkName: "docsearch" */ "docsearch.js/dist/cdn/docsearch.min.css"), - ]).then(([docsearch]) => { - // eslint-disable-next-line - docsearch.default(Object.assign(Object.assign({}, userOptions), { inputSelector: "#algolia-search-input", - // #697 Make docsearch work well at i18n mode. - algoliaOptions: { - facetFilters: [`lang:${lang}`].concat( - // eslint-disable-next-line - userOptions.facetFilters || []), - }, handleSelected: (_input, _event, suggestion) => { - const { pathname, hash } = new URL(suggestion.url); - const routepath = pathname.replace(this.$site.base, "/"); - if (this.$router.getRoutes().some((route) => route.path === routepath)) - void this.$router.push(`${routepath}${decodeURIComponent(hash)}`); - else - window.open(suggestion.url); - } })); - }); - }, - update(options, lang) { - this.$el.innerHTML = - ''; - this.initialize(options, lang); - }, - }, -}); -//# sourceMappingURL=Dropdown.js.map \ No newline at end of file diff --git a/theme/components/AlgoliaSearch/Dropdown.js.map b/theme/components/AlgoliaSearch/Dropdown.js.map deleted file mode 100644 index 2e68e39..0000000 --- a/theme/components/AlgoliaSearch/Dropdown.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Dropdown.js","sourceRoot":"","sources":["Dropdown.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,eAAe,GAAG,CAAC,MAAM,CAAC;IACxB,IAAI,EAAE,uBAAuB;IAE7B,KAAK,EAAE;QACL,OAAO,EAAE,EAAE,IAAI,EAAE,MAAiC,EAAE,QAAQ,EAAE,IAAI,EAAE;KACrE;IAED,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC;QACX,WAAW,EAAE,EAAE;KAChB,CAAC;IAEF,KAAK,EAAE;QACL,KAAK,CAAC,QAAgB;YACpB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACtC,CAAC;QAED,OAAO,CAAC,QAAuB;YAC7B,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;KACF;IAED,OAAO;QACL,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1C,IAAI,CAAC,WAAW;YACb,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,iBAA4B,IAAI,EAAE,CAAC;IAC/D,CAAC;IAED,OAAO,EAAE;QACP,UAAU,CAAC,WAA0B,EAAE,IAAY;YACjD,KAAK,OAAO,CAAC,GAAG,CAAC;gBACf,MAAM;gBACJ,mCAAmC,CAAC,wCAAwC,CAC7E;gBACD,MAAM;gBACJ,mCAAmC,CAAC,yCAAyC,CAC9E;aACF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE;gBACtB,2BAA2B;gBAC1B,SAAiB,CAAC,OAAO,iCACrB,WAAW,KACd,aAAa,EAAE,uBAAuB;oBACtC,8CAA8C;oBAC9C,cAAc,EAAE;wBACd,YAAY,EAAE,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,MAAM;wBACnC,2BAA2B;wBACzB,WAAmB,CAAC,YAAyB,IAAI,EAAE,CACtD;qBACF,EACD,cAAc,EAAE,CACd,MAAwB,EACxB,MAAa,EACb,UAA2B,EAC3B,EAAE;wBACF,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,IAAI,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;wBACnD,MAAM,SAAS,GAAG,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;wBAEzD,IACE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC;4BAElE,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;;4BAC/D,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;oBACnC,CAAC,IACD,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;QAED,MAAM,CAAC,OAAsB,EAAE,IAAY;YACzC,IAAI,CAAC,GAAG,CAAC,SAAS;gBAChB,wDAAwD,CAAC;YAC3D,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QACjC,CAAC;KACF;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/theme/components/AlgoliaSearch/Dropdown.vue b/theme/components/AlgoliaSearch/Dropdown.vue deleted file mode 100644 index 79a941f..0000000 --- a/theme/components/AlgoliaSearch/Dropdown.vue +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -