class_docstr: Generates the documentation.
  
  # Arguments
  
      pages: A dictionary. The keys are the files' paths, the values
          are lists of strings, functions /classes / methods names
          with dotted access to the object. For example,
          `pages = {'my_file.md': ['keras.layers.Dense']}` is valid.
      project_url: The url pointing to the module directory of your project on
          GitHub. This will be used to make a `[Sources]` link.
      template_dir: Where to put the markdown files which will be copied and
          filled in the destination directory. You should put files like
          `index.md` inside. If you want a markdown file to be filled with
          the docstring of a function, use the `{{autogenerated}}` tag inside,
          and then add the markdown file to the `pages` dictionary.
      example_dir: Where you store examples in your project. Usually
          standalone files with a markdown docstring at the top. Will be
          inserted in the docs.
      extra_aliases: When displaying type hints, it's possible that the full
          dotted path is displayed instead of alias. The aliases present in
          `pages` are used, but it may happen if you're using a third-party
          library. For example `tensorflow.python.ops.variables.Variable` is
          displayed instead of `tensorflow.Variable`. Here you have two
          solutions, either you provide the import keras-autodoc should
          follow:
          `extra_aliases=["tensorflow.Variable"]`, either you provide a
          mapping to use
          `extra_aliases={"tensorflow.python.ops.variables.Variable":
          "tf.Variable"}`.  The second option should be used if you want more
          control and that you don't want to respect the alias corresponding
          to the import (you can't do `import tf.Variable`). When giving a
          list, keras-autodoc will try to import the object from the string to
          understand what object you want to replace.
      max_signature_line_length: When displaying class and function
          signatures, keras-autodoc formats them using Black. This parameter
          controls the maximum line length of these signatures, and is passed
          directly through to Black.
      titles_size: `"#"` signs to put before a title in the generated
          markdown.
class_docstr_tok: ["Generates","the","documentation",".","#","Arguments","pages",":","A","dictionary",".","The","keys","are","the","files","'","paths",",","the","values","are","lists","of","strings",",","functions","\/classes","\/","methods","names","with","dotted","access","to","the","object",".","For","example",",","`","pages","=","{","'my_file.md","'",":","[","'keras.layers.Dense","'","]","}","`","is","valid",".","project_url",":","The","url","pointing","to","the","module","directory","of","your","project","on","GitHub",".","This","will","be","used","to","make","a","`","[","Sources","]","`","link",".","template_dir",":","Where","to","put","the","markdown","files","which","will","be","copied","and","filled","in","the","destination","directory",".","You","should","put","files","like","`","index.md","`","inside",".","If","you","want","a","markdown","file","to","be","filled","with","the","docstring","of","a","function",",","use","the","`","{","{","autogenerated","}","}","`","tag","inside",",","and","then","add","the","markdown","file","to","the","`","pages","`","dictionary",".","example_dir",":","Where","you","store","examples","in","your","project",".","Usually","standalone","files","with","a","markdown","docstring","at","the","top",".","Will","be","inserted","in","the","docs",".","extra_aliases",":","When","displaying","type","hints",",","it","'s","possible","that","the","full","dotted","path","is","displayed","instead","of","alias",".","The","aliases","present","in","`","pages","`","are","used",",","but","it","may","happen","if","you","'re","using","a","third-party","library",".","For","example","`","tensorflow.python.ops.variables.Variable","`","is","displayed","instead","of","`","tensorflow.Variable","`",".","Here","you","have","two","solutions",",","either","you","provide","the","import","keras-autodoc","should","follow",":","`","extra_aliases=","[","``","tensorflow.Variable","''","]","`",",","either","you","provide","a","mapping","to","use","`","extra_aliases=","{","``","tensorflow.python.ops.variables.Variable","''",":","``","tf.Variable","''","}","`",".","The","second","option","should","be","used","if","you","want","more","control","and","that","you","do","n't","want","to","respect","the","alias","corresponding","to","the","import","(","you","ca","n't","do","`","import","tf.Variable","`",")",".","When","giving","a","list",",","keras-autodoc","will","try","to","import","the","object","from","the","string","to","understand","what","object","you","want","to","replace",".","max_signature_line_length",":","When","displaying","class","and","function","signatures",",","keras-autodoc","formats","them","using","Black",".","This","parameter","controls","the","maximum","line","length","of","these","signatures",",","and","is","passed","directly","through","to","Black",".","titles_size",":","`","``","#","''","`","signs","to","put","before","a","title","in","the","generated","markdown","."]
code: def _render(self, element):
      if isinstance(element, str):
          object_ = utils.import_object(element)
          if utils.ismethod(object_):
              # we remove the modules when displaying the methods
              signature_override = ".".join(element.split(".")[-2:])
          else:
              signature_override = element
      else:
          signature_override = None
          object_ = element
  
      return self._render_from_object(object_, signature_override)
  
imports: import pathlib
  import shutil
  from inspect import getdoc
  from inspect import isclass
  from typing import Dict
  from typing import List
  from typing import Union
  from typing import get_type_hints
  from .None import utils
  from .docstring import process_docstring
  from .examples import copy_examples
  from .get_signatures import get_signature
label_desc: Use image node_id 5 for calling the DocumentationGenerator obj's underlying member method code with example usage: obj._render(element) and returns: self