jolly-florist-66728
11/18/2024, 4:08 AMliteralinclude
to render code from flytesnacks to monodoc.
but I can't find the place to specify Git SHA to ping the version of the code example.
cc @witty-action-93503 do you know?
# Answer
To specify a permanent link in Flyte documentation using a Git SHA, you should use the remoteliteralinclude
directive with the SHA in the URL. This ensures that the code example remains stable and does not change with updates to the master
branch. According to the Flyte documentation contribution guide, you should replace the master
reference with a specific SHA in the URL when linking to code examples.
Would you like more detail on how to implement this in your documentation?
Sources:
- Flyte documentation contribution guide
Slack Link
https://.slack.com/archives/CP2HDHKE1/p1731902922.590019 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.