This repository was archived by the owner on Jan 1, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +9
-5
lines changed
Expand file tree Collapse file tree 6 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1+ [submodule "monorepo "]
2+ path = monorepo
3+ url = [email protected] :freesewing/freesewing.git
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const plugins = [
1313 {
1414 resolve : 'gatsby-source-filesystem' ,
1515 options : {
16- path : `${ __dirname } /markdown/dev` ,
16+ path : `${ __dirname } /monorepo/ markdown/dev` ,
1717 name : 'markdown' ,
1818 ignore : [
1919 '**/nl.md' ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const slugFromFilePath = filePath => {
1212 return (
1313 '/' +
1414 filePath
15- . match ( / [ \/ | \\ ] m a r k d o w n [ \/ | \\ ] d e v [ \/ | \\ ] ( .* ) / )
15+ . match ( / [ \/ | \\ ] m o n o r e p o [ \/ | \\ ] m a r k d o w n [ \/ | \\ ] d e v [ \/ | \\ ] ( .* ) / )
1616 . pop ( )
1717 . slice ( 0 , - 5 )
1818 )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import './default.scss'
88const EditLink = ( { edit= false } ) => edit
99 ? < IconButton
1010 className = 'editpencil'
11- href = { `https://github.com/freesewing/markdown /edit/develop/dev/${ edit } /en.md` }
11+ href = { `https://github.com/freesewing/freesewing /edit/develop/markdown /dev/${ edit } /en.md` }
1212 target = '_BLANK'
1313 rel = 'nofollow'
1414 size = 'small'
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ function useUiMdx() {
44 // Static query
55 const data = useStaticQuery ( graphql `
66 {
7- allMdx(filter: { fileAbsolutePath: { glob: "**/markdown/dev/ui/**/*.md" } }) {
7+ allMdx(filter: { fileAbsolutePath: { glob: "**/monorepo/ markdown/dev/ui/**/*.md" } }) {
88 edges {
99 node {
1010 frontmatter {
@@ -20,7 +20,7 @@ function useUiMdx() {
2020 let uiMdx = { }
2121 for ( let node of data . allMdx . edges ) {
2222 let id = node . node . fileAbsolutePath
23- . split ( 'markdown/dev/ui/' )
23+ . split ( 'monorepo/ markdown/dev/ui/' )
2424 . pop ( )
2525 . slice ( 0 , - 6 )
2626 uiMdx [ id ] = {
You can’t perform that action at this time.
0 commit comments