This repo will manage the Solace Tutorials, which helps developers get up to speed sending and receiving messages with Solace technology.
npm i
npm run develop
Define the git repo in the gatsby-config.js
file as follows
{
resolve: `gatsby-source-git`,
options: {
name: `{Lang}-Samples`,
remote: `{git_repo_url},
commit: '{commit_number}'
}
}
In your tutorial markdown file (under src/pages/tutorials/{api}/{tutorial}.md
), refer to your code snippet as follows
`embed:{Lang}-Samples/{path/to/file}#L{start_line}-{end_line}`
For example embed:JCSMP-Samples/src/main/java/com/solace/samples/jcsmp/patterns/DirectProcessor.java#L131-153