Pagination for static pages

Does rails provide a way to achieve pagination, while reading data from
yaml document or from an excel sheet.

Have you googled?

Try googling rails pagination and you’ll find a decent discussion on SO
at
the top of the results list - well I just have and it took about 30 secs
to
find and scan the the SO answers.

Pagination on Active Record and with arrays are pretty common and i have
used that, I wanted to know about pagination on the content of yaml
document.

Try out ContentSlider.js …