Skip to content

Commit

Permalink
Refactor documentation for custom link feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Leblanc committed Jul 12, 2023
1 parent cd240a8 commit 9bb929a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _overviews/scala3-scaladoc/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ Links to social sites. For example:

`-social-links:github::https://github.com/lampepfl/dotty,discord::https://discord.com/invite/scala,twitter::https://twitter.com/scala_lang`

Valid values are of the form: `[github|twitter|gitter|discord]::link`. Scaladoc also supports `custom::link::white_icon_name::black_icon_name`. In this case icons must be present in `images/` directory.
Valid values are of the form: `[github|twitter|gitter|discord]::link`. Scaladoc also supports `custom::link::white_icon_name[::black_icon_name]`(Black icon is optional). For example:

`-social-links:scalalang::https://docs.scala-lang.org/::logo-scalalang.png` or `-social-links:scalalang::https://docs.scala-lang.org/::logo-scalalang.png::logo-scalalang-black.png`

In this case icons must be present in `docs/_assets/images/` directory.

##### -skip-by-id

Expand Down

0 comments on commit 9bb929a

Please sign in to comment.