docs: function(state) {
              // Check if state has explicit parent OR we try guess parent from its name
              var parent = state.parent || (/^(.+)\.[^.]+$/.exec(state.name) || [])[1];
              var isObjectParent = typeof parent === "object";
              // if parent is a object reference, then extract the name
              return isObjectParent ? parent.name : parent;
          }