Comments (9)
I am pointing to pmarsceill/just-the-docs in my yml, if i fork and remove dark-mode-preview.scss and test that way it then builds fine.
from just-the-docs.
Hey @pjaudiomv, which installation method did you use to install this theme... Did you install via remote_theme
, ruby gems, or by forking this repo?
Can you post the contents of your _config.yml
?
from just-the-docs.
remote_theme
`title: Yap
description: Yap Documentation
baseurl:
url: "//yap.bmlt.app"
remote_theme: "pmarsceill/just-the-docs"
sass:
Load dependancies
load_paths:
- node_modules/
permalink: pretty
exclude: ["node_modules/", ".gemspec", ".gem", "Gemfile", "Gemfile.lock", "package.json", "script/", "LICENSE.txt", "lib/", "bin/", "README.md", "Rakefile"]`
from just-the-docs.
shoot that was my fork one.
from just-the-docs.
this is a link to my current website repo, (with config pointing to my fork with dark-mode-preview.scss removed so it could work) https://github.com/bmlt-enabled/yap/tree/master/docs
from just-the-docs.
It looks like you've forked this repo and then set a remote theme to this repo at the same time. In reality you should be choosing one or the other or else Jekyll gets confused.
You forked this repo a few weeks ago, then you set the remote_theme to use the lastest theme version which is confusing Jekyll because it's looking for variables that don't exist yet on your fork because it hasn't been kept up to date and really you shouldn't need to keep it up to date using remote_theme
.
To fix this either update your fork (and remove remote_theme
and use the theme files from your repo) or delete all the theme files from your repo (EVERYTHING except for your markdown content in /docs
and search index in /assets/js
) and keep using the remote_theme
(see https://github.com/pmarsceill/jtd-remote as an example).
You'll also need to update your _config.yml
and remove all the theme specific stuff... It should look more like:
title: Yap
description: Yap Documentation
baseurl:
url: "//yap.bmlt.app"
remote_theme: pmarsceill/just-the-docs
permalink: pretty
Hope this helps.
from just-the-docs.
awesome, thank you for your patience. one other question. How would you recommend i test locally or at the very least update my search index.
from just-the-docs.
Your search index will be updated every time your site is built.
If you want to run this locally you can use the remote theme gem on your machine to mimic how GitHub pages works, or you can install this theme using the ruby gem method (and use theme
instead of remote_theme
) and run Jekyll locally.
from just-the-docs.
thanks again for your help with this, I realize now that this was more of a general jekyll question and not directly related to your theme. So thanks again.
from just-the-docs.
Related Issues (20)
- Mobile Menu Not Working HOT 5
- Callouts not rendering HOT 3
- nav_external_links > opens_in_new_tab: true doesn't open the link in a new tab HOT 4
- Add support for additional diagram languages HOT 4
- Dependency error HOT 3
- Navbar highlighting depends on URL having `.html` extension HOT 1
- light vs dark theme based on device setting HOT 1
- Add in-page right sidebar HOT 3
- `just-the-docs.com` copyright is out of date HOT 4
- big HOT 1
- Incorrect positioning of clickable area for navigation links in Safari/macOS HOT 6
- Add support for Lunr pre-built indexes HOT 3
- Zion LLC HOT 1
- Support CTRL+k shortcut for triggering the search input HOT 2
- Organize pages using IDs HOT 1
- Option to define groups with front matter HOT 3
- Log 2023-11-18 00_48_10.txt
- Searching _posts HOT 1
- Indented Markdown diff does not handle empty newlines HOT 2
- t
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from just-the-docs.