Skip to content

Added live site with typelevel site and laika.#1167

Open
dhinojosa wants to merge 1 commit into
typelevel:mainfrom
dhinojosa:add-laika-site
Open

Added live site with typelevel site and laika.#1167
dhinojosa wants to merge 1 commit into
typelevel:mainfrom
dhinojosa:add-laika-site

Conversation

@dhinojosa
Copy link
Copy Markdown

Note:
The Old Releases Page may not work as we move away from the old scalacheck.org website. The old website has a files/ folder that still needs to be up and running for that page to work. We may no longer want to maintain the very old releases, so we can stop advertising them.

@dhinojosa dhinojosa force-pushed the add-laika-site branch 2 times, most recently from 7f4a11d to 0ef0bc1 Compare April 11, 2026 15:06
Comment thread docs/files/index.html
@@ -0,0 +1,921 @@
<!DOCTYPE html>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like a pre-rendered HTML in here.
Shouldn't it be in Laika sources in Markdown format insead?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So that's the slide deck from Rickard. See the current website here. https://scalacheck.org/files/scaladays2014/index.html#1

I'm bringing it in so it can still be seen as a slide deck. To see how it is generated, see the branch website and the directory src/articles/scaladays2014/presentation/. The original deck is actually in markdown, but the slide deck is rendered with a default.nix file, in the same presentation folder that uses a remark.js derivation.

I can either:

  1. Keep it as an HTML/CSS already built static file the way it is now, since I don't think any more changes are going to be made
  2. Just post the slide deck as markdown - it won't look and feel like a slide deck anymore, but just like another page on the website.
  3. Try to make it part of the build somehow, and build it with remark.js and link it somehow to the project
  4. Just remove the slide deck entirely as a resource and just leave the link to the parlays talk on YouTube.
  5. Your ideas here

Copy link
Copy Markdown
Contributor

@satorg satorg Apr 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dhinojosa ,

  1. Just post the slide deck as markdown - it won't look and feel like a slide deck anymore, but just like another page on the website.

I'd probably go with that option. A regular markdown should be easier to read and easier to search its content up.

link

@armanbilge , wdyt?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know and I will tidy it up @armanbilge @satorg

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm okay to keep this as html. Let's try to preserve the original URL.

Note:
The Old Releases Page may not work if we are moving away from the old scalacheck.org website. The old website has a `files/` folder that would need to still be up and running for that page to work. It could very well be that we don't want to maintain the very old releases anymore so we can forego advertising those releases
@dhinojosa
Copy link
Copy Markdown
Author

FYI, I changed the old_releases.md page so it no longer relies on the old website.

Copy link
Copy Markdown
Member

@armanbilge armanbilge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for your work on this!

Comment thread docs/files/remark.js
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can load this over a CDN instead of committing to the repo. Not sure what version it is.

https://cdnjs.com/libraries/remark

Comment thread build.sbt
Comment on lines +83 to +84
val scalaCheckRepo = "https://github.com/typelevel/scalacheck"
val latestVersion = "1.19.0"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of hard-coding these, we should read them out of settings. For example, the repository is available as scmInfo.value.map(_.browseUrl).

Comment thread build.sbt
Comment on lines +89 to +92
laikaExtensions ++= Seq(
Markdown.GitHubFlavor,
SyntaxHighlighting
),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the TypelevelSitePlugin already enables these things.

Comment thread docs/sources.md
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this page is very meaningful anymore 😅

Comment thread docs/files/index.html
@@ -0,0 +1,921 @@
<!DOCTYPE html>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm okay to keep this as html. Let's try to preserve the original URL.

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

Successfully merging this pull request may close these issues.

3 participants