Search code examples
gitgithubgithub-pages

How to display a submodule on a github site?


I created a githiub site here: My site

I would like to add some pages from another repo so I entered the command:

git submodule add https://github.com/Marvelous-Software/FrameworkTelevision.git

then I tried to display a page but it doesn't work:

https://marvelous-software.github.io/FrameworkTelevision.git/Javascript/Lab%201.html

I have a repo for my web page and a repo for my school work. I would like to keep them separate but display my school work on my site. Is this possible? Or do I have to duplicate files?


Solution

  • The problem was with my url, it was incorrect. The correct url is

    https://marvelous-software.github.io/FrameworkTelevision/Javascript/Lab%201.html