Skip to content

Commit

Permalink
fix capitalizing of undefined _meta.json files (#1312)
Browse files Browse the repository at this point in the history
* fix

* fix

* fix

* update snapshots

* smallest snapshots
  • Loading branch information
dimaMachina committed Jan 20, 2023
1 parent 31eb522 commit 0c957db
Show file tree
Hide file tree
Showing 14 changed files with 133 additions and 296 deletions.
6 changes: 6 additions & 0 deletions .changeset/thirty-onions-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'nextra': patch
'nextra-theme-docs': patch
---

fix capitalizing of undefined _meta.json file/folders
8 changes: 4 additions & 4 deletions docs/pages/docs/_meta.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"index": "Introduction",
"guide": "Guide",
"guide": "",
"-- Themes --": {
"type": "separator",
"title": "Themes"
},
"docs-theme": "Docs Theme",
"blog-theme": "Blog Theme",
"custom-theme": "Custom Theme",
"docs-theme": "",
"blog-theme": "",
"custom-theme": "",
"-- About --": {
"type": "separator",
"title": "More"
Expand Down
6 changes: 2 additions & 4 deletions docs/pages/docs/docs-theme/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"start": "Get Started",
"page-configuration": {
"title": "Page Configuration"
},
"theme-configuration": "Theme Configuration",
"page-configuration": "",
"theme-configuration": "",
"built-ins": "Built-ins"
}
10 changes: 5 additions & 5 deletions docs/pages/docs/guide/_meta.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"organize-files": "Organize Files",
"markdown": "Markdown",
"syntax-highlighting": "Syntax Highlighting",
"organize-files": "",
"markdown": "",
"syntax-highlighting": "",
"ssg": "Next.js SSG",
"i18n": "Next.js I18n",
"image": "Next.js Image",
"link": "Next.js Link",
"latex": "LaTeX",
"typescript": "TypeScript",
"advanced": "Advanced"
"typescript": "",
"advanced": ""
}
4 changes: 0 additions & 4 deletions examples/swr-site/components/diagrams/infinite.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ import { useDraw } from "./use-draw";
const LOAD_MORE = {
"en-US":
"M354.49 309H359.761V307.866H355.807V300.273H354.49V309ZM363.918 309.132C365.763 309.132 366.969 307.781 366.969 305.757C366.969 303.72 365.763 302.369 363.918 302.369C362.073 302.369 360.867 303.72 360.867 305.757C360.867 307.781 362.073 309.132 363.918 309.132ZM363.923 308.062C362.717 308.062 362.154 307.01 362.154 305.753C362.154 304.5 362.717 303.435 363.923 303.435C365.12 303.435 365.683 304.5 365.683 305.753C365.683 307.01 365.12 308.062 363.923 308.062ZM370.297 309.145C371.379 309.145 371.988 308.595 372.231 308.105H372.282V309H373.527V304.653C373.527 302.749 372.027 302.369 370.987 302.369C369.802 302.369 368.711 302.847 368.285 304.04L369.483 304.312C369.67 303.848 370.147 303.401 371.004 303.401C371.826 303.401 372.248 303.831 372.248 304.572V304.602C372.248 305.067 371.771 305.058 370.595 305.195C369.355 305.339 368.085 305.663 368.085 307.151C368.085 308.438 369.052 309.145 370.297 309.145ZM370.574 308.122C369.853 308.122 369.333 307.798 369.333 307.168C369.333 306.486 369.939 306.243 370.676 306.145C371.089 306.089 372.069 305.979 372.252 305.795V306.639C372.252 307.415 371.635 308.122 370.574 308.122ZM377.674 309.128C378.867 309.128 379.336 308.399 379.566 307.982H379.673V309H380.917V300.273H379.643V303.516H379.566C379.336 303.111 378.901 302.369 377.683 302.369C376.102 302.369 374.938 303.618 374.938 305.74C374.938 307.858 376.085 309.128 377.674 309.128ZM377.955 308.041C376.817 308.041 376.225 307.04 376.225 305.727C376.225 304.428 376.805 303.452 377.955 303.452C379.067 303.452 379.664 304.359 379.664 305.727C379.664 307.104 379.055 308.041 377.955 308.041ZM386.013 300.273V309H387.266V302.68H387.347L389.921 308.987H390.961L393.535 302.685H393.616V309H394.869V300.273H393.271L390.492 307.057H390.39L387.612 300.273H386.013ZM399.438 309.132C401.283 309.132 402.489 307.781 402.489 305.757C402.489 303.72 401.283 302.369 399.438 302.369C397.593 302.369 396.387 303.72 396.387 305.757C396.387 307.781 397.593 309.132 399.438 309.132ZM399.442 308.062C398.236 308.062 397.674 307.01 397.674 305.753C397.674 304.5 398.236 303.435 399.442 303.435C400.64 303.435 401.202 304.5 401.202 305.753C401.202 307.01 400.64 308.062 399.442 308.062ZM403.911 309H405.185V305.003C405.185 304.146 405.846 303.528 406.749 303.528C407.013 303.528 407.312 303.575 407.414 303.605V302.386C407.286 302.369 407.035 302.357 406.873 302.357C406.106 302.357 405.45 302.791 405.211 303.494H405.143V302.455H403.911V309ZM411.103 309.132C412.531 309.132 413.541 308.429 413.831 307.364L412.625 307.146C412.395 307.764 411.841 308.08 411.116 308.08C410.025 308.08 409.292 307.372 409.258 306.111H413.912V305.659C413.912 303.294 412.497 302.369 411.014 302.369C409.19 302.369 407.988 303.759 407.988 305.77C407.988 307.803 409.173 309.132 411.103 309.132ZM409.262 305.156C409.314 304.227 409.987 303.422 411.022 303.422C412.011 303.422 412.659 304.155 412.663 305.156H409.262Z",

"es-ES": "",
"zh-CN": "",
ja: "",
ko: "",
ru: "M348.367 302.76c0-.453-.166-.813-.498-1.078-.328-.27-.791-.405-1.389-.405-.5 0-.919.139-1.259.416-.336.274-.504.614-.504 1.02h-1.125c0-.453.123-.859.369-1.219.25-.359.598-.639 1.043-.838.445-.203.937-.304 1.476-.304.954 0 1.694.214 2.221.644.528.426.791 1.02.791 1.781 0 .395-.121.754-.363 1.078-.242.325-.58.581-1.014.768 1.004.336 1.506 1.002 1.506 1.998 0 .766-.285 1.373-.855 1.822-.571.45-1.332.674-2.286.674-.566 0-1.082-.099-1.546-.299-.461-.203-.821-.49-1.079-.861-.257-.371-.386-.812-.386-1.324h1.125c0 .449.177.824.533 1.125.355.297.807.445 1.353.445.614 0 1.102-.142 1.465-.428.367-.285.551-.662.551-1.13 0-1-.619-1.51-1.857-1.53h-1.055v-.926h1.049c.57-.011 1.002-.14 1.295-.386.293-.246.439-.594.439-1.043ZM354.859 309c-.062-.125-.113-.348-.152-.668-.504.523-1.105.785-1.805.785-.625 0-1.138-.176-1.541-.527-.398-.356-.597-.805-.597-1.348 0-.66.25-1.172.75-1.535.504-.367 1.211-.551 2.121-.551h1.054v-.498c0-.379-.113-.679-.339-.902-.227-.227-.561-.34-1.002-.34-.387 0-.711.098-.973.293-.262.195-.393.432-.393.709h-1.089c0-.316.111-.621.334-.914.226-.297.531-.531.914-.703.386-.172.81-.258 1.271-.258.731 0 1.303.184 1.717.551.414.363.629.865.644 1.506v2.918c0 .582.075 1.044.223 1.388V309h-1.137Zm-1.798-.826c.339 0 .662-.088.966-.264.305-.176.526-.404.662-.685v-1.301h-.849c-1.328 0-1.992.388-1.992 1.166 0 .34.113.605.34.797.226.191.517.287.873.287ZM361.568 303.557h-2.923V309h-1.09v-6.34h4.013v.897ZM367.867 305.9c0 .965-.221 1.743-.662 2.332-.441.59-1.039.885-1.793.885-.769 0-1.375-.244-1.816-.732v3.053h-1.084v-8.778h.99l.053.703c.441-.547 1.054-.82 1.84-.82.761 0 1.363.287 1.804.861.446.575.668 1.373.668 2.397v.099Zm-1.084-.123c0-.715-.152-1.279-.457-1.693-.305-.414-.722-.621-1.254-.621-.656 0-1.148.291-1.476.873v3.029c.324.578.82.867 1.488.867.52 0 .932-.205 1.236-.615.309-.414.463-1.027.463-1.84ZM371.254 307.412l1.476-4.752h1.161l-2.549 7.319c-.395 1.054-1.022 1.582-1.881 1.582l-.205-.018-.404-.076v-.879l.293.023c.367 0 .652-.074.855-.222.207-.149.377-.42.51-.815l.24-.644-2.262-6.27h1.184l1.582 4.752ZM378.35 304.395c0-.297-.114-.532-.34-.704-.227-.175-.537-.263-.932-.263-.383 0-.703.099-.961.299-.254.199-.381.433-.381.703h-1.078c0-.551.231-1.002.692-1.354.461-.351 1.037-.527 1.728-.527.742 0 1.32.16 1.734.48.415.317.622.77.622 1.36 0 .285-.086.547-.258.785-.172.238-.416.428-.733.568.739.25 1.108.742 1.108 1.477 0 .582-.225 1.043-.674 1.383-.449.339-1.049.509-1.799.509-.73 0-1.334-.177-1.81-.533-.473-.359-.709-.844-.709-1.453h1.078c0 .309.136.574.41.797.277.219.621.328 1.031.328.414 0 .748-.096 1.002-.287.254-.192.381-.44.381-.744 0-.356-.107-.61-.322-.762-.211-.156-.541-.234-.991-.234h-1.084v-.914h1.178c.738-.02 1.108-.325 1.108-.914ZM385.059 302.66h1.084V309h-1.084v-4.623L382.135 309h-1.084v-6.34h1.084v4.629l2.924-4.629ZM392.594 303.539h-2.127V309h-1.084v-5.461h-2.086v-.879h5.297v.879ZM394.832 304.846h1.647c.718.008 1.287.195 1.705.562.418.367.627.865.627 1.494 0 .633-.215 1.141-.645 1.524-.43.383-1.008.574-1.734.574h-2.684v-6.34h1.084v2.186Zm0 .884v2.385h1.611c.407 0 .721-.103.944-.31.222-.211.334-.498.334-.862 0-.351-.11-.638-.328-.861-.215-.227-.518-.344-.909-.352h-1.652ZM405.771 309.117c-.859 0-1.558-.281-2.097-.844-.539-.566-.809-1.322-.809-2.267v-.199c0-.629.119-1.19.358-1.682.242-.496.578-.883 1.007-1.16.434-.281.903-.422 1.407-.422.824 0 1.465.271 1.922.814.457.543.685 1.321.685 2.332v.452h-4.295c.016.625.197 1.13.545 1.517.352.383.797.574 1.336.574.383 0 .707-.078.973-.234.265-.156.498-.363.697-.621l.662.516c-.531.816-1.328 1.224-2.391 1.224Zm-.134-5.683c-.438 0-.805.16-1.102.48-.297.316-.48.762-.551 1.336h3.176v-.082c-.031-.551-.18-.977-.445-1.277-.266-.305-.625-.457-1.078-.457ZM410.623 302.66v5.455h2.32v-5.455h1.084v5.455h2.315v-5.455h1.09v5.455h.89l-.105 2.766h-.973V309h-7.711v-6.34h1.09ZM422.131 309.117c-.86 0-1.559-.281-2.098-.844-.539-.566-.808-1.322-.808-2.267v-.199c0-.629.119-1.19.357-1.682.242-.496.578-.883 1.008-1.16.433-.281.902-.422 1.406-.422.824 0 1.465.271 1.922.814.457.543.686 1.321.686 2.332v.452h-4.295c.015.625.197 1.13.545 1.517.351.383.796.574 1.335.574.383 0 .707-.078.973-.234.266-.156.498-.363.697-.621l.662.516c-.531.816-1.328 1.224-2.39 1.224Zm-.135-5.683c-.437 0-.805.16-1.101.48-.297.316-.481.762-.551 1.336h3.176v-.082c-.032-.551-.18-.977-.446-1.277-.265-.305-.625-.457-1.078-.457Zm-1.892-2.467c0-.176.052-.322.158-.44.109-.121.269-.181.48-.181.211 0 .371.06.481.181.109.118.164.264.164.44s-.055.322-.164.439c-.11.117-.27.176-.481.176-.211 0-.371-.059-.48-.176-.106-.117-.158-.263-.158-.439Zm2.519.012c0-.176.053-.325.158-.446.11-.121.27-.181.481-.181.211 0 .371.06.48.181.11.121.164.27.164.446 0 .175-.054.322-.164.439-.109.117-.269.176-.48.176-.211 0-.371-.059-.481-.176-.105-.117-.158-.264-.158-.439Z",
};

Expand Down
4 changes: 0 additions & 4 deletions examples/swr-site/components/diagrams/welcome.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ import { useDraw } from "./use-draw";
const WELCOME_BACK = {
"en-US":
"M242.4 122h3.1l3.5-12.2h.2l3.4 12.2h3.2l4.9-17.5h-3.4l-3.2 12.9h-.1l-3.4-12.9h-3l-3.4 12.9h-.2l-3.1-12.9h-3.4l4.9 17.5zm24.8.3c3 0 5.2-1.5 5.7-3.8l-2.9-.3c-.4 1-1.4 1.7-2.7 1.7-2 0-3.4-1.4-3.4-3.6h9.1v-1c0-4.5-2.7-6.6-6-6.6-3.7 0-6.1 2.8-6.1 6.8 0 4.1 2.4 6.8 6.3 6.8zm-3.3-8c.1-1.8 1.3-3.2 3.2-3.2 1.8 0 3 1.3 3 3.1h-6.2zm14.8-9.8h-3V122h3v-17.5zm9 17.8c3.2 0 5.3-2 5.5-4.8h-3a2.6 2.6 0 01-2.6 2.2c-1.9 0-3.1-1.6-3.1-4.2 0-2.7 1.2-4.3 3.1-4.3 1.5 0 2.4 1 2.7 2.2h3c-.3-2.8-2.5-4.7-5.7-4.7-3.8 0-6.3 2.8-6.3 6.8s2.4 6.8 6.3 6.8zm13.8 0c3.8 0 6.2-2.7 6.2-6.8 0-4-2.4-6.8-6.2-6.8-3.9 0-6.3 2.7-6.3 6.8 0 4 2.4 6.8 6.3 6.8zm0-2.5c-2.1 0-3.2-2-3.2-4.3 0-2.4 1-4.3 3.2-4.3 2 0 3.1 1.9 3.1 4.3s-1 4.3-3.1 4.3zm8.9 2.2h3v-8c0-1.6 1.1-2.7 2.4-2.7 1.3 0 2.2 1 2.2 2.3v8.4h3v-8.2c0-1.4 1-2.5 2.4-2.5 1.3 0 2.3.8 2.3 2.4v8.3h3v-8.8c0-3-1.6-4.5-4-4.5-2 0-3.4 1-4 2.4h-.1c-.5-1.4-1.8-2.4-3.5-2.4-1.8 0-3.1 1-3.6 2.4h-.2V109h-3v13zm27.3.3c3 0 5.1-1.5 5.7-3.8l-2.9-.3c-.4 1-1.4 1.7-2.8 1.7-2 0-3.3-1.4-3.3-3.6h9.1v-1c0-4.5-2.8-6.6-6-6.6-3.7 0-6.2 2.8-6.2 6.8 0 4.1 2.4 6.8 6.4 6.8zm-3.3-8c0-1.8 1.3-3.2 3.2-3.2 1.7 0 3 1.3 3 3.1h-6.2zm17.8 7.7h3v-2h.2a4 4 0 003.8 2.2c3 0 5.4-2.4 5.4-6.7 0-4.4-2.4-6.8-5.4-6.8a3.9 3.9 0 00-3.8 2.4h-.1v-6.6h-3V122zm3-6.5c0-2.6 1.1-4.2 3.1-4.2s3.1 1.7 3.1 4.2c0 2.4-1 4.2-3 4.2s-3.2-1.7-3.2-4.2zm15.8 6.8c2 0 3.2-1 3.8-2.1h.1v1.8h3v-8.8c0-3.4-2.9-4.5-5.4-4.5-2.7 0-4.8 1.3-5.5 3.7l2.9.4c.3-1 1.2-1.7 2.7-1.7 1.4 0 2.2.7 2.2 2 0 1-1 1-3.3 1.2-2.5.3-5 1-5 4 0 2.6 2 4 4.5 4zm.8-2.3c-1.3 0-2.3-.6-2.3-1.7 0-1.2 1-1.7 2.5-1.9.8-.1 2.4-.3 2.8-.6v1.5c0 1.5-1.2 2.7-3 2.7zm14.9 2.3c3.3 0 5.4-2 5.6-4.8h-3a2.6 2.6 0 01-2.6 2.2c-2 0-3.2-1.6-3.2-4.2 0-2.7 1.3-4.3 3.2-4.3 1.5 0 2.4 1 2.6 2.2h3c-.2-2.8-2.4-4.7-5.6-4.7-3.9 0-6.3 2.8-6.3 6.8s2.4 6.8 6.3 6.8zm8.1-.3h3.1v-4.4l1.1-1.2 4 5.6h3.7l-5.3-7.4 5-5.7h-3.6l-4.7 5.3h-.2v-9.7h-3V122zm17.3-2.4h-2.7v1c-.2 2.3-.8 4.6-1 5.7h2c.4-1.1 1.4-3.6 1.6-5.7l.1-1z",

"es-ES": "",
"zh-CN": "",
ja: "",
ko: "",
ru: "M213.983 115.982c-.186 1.972-.914 3.513-2.183 4.622-1.27 1.1-2.958 1.65-5.066 1.65-1.472 0-2.771-.347-3.897-1.041-1.117-.703-1.981-1.697-2.59-2.984-.609-1.286-.927-2.78-.952-4.481v-1.727c0-1.743.309-3.279.927-4.608.618-1.329 1.502-2.353 2.653-3.072 1.16-.72 2.497-1.079 4.012-1.079 2.039 0 3.681.554 4.925 1.663 1.245 1.109 1.968 2.674 2.171 4.697h-3.199c-.152-1.329-.541-2.285-1.168-2.869-.618-.593-1.527-.889-2.729-.889-1.397 0-2.472.512-3.225 1.536-.745 1.016-1.126 2.51-1.142 4.482v1.638c0 1.997.355 3.52 1.066 4.57.719 1.049 1.769 1.574 3.148 1.574 1.261 0 2.209-.283 2.844-.851.635-.567 1.037-1.51 1.206-2.831h3.199ZM223.276 122v-13.736h5.574c1.879 0 3.309.33 4.291.99.981.652 1.472 1.591 1.472 2.818 0 .635-.199 1.206-.596 1.714-.39.499-.969.885-1.74 1.155.897.187 1.608.563 2.133 1.13.525.567.787 1.236.787 2.006 0 1.278-.474 2.251-1.422 2.92-.939.669-2.293 1.003-4.062 1.003h-6.437Zm3.085-5.853v3.415h3.377c1.583 0 2.374-.567 2.374-1.701 0-1.142-.804-1.714-2.412-1.714h-3.339Zm0-2.209h2.539c1.752 0 2.628-.516 2.628-1.548 0-1.084-.829-1.642-2.488-1.676h-2.679v3.224ZM237.292 115.005c0-1.346.267-2.556.8-3.631.533-1.083 1.282-1.913 2.247-2.488.965-.584 2.073-.876 3.326-.876 1.854 0 3.356.596 4.507 1.79 1.159 1.193 1.786 2.776 1.879 4.748l.012.723c0 1.355-.262 2.565-.787 3.631-.516 1.067-1.261 1.892-2.234 2.476-.965.584-2.082.876-3.352.876-1.938 0-3.491-.643-4.659-1.93-1.159-1.295-1.739-3.017-1.739-5.167v-.152Zm3.085.266c0 1.414.292 2.523.876 3.327.584.795 1.396 1.193 2.437 1.193s1.85-.406 2.425-1.219c.584-.812.876-2.001.876-3.567 0-1.388-.3-2.488-.901-3.301-.593-.812-1.401-1.219-2.425-1.219-1.007 0-1.807.402-2.399 1.206-.593.796-.889 1.989-.889 3.58ZM263.076 112.021c0 .61-.186 1.173-.558 1.689-.364.508-.881.914-1.549 1.219 1.574.55 2.361 1.612 2.361 3.186 0 1.261-.512 2.268-1.536 3.022-1.024.745-2.395 1.117-4.113 1.117-1.05 0-2.006-.174-2.869-.521-.864-.355-1.537-.854-2.019-1.498-.482-.651-.724-1.422-.724-2.31h3.073c0 .558.249 1.028.749 1.409.499.372 1.13.559 1.891.559.753 0 1.35-.174 1.79-.521.449-.355.673-.817.673-1.384 0-.668-.195-1.151-.584-1.447-.389-.296-.99-.444-1.803-.444h-2.209v-2.222h2.286c1.379-.017 2.069-.584 2.069-1.701 0-.559-.199-.995-.597-1.308-.398-.313-.943-.47-1.637-.47-.678 0-1.249.17-1.714.508-.466.33-.699.749-.699 1.257h-3.072c0-1.21.508-2.2 1.524-2.971 1.015-.778 2.306-1.168 3.872-1.168 1.701 0 3.025.347 3.973 1.041s1.422 1.68 1.422 2.958ZM266.187 122v-13.736h5.573c1.879 0 3.309.33 4.291.99.982.652 1.472 1.591 1.472 2.818 0 .635-.198 1.206-.596 1.714-.39.499-.969.885-1.739 1.155.897.187 1.608.563 2.132 1.13.525.567.787 1.236.787 2.006 0 1.278-.474 2.251-1.421 2.92-.94.669-2.294 1.003-4.063 1.003h-6.436Zm3.084-5.853v3.415h3.377c1.583 0 2.374-.567 2.374-1.701 0-1.142-.804-1.714-2.412-1.714h-3.339Zm0-2.209h2.54c1.751 0 2.627-.516 2.627-1.548 0-1.084-.829-1.642-2.488-1.676h-2.679v3.224ZM292.809 115.271c0 2.125-.483 3.822-1.448 5.091-.965 1.261-2.259 1.892-3.884 1.892-1.507 0-2.713-.495-3.619-1.485v6.512h-3.085v-19.017h2.844l.127 1.396c.906-1.1 2.137-1.65 3.694-1.65 1.676 0 2.988.626 3.936 1.879.956 1.244 1.435 2.975 1.435 5.192v.19Zm-3.073-.266c0-1.371-.275-2.459-.825-3.263-.542-.804-1.32-1.206-2.336-1.206-1.261 0-2.166.521-2.717 1.562v6.093c.559 1.067 1.473 1.6 2.743 1.6.981 0 1.747-.394 2.297-1.181.559-.795.838-1.997.838-3.605ZM303.638 122c-.136-.262-.254-.69-.356-1.282-.982 1.024-2.183 1.536-3.605 1.536-1.38 0-2.505-.394-3.377-1.181-.872-.787-1.308-1.76-1.308-2.92 0-1.464.542-2.585 1.625-3.364 1.092-.787 2.649-1.181 4.672-1.181h1.892v-.901c0-.711-.199-1.278-.597-1.701-.398-.432-1.003-.648-1.815-.648-.703 0-1.278.178-1.727.534-.449.347-.673.791-.673 1.333h-3.085c0-.754.25-1.456.749-2.108.5-.66 1.177-1.176 2.031-1.549.864-.372 1.824-.558 2.882-.558 1.608 0 2.891.406 3.847 1.219.956.804 1.447 1.938 1.473 3.402v6.195c0 1.236.173 2.222.52 2.958V122h-3.148Zm-3.39-2.222c.609 0 1.181-.148 1.714-.444.542-.296.948-.694 1.219-1.193v-2.59h-1.663c-1.143 0-2.002.199-2.578.596-.575.398-.863.961-.863 1.689 0 .592.195 1.066.584 1.422.398.347.927.52 1.587.52ZM312.601 108.264v11.273h4.291v-11.273h3.085v11.273h4.303v-11.273h3.073v11.273h2.348l-.254 6.538h-2.805V122h-17.126v-13.736h3.085ZM337.813 122.254c-1.955 0-3.542-.614-4.76-1.841-1.211-1.236-1.816-2.878-1.816-4.926v-.381c0-1.371.263-2.594.787-3.668.534-1.084 1.278-1.926 2.235-2.527.956-.601 2.023-.901 3.199-.901 1.87 0 3.313.596 4.329 1.79 1.024 1.193 1.536 2.882 1.536 5.065v1.244h-8.975c.093 1.134.469 2.032 1.13 2.692.668.66 1.506.99 2.513.99 1.414 0 2.565-.571 3.453-1.714l1.663 1.587c-.55.821-1.286 1.46-2.209 1.917-.914.449-1.942.673-3.085.673Zm-.368-11.769c-.846 0-1.532.297-2.056.889-.517.592-.847 1.418-.991 2.476h5.878v-.229c-.067-1.032-.342-1.811-.825-2.336-.482-.533-1.151-.8-2.006-.8ZM357.364 122h-3.085v-5.548h-5.344V122h-3.085v-13.736h3.085v5.725h5.344v-5.725h3.085V122ZM369.234 108.264h3.073V122h-3.073v-9.166L363.852 122h-3.073v-13.736h3.073v9.166l5.382-9.166ZM381.638 122.254c-1.955 0-3.542-.614-4.761-1.841-1.21-1.236-1.815-2.878-1.815-4.926v-.381c0-1.371.262-2.594.787-3.668.533-1.084 1.278-1.926 2.234-2.527.956-.601 2.023-.901 3.199-.901 1.871 0 3.314.596 4.329 1.79 1.024 1.193 1.536 2.882 1.536 5.065v1.244h-8.975c.093 1.134.47 2.032 1.13 2.692.668.66 1.506.99 2.513.99 1.414 0 2.565-.571 3.454-1.714l1.663 1.587c-.55.821-1.287 1.46-2.209 1.917-.914.449-1.943.673-3.085.673Zm-.368-11.769c-.847 0-1.532.297-2.057.889-.516.592-.846 1.418-.99 2.476h5.878v-.229c-.068-1.032-.343-1.811-.826-2.336-.482-.533-1.151-.8-2.005-.8ZM397.71 118.204l4.062-9.94h3.86V122h-3.085v-9.09l-3.783 9.09h-2.095l-3.796-9.141V122h-3.085v-13.736h3.885l4.037 9.94ZM409.542 126.164l-1.663-.99c.491-.77.825-1.443 1.003-2.019.186-.567.283-1.147.292-1.739v-2.399h2.78l-.013 2.221c-.008.897-.237 1.795-.685 2.692-.44.905-1.012 1.65-1.714 2.234Z",
};

Expand Down
1 change: 0 additions & 1 deletion examples/swr-site/pages/about/_meta.en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"team": "👥 Team",
"acknowledgement": "🧩 Acknowledgement",
"a-page": {
"title": "A Page",
"type": "page",
"display": "hidden",
"theme": {
Expand Down
27 changes: 11 additions & 16 deletions examples/swr-site/pages/docs/_meta.en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,29 @@
"title": "Getting Started",
"type": "separator"
},
"getting-started": "Getting Started",
"options": "Options",
"global-configuration": "Global Configuration",
"data-fetching": "Data Fetching",
"getting-started": {},
"options": {},
"global-configuration": {},
"data-fetching": {},
"error-handling": {
"title": "Error Handling",
"display": "hidden"
},
"revalidation": "Auto Revalidation",
"conditional-fetching": "Conditional Data Fetching",
"arguments": "Arguments",
"mutation": "Mutation",
"pagination": "Pagination",
"arguments": {},
"mutation": {},
"pagination": {},
"--- my_new_separator": {
"title": "Advanced",
"type": "separator"
},
"prefetching": "Prefetching",
"prefetching": {},
"with-nextjs": "Next.js SSG and SSR",
"typescript": "TypeScript :)",
"suspense": "Suspense",
"middleware": "Middleware",
"advanced": {
"title": "Advanced"
},
"suspense": {},
"middleware": {},
"advanced": {},
"change-log": {
"title": "Change Log",
"theme": {
"sidebar": false
}
Expand All @@ -43,7 +39,6 @@
"wrap-toc-items": "Wrap Table of Content Items",
"404-500": "404/500 Custom Error Pages",
"raw-layout": {
"title": "Raw Layout",
"theme": {
"layout": "raw"
}
Expand Down
5 changes: 2 additions & 3 deletions examples/swr-site/pages/examples/_meta.en-US.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"basic": "Basic Usage",
"auth": "Authentication",
"infinite-loading": "Infinite Loading",
"error-handling": "Error Handling",
"infinite-loading": {},
"error-handling": {},
"ssr": "Next.js SSR",
"full": {
"title": "Full",
"theme": {
"layout": "raw"
}
Expand Down

1 comment on commit 0c957db

@vercel
Copy link

@vercel vercel bot commented on 0c957db Jan 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.