-
Notifications
You must be signed in to change notification settings - Fork 67
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
Running jekyll server locally #148
Comments
One other suggestion: it may be a good idea to link somewhere about how to set up a local test version of the ocamlverse webpage for new contributors. This github page has some instructions on how to do it, so it may be enough to link that page somewhere on the contributing page. |
Feel free to open a PR for this requirement. So long as ocamlverse keeps running as is, I'm happy to keep up with the toolchain. In general, I don't really care about running ocamlverse locally, but if you want to contribute a page about it (maybe under 'About OCamlverse', which needs to be updated anyway since it's no longer a "new" resource), I'd be happy to add it. You could put a |
Sure I will put something together in a few days. Question...if you aren't running the site locally, do you have another way to preview changes? |
I just update on github and look at the changes, fixing as needed. The formatting is pretty constant at this point, so it's just content that changes. |
Might be better to just do a |
That could be the case that only a Eventually I plan to open a pull request for this, but I won't get to it for a couple weeks, so if anyone else wants to first, feel free :) |
I've added some docs here #151 Webrick is needed in Ruby 3 because it was removed from the standard library (see https://bugs.ruby-lang.org/issues/17303). I can add a note about it later. I'm still using Ruby 2.7 myself, as at work we haven't migrated to 3.0+ yet. |
To run the jekyll server locally with Ruby v3, I needed to add
gem 'webrick', '~> 1.7'
to theGemfile
.Adding this to the Gemfile lets you run the jekyll server locally both on v2 and v3 (I tested on Ruby versions 2.7.2 and 3.1.2).
If you would like, I could open a pull request for this.
The text was updated successfully, but these errors were encountered: