Rodja Trappe 2 anos atrás
pai
commit
316192a99c
1 arquivos alterados com 0 adições e 9 exclusões
  1. 0 9
      website/build_search_data.py

+ 0 - 9
website/build_search_data.py

@@ -33,15 +33,6 @@ class DemoVisitor(ast.NodeVisitor):
                         'content': content,
                         'url': url
                     })
-                elif isinstance(function, ast.Attribute) and function.attr == 'text_demo':
-                    title = decorator.args[0].s
-                    content = textwrap.dedent(decorator.args[1].s)
-                    url = '/docs/' + node.name
-                    documents.append({
-                        'title': title,
-                        'content': content,
-                        'url': url
-                    })
         self.generic_visit(node)