According to Wikipedia, the canonical coordinates $p, q$ of analytical mechanics form a conjugate variables' pair - not just a canonically conjugate one.
However, the "conjugate variables" I directly think of are the quantities of thermodynamics - e.g. Temperature and Entropy, etc.
So, why both these classes of variables are called "conjugate"? What is the relation among them?