Contributing: Generated Content
Occasionally you may want to generate markdown programmatically. For example, the supported PHP INI settings table is autogenerated.
BuildStepfor the data you want to generate the markdown from. See PHPIniSupportInHHVMBuildStep for an example.
Add a symlink (example) to the guide folder where you want to include this content.
@@syntax to include the generated file on the relevant page of your guide.
@@ guides-generated-markdown/your_generated_file.md @@
Add a test (example).
.md file to the correct subdirectory in
will cause the build script to add its content to the respective API page.
.md file may contain any combination of explanatory text and any number of
code examples following the same rules as above.