Skip to content

Commit

Permalink
[docs] add trailing slash to pathname so resolved URL matches the c…
Browse files Browse the repository at this point in the history
…anonical (#8228)
  • Loading branch information
Katy DeCorah authored May 8, 2019
1 parent 9781993 commit 1493081
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/pages/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import ApiItem from '../components/api-item';
const meta = {
title: 'API Reference',
description: 'The Mapbox GL JS API documentation to render interactive maps from vector tiles and Mapbox styles.',
pathname: '/mapbox-gl-js/api',
pathname: '/mapbox-gl-js/api/',
contentType: 'API',
lanaguage: ['JavaScript']
};
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import imageConfig from '../img/dist/image.config.json'; // eslint-disable-line
const meta = {
title: 'Examples',
description: 'Code examples for Mapbox GL JS.',
pathname: '/examples',
pathname: '/examples/',
lanaguage: ['JavaScript']
};

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import IconText from '@mapbox/mr-ui/icon-text';
const meta = {
title: 'Plugins',
description: 'Extend your Mapbox GL JS map with plugins.',
pathname: '/mapbox-gl-js/plugins'
pathname: '/mapbox-gl-js/plugins/'
};

const plugins = {
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/style-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Icon from '@mapbox/mr-ui/icon';
const meta = {
title: 'Style Specification',
description: 'This specification defines and describes the visual appearance of a map: what data to draw, the order to draw it in, and how to style the data when drawing it.',
pathname: '/mapbox-gl-js/style-spec',
pathname: '/mapbox-gl-js/style-spec/',
contentType: 'specification'
};

Expand Down

0 comments on commit 1493081

Please sign in to comment.