0.6.47-alpha02 • Published 2 years ago
marketing-cloud-docs v0.6.47-alpha02
marketing_cloud_docs Repo
This repository contains the source files for generating the Marketing Cloud documentation published on developer.salesforce.com/docs.
For help with using the SFDocs framework, see SFDocs Help.
Contacts
Admins:
- M&J: Marty Gipson (mgipson@salesforce.com)
- Einstein: Belinda Hobbs (bhobbs@salesforce.com)
- Content and Communications Experience (CCX) Engineering Team in Hyderabad (ccxenghyd@salesforce.com)
Folder/File structure
See Understand the Repo Structure in SFDocs Help. `
Build the Docs Locally
Clone this repo.
Install volta, node, and yarn.
curl https://get.volta.sh | bash
volta install node
volta install yarn
Set up the project.
yarn setup
Validate files.
yarn validate
This command:
- checks for broken links (missing images and missing external links)
- runs linting
- verifies content-config.yaml
Preview the project in a localhost.
yarn start
To reload the preview as you edit files, run the command with the
--live
flag.yarn start --live
Browse to http://localhost:3000.
Remote Builds and Preview Apps
When you send a pull request to any of the protected branches(for example, main
), if the build is successful, Heroku creates a preview environment and posts a link on the GitHub PR.
0.6.47-alpha02
2 years ago