beginner trouble with github pages publishing for '/docs' subfolder of repo

13 views
Skip to first unread message

Urs Rau

unread,
Jun 24, 2018, 5:10:34 AM6/24/18
to Hexo
Thanks for this great tool, 

What are the correct values to enter into the _config.yml file for 'url:' and 'root:' if one wants to publish the github pages from the '/docs' subfolder of the repo?

url: http://my-gh-acc-name.github.io/my-tld-dom-site

root: /my-tld-dom-site/


or 


url: http://my-gh-acc-name.github.io/my-tld-dom-site/docs

root: /my-tld-dom-site/docs/


Also is there a way to add the required CNAME file to the hexo data so it uploads that file into the publish root under '/docs/CNAME'?




Reply all
Reply to author
Forward
0 new messages