Carbon doped molybdenum disulfide nanosheets stabilized on graphene for the hydrogen evolution reaction with high electrocatalytic ability.