== Texts ==
[[Kalpa Vedanga (कल्पवेदाङ्गम्)|Kalpa Vedanga]] which included the [[Dharmasutras (धर्मसूत्राणि)]], followed by Smrtis, Dharmashastras, more recently the Nibandhas (Nirnayasindhu, Dharmasindhu to name a few are dated works) are the four kinds of texts in which the dharmas evolved in the context of codes of conduct and justice. However, there are various versions about the vidhis of topics in different texts. For example, Baudhayaya recognises 8 kinds of marriage, of which Apastamba mentions only 6 omitting prajapatya and paisacha kinds of marriages. The Itihasas also played a significant role in shaping dharmashastras so as the puranas.
== References ==