Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

use site.github metadata from a different repo?

Hey There Folks,

 

Is it possible to use a different repositories metadata on the gh-pages site?

 

We have;

 

ORGANISATION1/REPO1

ORGANISATION1/REPO2  << master branch is used for gh-pages

 

REPO1 is the actuall application

REPO2 is the Documentation site for REPO1

 

if we usesite.github to access the repo metadata, it's the metadata for REPO2 (which is fair enough)

 

is it possible to access the metadata from REPO1 through?

So we can use download links, latest_release information etc... of REPO1 in the Documentation gh-pages site.

 

Thanks for your time

2 Replies
Commander Lvl 2
Message 2 of 3

Re: use site.github metadata from a different repo?

You can already use files, images, etc from REPO1 as links from pages in REPO2. 

 

e.g.

<img src="https://raw.githubusercontent.com/ORGANIZATION1/REPO2/master/images/fancyDiagram.png" />

 

But I'm not sure about the metadata - unless you can tweak the yml files in REPO2 to pretend to be REPO1.

Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!

Copilot Lvl 2
Message 3 of 3

Re: use site.github metadata from a different repo?

thank you for taking the time to respond, but correct if I am wrong here, isn't your statement/answer the same as what I asked if there was a solution for in the first place?