Skip to content

Add top level index page #11575

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

Merged
merged 1 commit into from
Mar 11, 2021
Merged

Conversation

romanowski
Copy link
Contributor

In case no static site is provided.

Always open toplevel entry.

In case no static site is provided.

Always open toplevel entry.
@@ -34,7 +34,7 @@ trait Locations(using ctx: DocContext):
case dri =>
val loc = dri.location
val fqn = loc.split(Array('.')).toList match
case "<empty>" :: Nil => "index" :: Nil
case "<empty>" :: Nil => "_empty_" :: Nil
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't it just default case other => other?

Copy link
Contributor

Choose a reason for hiding this comment

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

My bad, I meant case "<empty>" :: tail => "_empty_" :: tail

@romanowski romanowski merged commit cc87d06 into scala:master Mar 11, 2021
@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 2023
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