@@ -26,7 +26,7 @@ For example, the 'dev' dataset is for 'dev' orgs, and it is used
2626instead of the default dataset if it exists.
2727
2828You can create a dataset by extracting data from an existing org
29- or by authoring a [ Snowfakery recipe] ( Generate-Fake-Data ) .
29+ or by authoring a [ Snowfakery recipe] ( #generate-fake-data ) .
3030Extracting from an existing org is easy for use-cases where the
3131data already exists or can be readily created in an org. Snowfakery
3232is better for cases where either a) you would like to dynamically
@@ -37,7 +37,7 @@ A Snowfakery dataset can consist of a single file with a name like
3737` datasets/<datasetname>/<datasetname>.recipe.yml ` . For example,
3838` datasets/default/default.recipe.yml ` or
3939` datasets/qa/qa.recipe.yml ` . The rest of what you need to know
40- about Snowfakery is in the section [ Generate Fake Data] ( Generate-Fake-Data ) .
40+ about Snowfakery is in the section [ Generate Fake Data] ( #generate-fake-data ) .
4141
4242### Extracting and Loading Sample Datasets
4343
@@ -816,11 +816,13 @@ Extract the data for a dataset from an org and persist it to disk.
816816
817817` mapping` and either `sql_path` or `database_url` must be supplied.
818818
819- Example : :
820-
819+ Example :
820+ ` ` ` console
821821 cci task run extract_dataset -o mapping datasets/qa/mapping.yml -o sql_path datasets/qa/data.sql --org qa
822+ ` ` `
822823
823- # ## <a name="data-load-dataset"></a> `load_dataset`
824+ (data-load-dataset)=
825+ # ## `load_dataset`
824826
825827Load the data for a dataset into an org. If the storage is a database,
826828persist new Salesforce Ids to storage.
@@ -840,9 +842,11 @@ persist new Salesforce Ids to storage.
840842
841843` mapping` and either `sql_path` or `database_url` must be supplied.
842844
843- Example : :
845+ Example :
844846
847+ ` ` ` console
845848 cci task run load_dataset -o mapping datasets/qa/mapping.yml -o sql_path datasets/qa/data.sql --org qa
849+ ` ` `
846850
847851# ## `generate_dataset_mapping`
848852
@@ -908,9 +912,11 @@ after their target records become available.
908912- `namespace_prefix` : The namespace prefix to treat as belonging to
909913 the project, if any
910914
911- Example : :
915+ Example :
912916
917+ ` ` ` console
913918 cci task run generate_dataset_mapping --org qa -o namespace_prefix my_ns
919+ ` ` `
914920
915921# ## `load_custom_settings`
916922
@@ -994,6 +1000,8 @@ option:
9941000
9951001You can learn more about Snowfakery syntax in the next section.
9961002
1003+ (Generate-Fake-Data)=
1004+
9971005# # Generate Fake Data
9981006
9991007It is possible to use CumulusCI to generate arbitrary amounts of
0 commit comments