Skip to content

Commit

Permalink
docs: Fix links on the site, again 馃
Browse files Browse the repository at this point in the history
Closes #1650
  • Loading branch information
sapegin committed Jul 31, 2020
1 parent 3d22eed commit 6321dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/remark.js
Expand Up @@ -9,7 +9,7 @@ const REPLACEMENTS = {
'https://github.com/styleguidist/react-styleguidist': 'https://react-styleguidist.js.org/',
};

const getDocUrl = url => url.replace(/(\w+)(?:\.md)/, (_, $1) => `/${kebabCase($1)}`);
const getDocUrl = url => url.replace(/(\w+)(?:\.md)/, (_, $1) => `/docs/${kebabCase($1)}`);

/*
* Fix links:
Expand Down

0 comments on commit 6321dc8

Please sign in to comment.