What is the written record of St. James' tomb?

In August13, the tomb of St. James was discovered by a hermit, which quickly changed the historical position of Santiago in Spain. According to the report, the hermit who found the ancient tomb suddenly found that the stars were unusually bright that night, and he had a premonition that some miracle was about to happen. The hermit put on his clothes, went on his way, followed the guidance of starlight and entered Shan Ye. At the end, the tomb of St. James suddenly appeared in front of him. This day was July 25th, August18, and was later designated as St James' Day. The name San Diego proves this ancient legend. After the tomb of the Saints was discovered, then King Alfonso II and Archbishop Theodore Miro ordered the construction of a church on the tomb for worshippers, hoping to turn this place into a center for Spanish Catholic activities. But the early churches were small and crude, and there was only a small fence around them to defend against Normandy attacks. By the time Bishop Leonardo II ascended the throne, San Diego was already quite large, and the wooden fence that originally protected the holy tomb was replaced by a stone wall.