webpackJsonp([0xaf3a09b42763],{518:function(n,t){n.exports={pathContext:{frontmatter:{path:"/contributing/writing-documentation",title:"Writing Documentation",hasPlayground:!1,initialPlayground:null,redirect:null},html:'

Writing Documentation

\n

Documentation pages are generated from Markdown files in contents/.\nThe files are organized in 4 sections/folders (getting-started, properties,\nexamples, contributing) which are dynamically listed on the docs overview page.\nThe Markdown files should contain a header with metadata.

\n
\n
---\npath: "docs/flexDirection"\ntitle: "Flex Direction"\nhasPlayground: true\ninitialPlayground: eyJ3aWR0aCI6IjYwMCIsImhlaWdodCI6NTAwLCJjaGlsZHJlbiI6W3t9LHt9LHt9XX0=\n---\n
\n
\n\n

Within the markdown of a documentation page which has an associated\nplayground you can add controls to let the user play around with the feature\ndirectly from the documenation page.

\n
\n
<controls prop="alignContent"></controls>\n
\n
\n

If you would like to redirect to another page (potentially an external link) the header would look something like this.

\n
\n
---\npath: "/playground#eyJ3aWR0aCI6IjYwMCIsImhlaWdodCI6NTAwLCJjaGlsZHJlbiI6W3t9LHt9LHt9XX0="\ntitle: "Flex Direction"\nredirect: true\n---\n
\n
'}}}}); //# sourceMappingURL=path---contributing-writing-documentation-6c03151053a5c8e851d9.js.map