<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>AtomCode 文档 / Documentation</title>
<meta http-equiv="refresh" content="0; url=./zh/index.html">
<script>
(function(){
  try {
    var lang = localStorage.getItem('atomcode_lang');
    if (lang !== 'en') lang = 'zh'; // default to zh
    // also honour ?lang=en|zh
    var qs = location.search.match(/[?&]lang=(en|zh)/);
    if (qs) lang = qs[1];
    location.replace('./' + lang + '/index.html');
  } catch (e) {
    location.replace('./zh/index.html');
  }
})();
</script>
</head>
<body>
<p>Redirecting to <a href="./zh/index.html">中文文档</a> / <a href="./en/index.html">English docs</a></p>
</body>
</html>