libopkele: add option for building docs

Closes #24790.