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

Documentation sections #78

Open
mackode opened this issue Jan 17, 2020 · 3 comments
Open

Documentation sections #78

mackode opened this issue Jan 17, 2020 · 3 comments

Comments

@mackode
Copy link

mackode commented Jan 17, 2020

Let's say each comment around field and definitions is an entity. Is it possible to group those entities in some logical sections?

e.g. group documentation regarding Credentials in 1 sections and other data in another. So they are all not generated always in Queries/Mutations, but

-> Queries -> Credentials section
-> Mutation -> Credentials section

or

-> Credentials:
-> Queries
-> Mutations

@brettchalupa
Copy link
Owner

@mackode This makes sense to me. I think having one big alphabetical list can be challenging for viewing large APIs. I'd like to see this improved too.

A challenge here is how are sections defined? Since the docs are generated from the GQL schema, which is flat, it then becomes tricky for how to group sections together.

There's already sections for Queries, Mutations, Enums, Input Objects, etc. Maybe having collapsible sections would be helpful?

Let me know if you have any additional thoughts or ideas here!

@mackode
Copy link
Author

mackode commented Oct 19, 2022

At the time I asked I think I had a few ideas:

@brettchalupa
Copy link
Owner

@mackode thanks for sharing your thoughts and resources. I think organizing by the namespace would be helpful. Especially if that's a convention more and more people use. Will leave this open for consideration and feedback.

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

No branches or pull requests

2 participants