Skip to content
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

git hub pages build error #26

Closed
pjaudiomv opened this issue Nov 20, 2018 · 2 comments
Closed

git hub pages build error #26

pjaudiomv opened this issue Nov 20, 2018 · 2 comments

Comments

@pjaudiomv
Copy link

pjaudiomv commented Nov 20, 2018

hey newbie here (yay), I have been getting build errors for my site. I am wondering how I properly assign version number for theme in my _config.yml. this is the error.

Your SCSS file assets/css/dark-mode-preview.scss has an error on line 12: Undefined variable: "$grey-dk-250". For more information, see https://help.github.com/articles/page-build-failed-invalid-sass-or-scss/.

and this is my yml

`remote_theme: "bmlt-enabled/just-the-docs"

version: "0.2.0"
`

any help would be greatly appreciated. Thank you so much for all the work that you do as well.

@pmarsceill
Copy link
Collaborator

In your _config.yml file, set the remote theme to this repo (not your repo):

remote_theme: pmarsceill/just-the-docs

That will automatically pull whatever version is on the master branch (which is 0.2.0) and always keep it updated when your site gets built.

Here is an example repo using remote_theme https://github.com/pmarsceill/jtd-remote

@pjaudiomv
Copy link
Author

Thank you for the clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants