Explicit repo for Paradox snippets


(Christopher Hunt) #1

Hi there,

When including code snippets using Paradox, is there a means to be explicit about which repo the snippet’s file can be found on? I realise that a repo can be associated with a project as a whole, but my project builds documentation for many repos.

Thanks.

Cheers,
-C


(Eugene Yokota) #2

I don’t know if Paradox has the notion of this repo or that.
If you know exactly where the repos are checked out, can you use paradoxProperties?

https://developer.lightbend.com/docs/paradox/current/features/snippet-inclusion.html


(Christopher Hunt) #3

Thanks Eugene. I could use props and then substitute them manually as you suggest.

To be clear, I noticed that Paradox had the functionality entitled:

Link to full source at GitHub

So, I was wondering if that could be leveraged. Perhaps it can’t though.