Skip to content

Commit 0bc0f49

Browse files
committed
Fix anchors in documentation.
1 parent 31ea771 commit 0bc0f49

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

site/docs/APIReference-GraphQL.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var GraphQL = require('graphql'); // CommonJS
3131

3232
<ul class="apiIndex">
3333
<li>
34-
<a href="http://github.com/api-reference-type-system%3Cspan%20class="x x-first x-last">.html#graphqlschema">
34+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-type-system/#graphqlschema">
3535
<pre>class GraphQLSchema</pre>
3636
A representation of the capabilities of a GraphQL Server.
3737
</a>
@@ -42,49 +42,49 @@ var GraphQL = require('graphql'); // CommonJS
4242

4343
<ul class="apiIndex">
4444
<li>
45-
<a href="http://github.com/api-reference-type-system%3Cspan%20class="x x-first x-last">.html#graphqlscalartype">
45+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-type-system/#graphqlscalartype">
4646
<pre>class GraphQLScalarType</pre>
4747
A scalar type within GraphQL.
4848
</a>
4949
</li>
5050
<li>
51-
<a href="http://github.com/api-reference-type-system%3Cspan%20class="x x-first x-last">.html#graphqlobjecttype">
51+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-type-system/#graphqlobjecttype">
5252
<pre>class GraphQLObjectType</pre>
5353
An object type within GraphQL that contains fields.
5454
</a>
5555
</li>
5656
<li>
57-
<a href="http://github.com/api-reference-type-system%3Cspan%20class="x x-first x-last">.html#graphqlinterfacetype">
57+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-type-system/#graphqlinterfacetype">
5858
<pre>class GraphQLInterfaceType</pre>
5959
An interface type within GraphQL that defines fields implementations will contain.
6060
</a>
6161
</li>
6262
<li>
63-
<a href="http://github.com/api-reference-type-system%3Cspan%20class="x x-first x-last">.html#graphqluniontype">
63+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-type-system/#graphqluniontype">
6464
<pre>class GraphQLUnionType</pre>
6565
A union type within GraphQL that defines a list of implementations.
6666
</a>
6767
</li>
6868
<li>
69-
<a href="http://github.com/api-reference-type-system%3Cspan%20class="x x-first x-last">.html#graphqlenumtype">
69+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-type-system/#graphqlenumtype">
7070
<pre>class GraphQLEnumType</pre>
7171
An enum type within GraphQL that defines a list of valid values.
7272
</a>
7373
</li>
7474
<li>
75-
<a href="http://github.com/api-reference-type-system%3Cspan%20class="x x-first x-last">.html#graphqlinputobjecttype">
75+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-type-system/#graphqlinputobjecttype">
7676
<pre>class GraphQLInputObjectType</pre>
7777
An input object type within GraphQL that represents structured inputs.
7878
</a>
7979
</li>
8080
<li>
81-
<a href="http://github.com/api-reference-type-system%3Cspan%20class="x x-first x-last">.html#graphqllist">
81+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-type-system/#graphqllist">
8282
<pre>class GraphQLList</pre>
8383
A type wrapper around other types that represents a list of those types.
8484
</a>
8585
</li>
8686
<li>
87-
<a href="http://github.com/api-reference-type-system%3Cspan%20class="x x-first x-last">.html#graphqlnonnull">
87+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-type-system/#graphqlnonnull">
8888
<pre>class GraphQLNonNull</pre>
8989
A type wrapper around other types that represents a non-null version of those types.
9090
</a>
@@ -95,31 +95,31 @@ var GraphQL = require('graphql'); // CommonJS
9595

9696
<ul class="apiIndex">
9797
<li>
98-
<a href="http://github.com/api-reference-type-system%3Cspan%20class="x x-first x-last">.html#graphqlint">
98+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-type-system/#graphqlint">
9999
<pre>var GraphQLInt</pre>
100100
A scalar type representing integers.
101101
</a>
102102
</li>
103103
<li>
104-
<a href="http://github.com/api-reference-type-system%3Cspan%20class="x x-first x-last">.html#graphqlfloat">
104+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-type-system/#graphqlfloat">
105105
<pre>var GraphQLFloat</pre>
106106
A scalar type representing floats.
107107
</a>
108108
</li>
109109
<li>
110-
<a href="http://github.com/api-reference-type-system%3Cspan%20class="x x-first x-last">.html#graphqlstring">
110+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-type-system/#graphqlstring">
111111
<pre>var GraphQLString</pre>
112112
A scalar type representing strings.
113113
</a>
114114
</li>
115115
<li>
116-
<a href="http://github.com/api-reference-type-system%3Cspan%20class="x x-first x-last">.html#graphqlboolean">
116+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-type-system/#graphqlboolean">
117117
<pre>var GraphQLBoolean</pre>
118118
A scalar type representing booleans.
119119
</a>
120120
</li>
121121
<li>
122-
<a href="http://github.com/api-reference-type-system%3Cspan%20class="x x-first x-last">.html#graphqlid">
122+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-type-system/#graphqlid">
123123
<pre>var GraphQLID</pre>
124124
A scalar type representing IDs.
125125
</a>
@@ -130,7 +130,7 @@ var GraphQL = require('graphql'); // CommonJS
130130

131131
<ul class="apiIndex">
132132
<li>
133-
<a href="http://github.com/api-reference-errors%3Cspan%20class="x x-first x-last">.html#formaterror">
133+
<a href="http://github.com/%3Cspan%20class="x x-first x-last">../api-reference-errors/#formaterror">
134134
<pre>function formatError</pre>
135135
Format an error according to the rules described by the Response Format.
136136
</a>

site/docs/APIReference-SchemaLanguage.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export function visitSchema(root, visitor, keys); any
8787
```
8888
8989
The equivalent of `graphql/language`'s
90-
**[visit](api-reference-language.html#visit)** method, but for
90+
**[visit](../api-reference-language/#visit)** method, but for
9191
schema ASTs parsed by `parseSchemaIntoAST`.
9292

9393
## Printer
@@ -100,4 +100,3 @@ function printSchema(ast): string
100100
101101
Converts a Schema AST into a string, using one set of reasonable
102102
formatting rules.
103-

0 commit comments

Comments
 (0)