message: StaticSite: Fix environment section in docs
diff: @@ -111,7 +111,6 @@ console.log(process.env.REACT_APP_USER_POOL_CLIENT);
  And in your HTML files:
  -
  ```html title="public/index.html"
  <p>Api endpoint is: %REACT_APP_API_URL%</p>
  ```
  @@ -180,6 +179,7 @@ There are a couple of things happening behind the scenes here:
  sst.json
  react-app/
  ```
  +
  :::
  ### Configuring custom domains
  @@ -217,7 +217,8 @@ export default class MyStack extends Stack {
  new StaticSite(this, "Site", {
  path: "path/to/src",
  customDomain: {
  - domainName: scope.stage === "prod" ? "domain.com" : `${scope.stage}.domain.com`,
  + domainName:
  + scope.stage === "prod" ? "domain.com" : `${scope.stage}.domain.com`,
  domainAlias: scope.stage === "prod" ? "www.domain.com" : undefined,
  },
  });
  @@ -550,6 +551,18 @@ s3 cp CONTENT_DIR s3://BUCKET_NAME/deploy-2021-06-21T06:05:37.720Z --recursive -
  After the `s3 cp` commands are run, the construct will run an `s3 sync` command to upload all files not explicitely configured in `fileOptions`.
  +### environment?
  +
  +_Type_ : `{ [key: string]: string }`
  +
  +An associative array with the key being the environment variable name. Note, this requires your build tool to support build time environment variables.
  +
  +```js
  +{
  + REACT_APP_API_URL: api.url;
  +}
  +```
  +
  ### replaceValues?
  _Type_ : [`StaticSiteReplaceProps`](#staticsitereplaceprops)[]
  @@ -596,18 +609,6 @@ An alternative domain to be assigned to the website URL. Visitors to the alias w
  Use this to create a `www.` version of your domain and redirect visitors to the root domain.
  -### environment
  -
  -_Type_ : `{ [key: string]: string }`
  -
  -An associative array with the key being the environment variable name. Note, this requires your build tool to support build time environment variables.
  -
  -```js
  -{
  - REACT_APP_API_URL: api.url
  -}
  -```
  -
  ### hostedZone?
  _Type_ : `string | cdk.aws-route53.IHostedZone`, _defaults to the domain name_
  @@ -675,5 +676,5 @@ You can use `StaticSiteCdkDistributionProps` to configure the CloudFront distrib
  An enum with the following members representing the field types.
  | Member | Description |
  -| ------ | --------------------------------------------------------------------------------- |
  +| ---------------------- | -------------------------------------------- |
  | REDIRECT_TO_INDEX_PAGE | Redirect any invalid url to the `indexPage`. |
  