-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Scaladoc features parity with old scaladoc/docs.scala-lang #13954
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
Changes from 14 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
9be85d1
POC
BarkingBad c233e2f
Walk in order and collect previous/next
BarkingBad 1de6f53
Add `Edit on Github` button and `Contriubuted` sections
BarkingBad cb56195
Polish gathering the contributors. CSSes fixes.
BarkingBad ca74482
Fix tooltipping snippets
BarkingBad 7e1387e
Fix handling relative links for static site
BarkingBad dcb0de6
Add redirects mechanism for scaladoc
BarkingBad 104efd9
Fix leftover
BarkingBad 773ce31
Fix tests
BarkingBad 2ebba6f
Fix gathering index html for sections without explicit index
BarkingBad 5d96a3b
Apply requested changes to scaladoc
BarkingBad 6284e86
Decouple Scala.js jses. Move contributors to be independent asset/
BarkingBad 3a7ef07
Add support for multiple redirects
BarkingBad 748f0ae
Apply requested changes. Add static site for testcases. Fix minor bug…
BarkingBad a350d78
Fix tests
BarkingBad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,22 @@ | ||
--- | ||
layout: main | ||
layout: static-site-main | ||
--- | ||
<main class="container"> | ||
<header> | ||
<h1>{{ page.title }}</h1> | ||
</header> | ||
{{ content }} | ||
<main> | ||
<header> | ||
<h1>{{ page.title }}</h1> | ||
{% if urls.editSource %} | ||
<div class="byline"> | ||
<a href="{{ urls.editSource }}"> | ||
<i class="far fa-edit"></i> | ||
Edit this page on GitHub | ||
</a> | ||
</div> | ||
{% endif %} | ||
</header> | ||
{{ content }} | ||
<div class="content-contributors hidden"> | ||
<h5>Contributors to this page:</h5> | ||
<div id="documentation-contributors" class="contributors-container"></div> | ||
</div> | ||
</main> | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
hasFrame: false | ||
--- | ||
<!DOCTYPE html> | ||
<html lang="en-US"> | ||
<meta charset="utf-8"> | ||
<title>Redirecting…</title> | ||
<link rel="canonical" href="{{ redirectTo }}"> | ||
<script>location="{{ redirectTo }}"</script> | ||
<meta http-equiv="refresh" content="0; url={{ redirectTo }}"> | ||
<meta name="robots" content="noindex"> | ||
<h1>Redirecting…</h1> | ||
<a href="{{ redirectTo }}">Click here if you were not redirected.</a> | ||
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
layout: main | ||
--- | ||
<div class="container"> | ||
<div id="site-header"> | ||
<div class="wrap"> | ||
<nav class="navigation" role="menu"> | ||
<ul class="navigation-menu"> | ||
<li class="navigation-menu-item"> | ||
<a href="https://docs.scala-lang.org/" class="active">Documentation</a> | ||
</li> | ||
<li class="navigation-menu-item"> | ||
<a href="https://www.scala-lang.org/download/">Download</a> | ||
</li> | ||
<li class="navigation-menu-item"> | ||
<a href="https://www.scala-lang.org/community/">Community</a> | ||
</li> | ||
<li class="navigation-menu-item"> | ||
<a href="https://index.scala-lang.org">Libraries</a> | ||
</li> | ||
<li class="navigation-menu-item"> | ||
<a href="https://www.scala-lang.org/contribute/">Contribute</a> | ||
</li> | ||
<li class="navigation-menu-item"> | ||
<a href="https://www.scala-lang.org/blog/">Blog</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</div> | ||
</div> | ||
{% if page.movedTo %} | ||
<aside class="warning"> | ||
The content of this page is outdated. Click <a href="{{ page.movedTo }}">here</a> to find the up to date version of this page. | ||
</aside> | ||
{% endif %} | ||
{{ content }} | ||
<nav class="arrows-wrapper" aria-label="Page navigation"> | ||
{% if page.previous %} | ||
<a rel="prev" href="{{ page.previous }}" class="arrows previous" aria-keyshortcuts="Left"> | ||
<i class="fa fa-angle-left"></i> | ||
</a> | ||
{% endif %} | ||
{% if page.next %} | ||
<a rel="next" href="{{ page.next }}" class="arrows next" aria-keyshortcuts="Right"> | ||
<i class="fa fa-angle-right"></i> | ||
</a> | ||
{% endif %} | ||
</nav> | ||
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
layout: main | ||
layout: static-site-main | ||
title: Blog | ||
--- | ||
<main class="container"> | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.