add doc options to wikidoc rule