瀏覽代碼

Update READMEs and make links work

Michelle Bu 11 年之前
父節點
當前提交
720d534dec
共有 2 個文件被更改,包括 8 次插入6 次删除
  1. 6 0
      docs/index.js
  2. 2 6
      docs/readme.md

+ 6 - 0
docs/index.js

@@ -16,6 +16,12 @@ $(document).ready(function() {
     init();
   });
 
+  var hash = window.location.hash;
+  if (hash === '#start' && width < THRESHOLD) {
+    hideAPI();
+  }
+
+
   function init() {
     if (width < THRESHOLD) {
       $api.addClass('fullscreen');

+ 2 - 6
docs/readme.md

@@ -1,11 +1,7 @@
 ## PeerJS Documentation
 
-**Due to browsers' incomplete support of the WebRTC DataChannel specification, many features of PeerJS have caveats.
-[View the status page for full details](http://peerjs.com/status).**
-
-###[API Reference](https://github.com/peers/peerjs/blob/master/docs/api.md)
-
-###[Getting started](http://peerjs.com/start)
+We've moved! <a href="http://peerjs.com/docs">Check out our new
+documentation.</a>
 
 ###[Browser compatibility and limitations](http://peerjs.com/status)