# How we keep our code examples fresh

DevFeed: [How we keep our code examples fresh](<https://devfeed.tech/articles/how-we-keep-our-code-examples-fresh-35983.md>)

Original publisher: [Read original article](<https://temporal.io/blog/snipsync-overview>)

Author: Cully Wakelin

Published: 2021-02-26T04:00:00Z

Content type: tutorial

Language: en

Sources: [Temporal Blog](<https://devfeed.tech/sources/temporal-blog.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Snippet](<https://devfeed.tech/topics/snippet.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [snippet](<https://devfeed.tech/tags/snippet.md>), [tool](<https://devfeed.tech/tags/tool.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>)

## AI overview

The article introduces Snipsync, a tool that merges source-code snippets into documentation. It explains that snippets must fit the surrounding documentation and that comments, variables, and function calls may require adjustment, while the approach can reduce the effort of keeping code examples up to date.

## Source excerpt

In a previous post, about the making of our SDK tutorials, I talked a bit about a tool called Snipsync. In essence it merges source code snippets directly into our documentation, and we have been steadily converting our code examples to use it.