New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Page build warning: theme not supported by Github Pages #148
Comments
I got the same error few days ago, my solution is separate config files for github and local machine. For local ( # Local Setting
baseurl: ""
url: ""
# Theme
theme: "just-the-docs"
# remote_theme: pmarsceill/just-the-docs For github ( # Remote Setting
baseurl: "/guidelines"
# url: ""
# Theme
# theme: "just-the-docs"
remote_theme: pmarsceill/just-the-docs For live server on local machine, I run |
It is not a bug. Theme is working thanks to remote_theme on github Pages. GitHub Pages does not include this theme in white list of themes. Nothing more to do on it. |
Thanks for reporting, but as @mklemarczyk pointed out, this is not a bug. Closing. |
I tried ⏫ this fix but still got the same error. Is there anything else we need to do (especially behind the firewall)? |
@vishalgakhare I recently set up a new repository, and I noted my steps at https://pdmosses.github.io/just-the-docs-tests/#use-just-the-docs-as-a-remote-theme The site built without errors, both locally and on GH Pages. Perhaps similar settings will work for you? |
@pdmosses - that link is not functional. |
@naik-amey Thanks for pointing it out, but the same probably goes for many links in comments on old closed issues and PRs… In any case, my notes wre written before the theme provided a template. For up-to-date advice, see the hints for getting started on the theme home page. |
Describe the bug
After adding the remote theme in the _config.yml file I got an email from Github:
"The page build completed successfully, but returned the following warning for the
gh-pages
branch:You are attempting to use a Jekyll theme, "just-the-docs", which is not supported by GitHub Pages. Please visit https://pages.github.com/themes/ for a list of supported themes. If you are using the "theme" configuration variable for something other than a Jekyll theme, we recommend you rename this variable throughout your site. For more information, see https://help.github.com/en/articles/adding-a-jekyll-theme-to-your-github-pages-site.
For information on troubleshooting Jekyll see:
https://help.github.com/articles/troubleshooting-jekyll-builds
If you have any questions you can contact us by replying to this email."
I added the gem file locally, and I can see the theme fine, but is only in github pages that I can't see it.
My site is: https://mouser-ux.github.io/guidelines/
Locally I see this:
On Github pages I see this:
My _config.yml file:
config.txt
Not sure what else to do.
Thanks
The text was updated successfully, but these errors were encountered: