Skip to content

Order languages alphabetically on /code #333

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

Merged
merged 1 commit into from
Jun 26, 2017
Merged

Order languages alphabetically on /code #333

merged 1 commit into from
Jun 26, 2017

Conversation

wincent
Copy link
Contributor

@wincent wincent commented Jun 26, 2017

This puts the language sections in order as suggested in:

#332

Additionally, it adds small tables of contents at the top of each major section to make it easier to locate and jump to specific language implementations. I maintained a special call-out to the JavaScript reference implementations because we want them to be fairly prominent (this is why they were at the top in originally).

Manually tested that the links work by running a local build. Note that there is some fragility here in that the links are hand-constructed and depend on the ordering within the page (ie. the server JavaScript link it "#javascript" but the client one is "#javascript-1" because it appears further down the page); wanted to do the simplest thing for now and deal with any breakage later IFF it ever happens.

This puts the language sections in order as suggested in:

#332

Additionally, it adds small tables of contents at the top of each major
section to make it easier to locate and jump to specific language
implementations. I maintained a special call-out to the JavaScript
reference implementations because we want them to be fairly prominent
(this is why they were at the top in originally).

Manually tested that the links work by running a local build. Note that
there is some fragility here in that the links are hand-constructed and
depend on the ordering within the page (ie. the server JavaScript link
it "#javascript" but the client one is "#javascript-1" because it
appears further down the page); wanted to do the simplest thing for now
and deal with any breakage later IFF it ever happens.
@wincent wincent merged commit aebf20d into graphql:source Jun 26, 2017
@wincent wincent deleted the glh/order branch June 26, 2017 16:40
Dipeshwagle pushed a commit to Dipeshwagle/graphql.github.io that referenced this pull request Aug 18, 2020
Order languages alphabetically on /code
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

Successfully merging this pull request may close these issues.

2 participants