layer5io / layer5

Layer5, expect more from your infrastructure
https://layer5.io
Apache License 2.0
834 stars 1.11k forks source link

Dynamically render the Table of contents of the handbook pages #5118

Open Mohith234 opened 7 months ago

Mohith234 commented 7 months ago

Current Behavior

The pages in the Handbook contain a manually generated table of contents on the right-hand side. image

Desired Situation

Need to dynamically generate the table of contents of the pages

  1. https://www.gatsbyjs.com/plugins/gatsby-remark-table-of-contents/
  2. https://www.gatsbyjs.com/docs/how-to/querying-data/page-query/

    Contributor Resources and Handbook

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Join the Layer5 Community by submitting your community member form.

Baouldguyd commented 7 months ago

Hi Team, I am willing to resolve this issue by integrating graphQL to dynamically render the Table of Contents of the handbook pages. Thank you.

github-actions[bot] commented 6 months ago

Checking in... it has been awhile since we've heard from you on this issue. Are you still working on it? Please let us know and please don't hesitate to contact a MeshMate or any other community member for assistance.


        Be sure to join the community, if you haven't yet and please leave a :star: star on the project :smile:

github-actions[bot] commented 6 months ago

Checking in... it has been awhile since we've heard from you on this issue. Are you still working on it? Please let us know and please don't hesitate to contact a MeshMate or any other community member for assistance.


        Be sure to join the community, if you haven't yet and please leave a :star: star on the project :smile:

Cvr421 commented 6 months ago

@Mohith234 @vishalvivekm can i work on this

vishalvivekm commented 6 months ago

@Mohith234 @vishalvivekm can i work on this

Thanks @Cvr421, there you go!

Cvr421 commented 6 months ago

@vishalvivekm @Mohith234 I think we need to create the Markdown file for entire page https://layer5.io/community/handbook/contributor-journey to dynamically generate the table of contents of the pages. Otherwise it should be generated manually as it was generated right now. So what's your thoughts let me know . Should we create the Markdown file or not . OR if we can do it in other way please let me know

sandramsc commented 6 months ago

@vishalvivekm @Mohith234 I think we need to create the Markdown file for entire page https://layer5.io/community/handbook/contributor-journey to dynamically generate the table of contents of the pages. Otherwise it should be generated manually as it was generated right now. So what's your thoughts let me know . Should we create the Markdown file or not . OR if we can do it in other way please let me know

Hi @Cvr421 thank you for your contribution so far, please post this query on the discussion forum to get more eyes on it and to have a much more effective way for the community members to reference it might a similar task / issue arise in the future.

saurabh100ni commented 5 months ago

This issue has been open for some time with no recent activity, unassigning to open it up for new contributors to give it a go.

MUFFANUJ commented 4 days ago

@vishalvivekm I would like to give it a try please assign it to me!