A shipyard, sometimes more formally known as a starship construction yard, was a facility where starships were constructed, repaired, or refitted. Drydocks were often found at shipyards. Shipyards were typically commanded by a yard superintendent. They could be ground based (such as the Riverside Shipyard or parts of the Utopia Planitia Fleet Yards) or out in space (such as the ones at McKinley Station).
According to Jonathan Archer's review of the Vulcan database, he learned that as of 2151, the Coridans had "the largest starship construction yards in the sector." Trip Tucker also noted that the ships built there were equally impressive. (ENT: "Shadows of P'Jem")