Answer the question
In order to leave comments, you need to log in
What path should be to resources on github pages?
Hello. I created a repository, put js and css file in the root. I created a docs folder and put index.html there. In the settings, I chose repo/docs for gh-pages and everything started up. My site is showing. But how to correctly specify the paths for js and css files that are in the root of the repository?
Answer the question
In order to leave comments, you need to log in
../style.css
The path is relative to .html
the file, if I understood the question correctly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question