-
Notifications
You must be signed in to change notification settings - Fork 19
Conversation
Adds sbt-microsites Plugin and Resources
This is great stuff ... thanks! Can you say how this works in conjunction with typelevel.org? |
From the top of my head, nothing has changed from the previous version, Does it make sense? On Sun, Sep 11, 2016, 4:15 PM Miles Sabin [email protected] wrote:
|
The org.typelevel site is a completely separate repo from this one, with it's own Jekyll build process ... I can merge this PR, but what mechanism are you proposing for including this content under org.typelevel? |
I got confused this thread with the other one opened at typelevel/cats#1369, sorry about that!. I'm not completely sure how typelevel.github.com works, but maybe we could push this microsite to In that case, we could change the permanent link here: https://github.com/typelevel/typelevel.github.com/blob/master/_projects/scala.md Does it make sense? |
@larsrh @milessabin This is ready to go if looks good to you. Please, take a look at the documentation to see deeper info about how to publish it (https://47deg.github.io/sbt-microsites/docs/build-the-microsite.html). Thanks! |
Thanks @juanpedromoreno! I'll merge and publish this by hand for now (so that we can get it out for people to see). I'll try to find some time to automate publishing. |
@juanpedromoreno For some reason, the generated HTML looks off: the multi-line code snippets don't get properly formatted. Could you take a look please? |
Potentially, it could be because of an old Ruby/Jekyll version. Please, On Sat, Sep 24, 2016, 11:43 PM Lars Hupel [email protected] wrote:
|
I did |
You might want to consider setting up Bundler in the repo, instead of relying on whatever you have installed system-wide. Here's how I did it for the ENSIME website: https://github.com/ensime/ensime.github.io/pull/24. (note some of that initial config later changed). |
Looks good. What's the mechanism for updating the site when the README changes? |
Looks great @dwijnand For the sbt-microsites docs, as another alternative, we are doing auto-publish each time we merge something in master branch. https://github.com/47deg/sbt-microsites/blob/master/.travis.yml |
@milessabin No mechanism just yet. I'll try to get the automation set up next week. |
In the alternative that we've implemented, we just need to generate an |
@juanpedromoreno Yeah, I just resurrected our bot account, so this is precisely what we're going to do 😄 |
This PR brings a microsite for the Typelevel for of the Scala Compiler. It's made thanks to the https://github.com/47deg/sbt-microsites plugin and the resources provided in this PR.
It takes as main documentation the README file from https://github.com/typelevel/scala. We've set up the initial URL at
http://typelevel.org/scala
but it could be changed at your convenience.If you want to test locally you need Jekyll locally, depending on your platform, you might do this with:
Once you have installed it, you could perform the following steps:
sbt "makeMicrosite"
target/site
jekyll serve
Please, review at your convenience. Many thanks!
Join-effort from the 47Deg team :)