doctrine-website
doctrine-website copied to clipboard
Add next/previous chapter buttons to the docs
Hi @jwage
Can I have more details to implement this?
Hi @lex111, the only way I've thought to be able to do it is with javascript on the client side by looking at the open chapter in the sidebar and then get the next/prev one in the html dom to generate the next/prev links. Screenshot attached of what I am referring to.

The more "proper" way would be to figure out to do it in doctrine/rst-parser but I am not sure how we could do it there. I will think more about it. This one may not be a very good one to work on since I am not sure if it makes sense or is possible in a way that makes sense.
This sounds like a nice-to-have, but it's convenient for documentations that are read from start to the end. Aren't the Doctrine docs more like a reference work?