File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ ${headers.components
143143 key = { content }
144144 demo = { demos [ name ] }
145145 demoOptions = { demoOptions }
146- githubLocation = { `${ SOURCE_CODE_ROOT_URL } /${ name } ` }
146+ githubLocation = { `${ SOURCE_CODE_ROOT_URL } /docs/src/ ${ name } ` }
147147 />
148148 ) ;
149149 }
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ const LANGUAGES_LABEL = [
5252 } ,
5353] ;
5454
55- const SOURCE_CODE_ROOT_URL = 'https://github.com/mui-org/material-ui/blob/master/docs/src ' ;
55+ const SOURCE_CODE_ROOT_URL = 'https://github.com/mui-org/material-ui/blob/master' ;
5656
5757module . exports = {
5858 CODE_VARIANTS ,
Original file line number Diff line number Diff line change @@ -3,9 +3,8 @@ import * as recast from 'recast';
33import { parse as docgenParse } from 'react-docgen' ;
44import { Router as Router2 } from 'next/router' ;
55import { pageToTitle } from './helpers' ;
6- import { LANGUAGES_IN_PROGRESS } from 'docs/src/modules/constants' ;
6+ import { SOURCE_CODE_ROOT_URL , LANGUAGES_IN_PROGRESS } from 'docs/src/modules/constants' ;
77
8- const SOURCE_CODE_ROOT_URL = 'https://github.com/mui-org/material-ui/blob/master' ;
98const PATH_REPLACE_REGEX = / \\ / g;
109const PATH_SEPARATOR = '/' ;
1110const DEMO_IGNORE = LANGUAGES_IN_PROGRESS . map ( language => `-${ language } .md` ) ;
You can’t perform that action at this time.
0 commit comments