duckdb-web icon indicating copy to clipboard operation
duckdb-web copied to clipboard

Proposal: Add Next and Back Navigation Buttons to the Documentation

Open corwinjoy opened this issue 1 year ago • 0 comments

I would like to add Next and Back navigation buttons to the documentation. I found it a bit awkward to navigate the documentation using only the sidebar index and I think that standard Next and Back buttons would improve the reading experience. Do others feel the same / is there interest in this?

In terms of implementation, there does not seem to be a drop-in template for this in Jekyll. But, I think it can be done via

  1. Adapting the Next, Back button code from the Jekyll introduction tutorial: https://github.com/jekyll/jekyll/blob/master/docs/_includes/section_nav_tutorials.html

  2. Use the information from the index page to establish the next/back order. That is: '_data/menu_docs_dev.json'

I've never actually done any Ruby development before, but this seems reasonably straightforward, I think.

corwinjoy avatar May 09 '24 23:05 corwinjoy