golioth / docs

Creative Commons Attribution Share Alike 4.0 International
6 stars 10 forks source link

pipelines: use MDX component to generate code from share Lines #388

Closed szczys closed 3 months ago

szczys commented 3 months ago

This keeps the "Use this pipeline" button in sync with the desplaye pipeline code by generating the codeblock from the share url itself. The name of the pipeline is added to the code block to help clarify what is shown.

github-actions[bot] commented 3 months ago

Visit the preview URL for this PR (updated for commit 2fdf86b):

https://golioth-docs-dev--pr388-szczys-pipelines-mdx-kqenvld9.web.app

(expires Tue, 25 Jun 2024 02:48:55 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f53b02bdc98ce6f5593931ec4c339aa96bac84df