Update documentation build script
Use ruby identifier for ruby code snippets