Here's a hypothetical scenario.

Suppose a Canadian woman marries the American ambassador to Turkey, and during his time of office she gives birth while in Turkey.

Does the offspring have an automatic right to Canadian citizenship? And does that apply even if the couple decides to settle in Turkey?

There needs to be some connection with Canada before that child can be considered a Canadian citizen.