Skip to content
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

Adding site #10

Merged
merged 7 commits into from
Mar 10, 2023
Merged

Adding site #10

merged 7 commits into from
Mar 10, 2023

Conversation

TonioGela
Copy link
Member

@TonioGela TonioGela commented Mar 3, 2023

Addresses #5 (or at least it starts to :D)
@armanbilge I began adding the site structure but I don't have the rights to perform these actions 👇

- Grant "Read and write" permissions to workflows. 
- Set the GitHub pages source to the / (root) directory on the gh-pages branch.

Also the non-deprecated way of adding RelatedProjects seems to require both an import and a quite verbose syntax:

Verbosity here
import laika.helium.config._

// ....
.settings(
    tlSiteHelium ~= {
      _.site.mainNavigation(
        appendLinks = List(
          ThemeNavigationSection(
            "Related Projects",
            TextLink.external("https://github.com/typelevel/cats", "cats"),
            TextLink.external(
              "https://github.com/typelevel/cats-effect",
              "cats-effect"
            ),
            TextLink.external("https://github.com/typelevel/fs2", "fs2"),
            TextLink.external("https://github.com/http4s/http4s", "http4s"),
            TextLink.external("https://github.com/circe/circe", "circe"),
            TextLink.external("https://github.com/bkirwi/decline", "decline"),
            TextLink.external(
              "https://github.com/typelevel/munit-cats-effect",
              "munit-cats-effect"
            )
          )
        )
      )
    }
  )

is sbt-typelevel-site intended to be used that way? does a shortcut exist?

@TonioGela TonioGela requested review from armanbilge and removed request for armanbilge March 3, 2023 13:07
@armanbilge
Copy link
Member

I don't have the rights to perform these actions

I can take care of it after the PR merges.

build.sbt Outdated Show resolved Hide resolved
build.sbt Outdated Show resolved Hide resolved
build.sbt Show resolved Hide resolved
@TonioGela
Copy link
Member Author

WDYT @armanbilge, are these examples enough to bootstrap the site? This will maybe raise some interest and people might contribute with their scripts in this way.

@TonioGela TonioGela marked this pull request as ready for review March 4, 2023 16:59
@TonioGela TonioGela merged commit 2124d3f into typelevel:main Mar 10, 2023
@TonioGela TonioGela deleted the site branch March 10, 2023 06:29
@TonioGela
Copy link
Member Author

I can take care of it after the PR merges.

@armanbilge, your turn :)

@armanbilge
Copy link
Member

https://typelevel.org/toolkit/

@:choice(scala-2)

```scala mdoc:reset:silent
//> using lib "org.typelevel::toolkit::0.0.2"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
//> using lib "org.typelevel::toolkit::0.0.2"
//> using lib "org.typelevel::toolkit::@VERSION"

@:choice(scala-2)

```scala mdoc:reset:silent
//> using lib "org.typelevel::toolkit::0.0.2"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
//> using lib "org.typelevel::toolkit::0.0.2"
//> using lib "org.typelevel::toolkit::@VERSION"

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.

2 participants