-
-
Notifications
You must be signed in to change notification settings - Fork 17.3k
Add missing windows extensions #1390
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
Conversation
|
I had no idea Windows even supports jekyll development! I'm a windows user but always assume anything I have to do has to happen on WSL on a remote server... After looking at the docs, I see they recommend using the line |
|
Hm, I don't know how to do conditional deps. Total n00b on this. I just run jekyll ;) |
|
I prefer not to modify sensitive files if we don't fully understand the impact. Modifying html/css/js files is easy, but anything to do with ruby I try to be very cautious about. If you test this on Unix and verify that it works , let me know. |
|
Fixed with recommended suggestions! Run install/exec on WSL2 Ubuntu and it worked great too. |
64d16cf to
97e28c9
Compare
|
I'm not sure why there are so many files changed in this PR |
I think something was accidentally included in the last force push. |
|
Yep, fixing it now, sorry! |
When running on Windows, wdm is required in order to properly do incremental updates and regeneration. Fix dependency on timezone to match docs See https://jekyllrb.com/docs/installation/windows/#time-zone-management
|
The indentation seems to be off (there's extra spaces in a few lines). I'm not sure if these lines would also need to be included in the gemspec file, or does it make sense to only include them in the Gemfile? @ReenigneArcher do you have insight on this? |
|
I don't have a ton of experience with ruby other than a little with this project and one other homebrew spec, but I found this blog post on the topic. https://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/ That seems to suggest the dependencies should be defined in the gemspec file versus the Gemfile. Additionally with the gemspec file they can be properly specified as dev dependencies. I guess the syntax will be slightly different though. spec.add_runtime_dependency "wdm", "~> 0.1.1", install_if: Gem.win_platform?
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem and associated library.
spec.add_runtime_dependency "tzinfo", ">= 1", "< 3", platforms: [:mingw, :x64_mingw, :mswin, :jruby]
spec.add_runtime_dependency "tzinfo-data", platforms: [:mingw, :x64_mingw, :mswin, :jruby] |
|
I read that as well, which is what made me question where this should be added. I'm going to install windowsruby myself and try this out and experiment. But I'll also post on a jekyll forum to get advice from people who have much more experience. I'm going to refrain from accepting this PR until know for sure that it's correct. |
|
I've spent a lot of time researching this, and I think the issue you're having is only when you clone this repository and try to run a jekyll site using the direct files in this repo, is that correct? If you use the theme using using |
|
When using |
|
Before I finalize this, I asked on Jekyll forum and on SO, and I want to give it a few days to see if someone thinks my reasoning is wrong. |
|
Yes, I think this is mostly for the case of someone contributing to this repo or forking to make changes (as I did). :) |
Allow development on Windows from Gemfile (daattali#1390)
* Update CHANGELOG.md * Update CHANGELOG.md * add full-width YAML option * remove link-tags settings * ensure all images have alt text * add alt text to changelog * add aria label to link for accessibility * upgrade to jquery 3.5.1 * add note about sometimes having to re-trigger build; fixes daattali#710 * accidentally reverted some of the README * Update README.md * readme: add information about upgrading to newer versions * Update README.md * Update README.md * change default timezone to east coast * support multiple files in footer-extra and head-extra * use proper capitalization in demo post * add YAML options before-content and after-content * add config option 'feed_show_excerpt * make show-avatar default for everyone (fixes daattali#715) * fix nav-short option to have short avatar and to not have top whitespace * css: make inline code look the same as before bootstrap 4 upgrade * css: rearrange some of the file and add a few styles from before bootstrap upgrade; fixes daattali#716 * add feed_show_tags option * use kramdown 2.3.0; fixes daattali#713 * add intro comment in config * Update footer.html * Update footer.html * navbar css: make text size and spacing IDENTICAL to pre bootstrap 4 upgrade * add version to HTML * Update issue_template.md * add custom.css template to make it easier for users to add their own CSS * rewrite CHANGELOG * remove tab * add site-js setting * remove custom.css since there's already a site-css setting * make code chunks a little smaller * make code chunks background a little lighter * make code chunks backgruodn slightly darker * make tags less visually strong * add last-updated YAML parameter * Update README.md * code chunks css: fix line height * convert px to rem for tags border * allow url-canonical in footer * make thumbnails square * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * link to faq * Update README.md * Update README.md * add top margin to headers * bump version to 5.0.0 * change width of navbar collapse; fixes daattali#719 * navbar: change burger to xl instead of lg * css: change navbar collapsed width * navbar: don't transition the background colour * fix bug where navbar secondary level dropdown items did not inherit the same colour as the primary navbar links * fix bug where navbar burger button didn't always revert to the correct light one * Update CHANGELOG.md * Update nav.html * Update nav.html * Update footer.html * make grayscaled thumbnails more colourful * make thumbnails less grayscaled * css: add margin top to blog tags * Update issue_template.md * bug fix: when using an image as a navbar title, use relative path so that a GitHub Project page will have the correct path * Update CHANGELOG.md * make sure post images maintain a proper image aspect and aren't forced into squares * Update CHANGELOG.md * Update FUNDING.yml * add patreon support to social media links in footer * update config to overwrite github's default future=true flag so that future posts aren't shown * Update CHANGELOG.md * undo last change * undo future=false change * Update _config.yml * clarify documentation on how to use captions in cover images; related to daattali#740 * fix(daattali#744): Escape special characters in title (daattali#745) * add matt artist as sponsor * Fix margin top alignment issue on Safari (daattali#750) * Update README.md * Update README.md * Update README.md * Update README.md * Remove references to any public Staticman API instance (daattali#775) * Update CHANGELOG.md * Adding option for Medium Social Link at footer (daattali#784) * Itch.io social link (daattali#788) * Update CHANGELOG.md * Add support for Cloudflare analytics (daattali#798) * Include Reddit in share options of posts (daattali#815) * add search to the navbar using 'post_search' config param * Update CHANGELOG.md * ui: make sure search results dont have underline until hovered * search feature: make sure page scrollbar disappears when searching but a scrollbar for search items shows if needed * Update README.md * Update README.md * add loadview sponsor * IE & jQuery slim compatible Staticman JS (daattali#782) * Update CHANGELOG.md * make long strings wrap lines instad of go offscreen; fix daattali#787 * correctly escape titles subtitles and excerpts in all contexts; fixes daattali#856 * revert testing changes in posts * breaking change: rss feed only generated if rss-description config exists; rss icon only shows if social-network-links.rss is true; closes daattali#814 * Added feature to customize hover links color in footer (daattali#848) * add giscus support (daattali#888) * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Add discord to supported social networks (daattali#907) * add discord to social-networks-links.html * Update _config.yml * Update Discord entry * Update CHANGELOG.md * Add Mastodon profile verification (daattali#933) See https://docs.joinmastodon.org/user/profile/#fields * Add New Comment options (daattali#960) * Init dev branch * Fix dev branch * Forgot to add commentbox.html * Testing discussbot integration * forgot comments.html * remove my credentials * Update _config.yml Change comments to offer unambiguous descriptions of variables. * remove discussbot * Update CHANGELOG.md Co-authored-by: Karsten Ng <[email protected]> * add commentbox to readme * add commentbox to readme * adding kaggle social link (daattali#961) * Update social-networks-links.html * Update _config.yml * add news item for kaggle social media * added hackerrank social media network (daattali#978) * add news item for hacerrank * Markup home page content lists and tags as lists (daattali#950) * Markup home page content lists and tags as lists * Fix styling after markup changes * Fix typo * fix a couple visual issues * make sure the divider line between posts shows up Co-authored-by: Dean Attali <[email protected]> * Update CHANGELOG.md * add 'edit this page' button; closes daattali#1004 * Fixes daattali#765 (daattali#1010) * Fixes daattali#765 * Update beautifuljekyll.css * Update beautifuljekyll.css Co-authored-by: Dean Attali <[email protected]> * Update CHANGELOG.md * more readable format for config file * Add `navbar-var-length` config parameter (daattali#1011) * add navbar-var-length config option * fix endif -> endunless * replaced var with const (daattali#1049) * trigger GH actions * update actions/checkout to v3 because of node deprecation warning; fixes daattali#1099 * google analytics config setting: encourage gtag, discourage google_analytics (fixes daattali#1096) * Discord supports old and new invite code styles (daattali#1135) * remove cover image * Delete index.html * Update README.md * new github workflow instructions * Update README.md * Add files via upload * remove sponsor * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * replace var with let or const in javascript; fixes daattali#1048 * update readme * update gem versions to what GitHub Pages uses * Update LICENSE * Update base.html * Update beautifuljekyll.js * add webrick to gemspec because it isnt included in ruby3 anymore * Update README.md * Update README.md * Update README.md * show warning message if old Universal Analytics is used * format changelog for v6 * Update CHANGELOG.md * update gemspec to version 6 * bump hotfix version to allow gems to use any jekyll version and to use webrick in runtime rather than only in dev * google analytics message: add padding around * be explicit about jekyll version to fix github action * Update beautiful-jekyll-theme.gemspec * Update beautiful-jekyll-theme.gemspec * Update README.md * Allow changing the order of the social network links that appear in the footer; fixes daattali#1152 * Update issue_template.md * fixed bug where hovering over search results showed the string {desc}; fixes daattali#1156 * Add GitLab to the list of social media sources (daattali#1168) * Add GitLab to the list of social media sources * Update CHANGELOG.md --------- Co-authored-by: Dean Attali <[email protected]> * remove unneeded images * Rename 2020-02-28-test-markdown.md to 2020-02-28-sample-markdown.md * Update 2020-02-28-sample-markdown.md * Add files via upload * Update CHANGELOG.md * readme: link to sample markdown post * Update README.md * remove duplicate css * add support for header-extra parameter * Add sponsor to readme * Add Bluesky to social network links (daattali#1218) * fix google scholar link construction (daattali#1187) (daattali#1189) * Add robots.txt (daattali#1224) * Update robots.txt * Delete robots.txt * pagination: change arrows to fontawesome and dont show text on small screens * Update CHANGELOG.md * use slash instead of empty string for absolute url, try to fix links in 'jekyll build' * Add support for author in YAML parameters (daattali#1220) * Made the footer stick to the bottom; fixes daattali#576 (daattali#1226) * post navigation: move arrow to correct location * page naviation: move arrow to correct location * bug fix: escape characters in url in searchjson; fixes daattali#1232 * simplify header html; alternative to daattali#1227 * change role=main to main tag * fix layouy bug where code blocks dont scroll horizontally; fixes daattali#1235 * Update README.md * update default youtube string in footer * add support for favicon.ico file; related to daattali#1234 and daattali#1249 * Yelp url bug fix (daattali#1259) (daattali#1260) * Add itch.io social network link to the commented out entries (daattali#1268) * Add a title-on-all-pages site option (daattali#1272) * Update _config.yml * Updated Search Bar (daattali#1265) * Relax version constraint for kramdown to support latest version of github-pages (daattali#1290) * Fix GitHub Actions for Jekyll 4.x (daattali#1276) * github action: update checkout to latest v4 * Added Whatsapp to social network (daattali#1299) * Update CHANGELOG.md * add mathjax YAML parameter to support mathjax expressions; closes daattali#195 * feat(social): add untappd (daattali#1307) * Update CHANGELOG.md * Use CSS variables; fixes daattali#661 (daattali#1312) * add missing semicolons in css * readme: add next step to read jekyll docs * upgrade fontawesoem to 6.5.2; fixes 1330 * change twitter icon to X; fixes daattali#1193 * escpe backslash in search results; fixes daattali#1279 * move search to its own file; fixes 1284 * feat(social-links): allow subreddit (daattali#1371) * update changelog * ci(workflow): ensure relative_url is used (daattali#1374) * Bluesky icon in font awesome (daattali#1402) * add example to show how to use details HTML tag with markdown inside itwq * fix 1452: cause tables to scroll when wide * Update CHANGELOG.md * Add margin-bottom to social media links (daattali#1441) * Add Strava social network link (daattali#1443) * Update CHANGELOG.md * Update _config.yml * Add author to RSS feed (daattali#1442) * Update CHANGELOG * remove hardcoding of social-share-section and expose reddit option in config file; fixes daattali#1440 * Allow development on Windows from Gemfile (daattali#1390) * update file * update file * Update header.html * update siles * update gitignore file --------- Co-authored-by: Dean Attali <[email protected]> Co-authored-by: Dean Attali <[email protected]> Co-authored-by: Dmitry <[email protected]> Co-authored-by: Amy Troschinetz <[email protected]> Co-authored-by: Vincent Tam <[email protected]> Co-authored-by: Diksha Verma <[email protected]> Co-authored-by: Emaleth <[email protected]> Co-authored-by: Ari Kalfus <[email protected]> Co-authored-by: Leedan <[email protected]> Co-authored-by: DoctorD90 <[email protected]> Co-authored-by: Patrick Garziglia <[email protected]> Co-authored-by: Emhl <[email protected]> Co-authored-by: Stefan Leibfarth <[email protected]> Co-authored-by: Karsten Ng <[email protected]> Co-authored-by: Karsten Ng <[email protected]> Co-authored-by: 洪健翔 Hung, Chien-Hsiang <[email protected]> Co-authored-by: tanersekmen <[email protected]> Co-authored-by: Jefferson Bledsoe <[email protected]> Co-authored-by: Arnaud Dagnelies <[email protected]> Co-authored-by: Nico is LOST <[email protected]> Co-authored-by: Alejandro G. Vallejo <[email protected]> Co-authored-by: Alex Chohlas-Wood <[email protected]> Co-authored-by: Richard Decal <[email protected]> Co-authored-by: Stephen Schwetz <[email protected]> Co-authored-by: Stephen Schwetz <[email protected]> Co-authored-by: ch0c0l8ra1n <[email protected]> Co-authored-by: tsolloway <[email protected]> Co-authored-by: Chadow <[email protected]> Co-authored-by: Quinn <[email protected]> Co-authored-by: Taranjeet Singh Bedi <[email protected]> Co-authored-by: Daniel <[email protected]> Co-authored-by: Adam Setch <[email protected]> Co-authored-by: ReenigneArcher <[email protected]> Co-authored-by: Pablo Cabeza García <[email protected]> Co-authored-by: Tim Angus <[email protected]> Co-authored-by: Daniel Cazzulino <[email protected]> Co-authored-by: Pinak Mazumdar <[email protected]>
When running on Windows, wdm is required in order to properly do incremental updates and regeneration.
The tzinfo-data dependency is also reported missing (under Windows at least, with jekyll 3.9.3).