{"componentChunkName":"component---src-templates-page-tsx","path":"/writing/project-structure/","result":{"data":{"site":{"siteMetadata":{"title":"Grundgesetz","description":"Zero-configuration documentation builder, powered by Gatsby.","siteUrl":"https://grundgesetz-skeleton.netlify.com","keywords":"gatsbyjs, gatsby, documentation, sample project","author":{"name":"Resi Respati","url":"https://resir014.xyz","email":"resi@kata.ai"}}},"sectionList":{"edges":[{"node":{"title":"Getting Started","items":[{"id":"installation","slug":"/getting-started/installation","title":"Installation"},{"id":"development-server","slug":"/getting-started/development-server","title":"Development Server"},{"id":"deploying","slug":"/getting-started/deploying","title":"Deploying"}]}},{"node":{"title":"Writing","items":[{"id":"project-structure","slug":"/writing/project-structure","title":"Project Structure"},{"id":"table-of-contents","slug":"/writing/table-of-contents","title":"Table of Contents"},{"id":"writing-in-markdown","slug":"/writing/writing-in-markdown","title":"Writing in Markdown"}]}},{"node":{"title":"Theming","items":[{"id":"theming-overview","slug":"/theming/overview","title":"Overview"},{"id":"theming-variables","slug":"/theming/variables","title":"Variables"},{"id":"theming-helper-components","slug":"/theming/helper-components","title":"Helper Components"}]}}]},"markdownRemark":{"htmlAst":{"type":"root","children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The project structure of Grundgesetz is specifically designed for easy maintenance of documentation and the site’s code."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{"className":["gatsby-highlight"],"dataLanguage":"text"},"children":[{"type":"element","tagName":"pre","properties":{"className":["language-text"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":".\n|-- docs\n|   |-- [path-1]\n|   |   |-- [page-1].md\n|   |   `-- [page-2].md\n|   |-- [path-2]\n|   |   |-- [page-3].md\n|   |   `-- [page-4].md\n|   |-- ...\n|   |-- [index.md]\n|   `-- toc.json\n|-- [static]\n|   `-- ...\n`-- src\n    |-- assets\n    |   `-- ...\n    |-- components\n    |   `-- ...\n    |-- layouts\n    |   `-- ...\n    |-- pages\n    |   `-- ...\n    |-- templates\n    |   `-- ...\n    |-- utils\n    |   `-- ...\n    |-- ...\n    `-- typings.d.ts"}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"explanation","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#explanation","ariaLabel":"explanation permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Explanation"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"docs/"}]},{"type":"text","value":" - Where the documentation lives. Grundgesetz will read all "},{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":".md"}]},{"type":"text","value":" files and builds it in a path following the directory tree."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"[index.md]"}]},{"type":"text","value":" - An optional Index page, if you want it to be written in Markdown. This can be replaced by a customised Index page located at "},{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"pages/index.tsx"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"toc.json"}]},{"type":"text","value":" - The file that holds the table of contents. See "},{"type":"element","tagName":"a","properties":{"href":"/writing/table-of-contents"},"children":[{"type":"text","value":"Table of Contents"}]},{"type":"text","value":" for more information."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"[static/]"}]},{"type":"text","value":" - Holds the static assets of the site."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"[src/]"}]},{"type":"text","value":" - The root folder for the JavaScript source."}]},{"type":"text","value":"\n"}]}],"data":{"quirksMode":false}},"tableOfContents":"<ul>\n<li><a href=\"/writing/project-structure/#explanation\">Explanation</a></li>\n</ul>","excerpt":"The project structure of Grundgesetz is specifically designed for easy maintenance of documentation and the site’s code. Explanation…","frontmatter":{"id":"project-structure","title":"Project Structure","prev":"deploying","next":"table-of-contents"}}},"pageContext":{"slug":"/writing/project-structure/"}}}