 
     getModFuncArity = =>
       [mod, func] = splitModuleAndFunc(@viewId)
+      docSubject = @element.querySelector('.docsContent blockquote p').innerText
+      [docMod, docFunc] = splitModuleAndFunc(docSubject.replace(/\(.*\)/, ''))
+      if mod != docMod
+        mod = docMod
       if func?
-        arity = @element.querySelector('.markdownContent blockquote p').innerText.split(',').length
+        arity = docSubject.split(',').length        
       [mod, func, arity]
 
     @on 'click', ".docs", ->

    @renderDocs()

  renderDocs: =>
    @element.querySelector('.markdownContent').innerHTML = markdownToHTML(@docs)

  renderTypes: =>
    @element.querySelector('.markdownContent').innerHTML = markdownToHTML(@types)

  renderCallbacks: =>
    @element.querySelector('.markdownContent').innerHTML = markdownToHTML(@callbacks)

  getTitle: ->
    "Elixir Docs - #{@viewId}"

          @button class: "btn callbacks", "Callbacks"
        @a class: 'link pull-right', style: 'margin-top: 14px;', 'See Online Docs'
        @hr style: 'clear: both;'
      @div class: 'markdownContent docsContent padded'
      @div class: 'markdownContent typesContent padded', style: 'display: none'
      @div class: 'markdownContent callbacksContent padded', style: 'display: none'

  constructor: ({@viewId, @source}) ->
    super
