浏览代码

clean up entries.rb

Mathieu PATUREL 6 年之前
父节点
当前提交
65c2220115
共有 2 个文件被更改,包括 2 次插入3 次删除
  1. 1 2
      lib/docs/filters/trio/entries.rb
  2. 1 1
      public/docs/docs.json

+ 1 - 2
lib/docs/filters/trio/entries.rb

@@ -38,8 +38,7 @@ module Docs
             name = cls + name
           end
 
-          id = node.parent['id']
-          entries << [name, id]
+          entries << [name, node.parent['id']]
         end
       end
     end

+ 1 - 1
public/docs/docs.json

@@ -63,7 +63,7 @@
       "code": "https://github.com/python-trio/trio"
     },
     "release": "0.11",
-    "mtime": 1556279513,
+    "mtime": 1556326478,
     "db_size": 757201
   }
 ]