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

Client: Add Table of Contents to docs page #224

Open
TiE23 opened this issue Oct 12, 2018 · 0 comments
Open

Client: Add Table of Contents to docs page #224

TiE23 opened this issue Oct 12, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request improvement It's not broken, but it can be better

Comments

@TiE23
Copy link
Owner

TiE23 commented Oct 12, 2018

I think with some more nested arrays and objects in docExploder() I could get a basic table of contents created. It'd just be at the top of the page. I think doing some form of sidebar might be too hard to do... though who knows, maybe the sidebar can go on the right side?

I think I could do something neat like check the depth of the leaves to determine the table... Or something basic like checking the as props and determining level by hardcode.

Actually, it'd probably be a new function that'd check the address array length and then from there build a list component or something simpler.

@TiE23 TiE23 added enhancement New feature or request improvement It's not broken, but it can be better labels Oct 12, 2018
@TiE23 TiE23 added this to the Client: Student experience milestone Oct 12, 2018
@TiE23 TiE23 self-assigned this Oct 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request improvement It's not broken, but it can be better
Projects
None yet
Development

No branches or pull requests

1 participant