[
  {
    "path": "docs/404.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\" />\n    <title>Redirecting to new domain</title>\n    <script>\n      // Extract the requested path from the URL and remove the \"/birdwatch/\" subdirectory\n      var requestedPath = window.location.pathname.replace(/^\\/birdwatch/, \"\");\n      \n      // If the requested path is root, redirect to root of new site\n      if (window.location.pathname === '/birdwatch/') {\n          window.location.replace(\n          \"https://communitynotes.twitter.com/guide\")\n      }\n      \n      // If the requested path ends in \".html\", remove the extension\n      if (requestedPath.match(/\\.html$/)) {\n        requestedPath = requestedPath.replace(/\\.html$/, \"\");\n      }\n\n      // Redirect variations of subroutes to a single URL\n      var aliases = {\n        \"/learn-more\": \"/\",\n        \"/intro\": \"/\",\n        \"/overview\": \"/\",\n        \"/additional-review\": \"/contributing/additional-review\",\n        \"/aliases\": \"/contributing/aliases\",\n        \"/contributing/aliases\": \"/contributing/aliases\",\n        \"/challenges\": \"/about/challenges\",\n        \"/risks\": \"/about/challenges\",\n        \"/about/challenges\": \"/about/challenges\",\n        \"/contributor-scores\": \"/under-the-hood/contributor-scores\",\n        \"/contributor-reputation\": \"/under-the-hood/contributor-scores\",\n        \"/diversity-of-perspectives\": \"/contributing/diversity-of-perspectives\",\n        \"/diversity\": \"/contributing/diversity-of-perspectives\",\n        \"/perspectives\": \"/contributing/diversity-of-perspectives\",\n        \"/data\": \"/under-the-hood/download-data\",\n        \"/about/data\": \"/under-the-hood/download-data\",\n        \"/contributing/data\": \"/under-the-hood/download-data\",\n        \"/note-examples\": \"/contributing/examples\",\n        \"/examples\": \"/contributing/examples\",\n        \"/contributing/examples\": \"/contributing/examples\",\n        \"/tips/\": \"/contributing/examples\",\n        \"/note-writing-tips/\": \"/contributing/examples\",\n        \"/faq\": \"/about/faq\",\n        \"/about/faq\": \"/about/faq\",\n        \"/submit-feedback\": \"/contributing/feedback\",\n        feedback: \"/contributing/feedback\",\n        \"/contributing/submit-feedback\": \"/contributing/feedback\",\n        \"/contributing/feedback\": \"/contributing/feedback\",\n        \"/getting-started\": \"/contributing/getting-started\",\n        \"/guardrails\": \"/under-the-hood/guardrails\",\n        \"/note-ranking-code\": \"/under-the-hood/note-ranking-code\",\n        \"/ranking-code\": \"/under-the-hood/note-ranking-code\",\n        \"/code\": \"/under-the-hood/note-ranking-code\",\n        \"/notes-on-twitter\": \"/contributing/notes-on-twitter\",\n        \"/cards-on-twitter\": \"/contributing/notes-on-twitter\",\n        \"/notes-on-tweets\": \"/contributing/notes-on-twitter\",\n        \"/contributing/notes-on-twitter\": \"/contributing/notes-on-twitter\",\n        \"/alerts\": \"/contributing/notifications\",\n        \"/ranking-notes\": \"/under-the-hood/ranking-notes\",\n        \"/note-ranking\": \"/under-the-hood/ranking-notes\",\n        \"/about/note-ranking\": \"/under-the-hood/ranking-notes\",\n        \"/about/ranking-notes\": \"/under-the-hood/ranking-notes\",\n        \"/rating-notes\": \"/contributing/rating-notes\",\n        \"/contributing/rating-notes\": \"/contributing/rating-notes\",\n        \"/contributing/rating\": \"/contributing/rating-notes\",\n        \"/join\": \"/contributing/sign-up\",\n        \"/signup\": \"/contributing/sign-up\",\n        \"/contributing/signup\": \"/contributing/sign-up\",\n        \"/sign-up\": \"/contributing/sign-up\",\n        \"/signing-up\": \"/contributing/sign-up\",\n        \"/timeline-tabs\": \"/under-the-hood/timeline-tabs\",\n        \"/values\": \"/contirbuting/values\",\n        \"/writing-ability\": \"/contributing/writing-ability\",\n        \"/impact\": \"/contributing/writing-and-rating-impact\",\n        \"/birdwatch-scores\": \"/contributing/writing-and-rating-impact\",\n        \"/writing-and-rating-impact\": \"/contributing/writing-and-rating-impact\",\n        \"/rating-and-writing-impact\": \"/contributing/writing-and-rating-impact\",\n        \"/writing-notes\": \"/contributing/writing-notes\",\n        \"/writing-and-rating-notes\": \"/contributing/writing-notes\",\n      };\n\n      // Find alias in object, or alias minus a trailing slash\n      if (aliases[requestedPath]) {\n        window.location.replace(\n          \"https://communitynotes.twitter.com/guide\" + aliases[requestedPath]\n        );\n      } else if (aliases[requestedPath.slice(0, -1)]) {\n        window.location.replace(\n          \"https://communitynotes.twitter.com/guide\" +\n            aliases[requestedPath.slice(0, -1)]\n        );\n      } else {\n        window.location.replace(\n          \"https://communitynotes.twitter.com/guide\" + requestedPath\n        );\n      }\n    </script>\n  </head>\n  <body></body>\n</html>\n"
  },
  {
    "path": "readme.md",
    "content": "## This repository has moved\n\nThe repo https://twitter.github.io/birdwatch/ now lives in https://twitter.github.io/communitynotes/.\n\nThis repository is only maintained to redirect URLs from the archived Birdwatch site (eg. https://twitter.github.io/birdwatch/), to our new site: (https://communitynotes.twitter/guide).\n"
  }
]