We study the anomalous Hall Effect (AHE) of single-crystalline Co$_3$Sn$_{2-x}$In$_x$S$_2$ over a large range of indium concentration x from 0 to 1. Their magnetization reduces progressively with increasing x while their ground state evolves from a ferromagnetic Weyl semimetal into a nonmagnetic insulator. Remarkably, after systematically scaling the AHE, we find that their intrinsic anomalous Hall conductivity (AHC) features an unexpected maximum at around x = 0.15. The change of the intrinsic AHC corresponds with the doping evolution of Berry curvature and the maximum arises from the magnetic topological nodal-ring gap. Our experimental results show a larger AHC in a fundamental nodal-ring gap than that of Weyl nodes.