Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add next/previous chapter buttons to the docs #173

Open
jwage opened this issue Jun 9, 2018 · 3 comments
Open

Add next/previous chapter buttons to the docs #173

jwage opened this issue Jun 9, 2018 · 3 comments
Labels
Hacktoberfest Good issue for participating in Hacktoberfest

Comments

@jwage
Copy link
Member

jwage commented Jun 9, 2018

No description provided.

@jwage jwage added the Hacktoberfest Good issue for participating in Hacktoberfest label Oct 2, 2018
@lex111
Copy link
Contributor

lex111 commented Oct 2, 2018

Hi @jwage

Can I have more details to implement this?

@jwage
Copy link
Member Author

jwage commented Oct 2, 2018

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.

screen shot 2018-10-02 at 12 33 13 am

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.

@SenseException
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Good issue for participating in Hacktoberfest
Projects
None yet
Development

No branches or pull requests

3 participants