diff options
| author | ruki <[email protected]> | 2017-02-04 23:53:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-04 23:53:22 +0800 |
| commit | cefe3ab24a2606472346d25211c13b63e8211e48 (patch) | |
| tree | 2dcb01fae526b05d4d85cbb7548941d2ecad1182 | |
| parent | 150c46169b90eca734f65ca1f979cf291f5feeb0 (diff) | |
add baidu stats for docs
| -rw-r--r-- | docs/articles.md | 4 | ||||
| -rw-r--r-- | docs/config.js | 6 | ||||
| -rw-r--r-- | docs/index.html | 10 | ||||
| -rwxr-xr-x | docs/zh/articles.md | 5 |
4 files changed, 10 insertions, 15 deletions
diff --git a/docs/articles.md b/docs/articles.md deleted file mode 100644 index 616f7068c..000000000 --- a/docs/articles.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -search: english ---- - diff --git a/docs/config.js b/docs/config.js index 398fd40b6..70b79a3d7 100644 --- a/docs/config.js +++ b/docs/config.js @@ -21,9 +21,6 @@ self.$config = { title: 'Manual', path: '/manual' }, { - title: 'Articles', path: '/articles' - }, - { title: 'Blog', path: 'http://www.tboox.org' }, { @@ -41,9 +38,6 @@ self.$config = { title: '手册', path: '/zh/manual' }, { - title: '文章', path: '/zh/articles' - }, - { title: '博客', path: 'http://www.tboox.org/cn' }, { diff --git a/docs/index.html b/docs/index.html index b3908004b..613dedd39 100644 --- a/docs/index.html +++ b/docs/index.html @@ -6,6 +6,16 @@ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" /> <title>xmake</title> <link rel="stylesheet" href="https://unpkg.com/docute@2/dist/docute.css"> + <!-- baidu stats --> + <script> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?eb3c91c672a001d78a113bfb8e42017a"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + </script> </head> <body> <!-- don't remove this part start --> diff --git a/docs/zh/articles.md b/docs/zh/articles.md deleted file mode 100755 index 5f50a7401..000000000 --- a/docs/zh/articles.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -nav: zh -search: zh ---- - |
