doc: improve lang-reference doc