Skip to content

Unify generation of Scala 3 API and Reference documentations #23606

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions docs/_layouts/static-site-main.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,7 @@

<div class="site-container">
<div id="site-header"></div>
{% if page.nightlyOf %}
<aside class="warning">
<div class='icon'></div>
<div class='content'>
This is a nightly documentation. The content of this page may not be
consistent with the current stable version of language. Click
<a href="{{ page.nightlyOf }}">here</a> to find the stable version of this
page.
</div>
</aside>
{% endif %} {{ content }}
{{ content }}
<div class="divider" />
<nav class="arrow-navigation" aria-label="Page navigation">
{% if page.previous %}
Expand Down
63 changes: 63 additions & 0 deletions docs/sidebar.nightly.template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
index: index.md
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file is exactly old sidebar.yml with reference sections removed (+ additional comment)

subsection:
- title: Reference
directory: docs/reference
# Embed sidebar.reference.yml, performed by `generateScalaDocumentation` sbt task
- title: Contributing
directory: docs/contributing
index: contributing/index.md
subsection:
- page: contributing/getting-started.md
- page: contributing/setting-up-your-ide.md
- index: contributing/issues/diagnosing-your-issue.md
subsection:
- page: contributing/issues/reproduce.md
- page: contributing/issues/cause.md
- page: contributing/issues/areas.md
- index: contributing/debugging/debugging.md
subsection:
- page: contributing/debugging/ide-debugging.md
- page: contributing/debugging/inspection.md
- page: contributing/debugging/other-debugging.md
- page: contributing/testing.md
- page: contributing/scaladoc.md
- page: contributing/community-build.md
- page: contributing/sending-in-a-pr.md
- page: contributing/cheatsheet.md
- title: Procedures
directory: procedures
index: contributing/procedures/index.md
subsection:
- page: contributing/procedures/release.md
- page: contributing/procedures/vulpix.md
- title: High Level Architecture
directory: architecture
index: contributing/architecture/index.md
subsection:
- page: contributing/architecture/lifecycle.md
- page: contributing/architecture/context.md
- page: contributing/architecture/phases.md
- page: contributing/architecture/types.md
- page: contributing/architecture/time.md
- page: contributing/architecture/symbols.md
- title: Internals
directory: docs/internals
index: internals/index.md
subsection:
- page: internals/backend.md
- page: internals/classpaths.md
- page: internals/contexts.md
- page: internals/dotc-scalac.md
- page: internals/higher-kinded-v2.md
- page: internals/overall-structure.md
- page: internals/explicit-nulls.md
- page: internals/periods.md
- page: internals/syntax.md
- page: internals/type-system.md
- page: internals/dotty-internals-1-notes.md
- page: internals/debug-macros.md
- page: internals/gadts.md
- page: internals/coverage.md
- page: internals/best-effort-compilation.md
- page: release-notes-0.1.2.md # Referenced from https://www.scala-lang.org/blog/2017/05/31/first-dotty-milestone-release.html
hidden: true
Loading
Loading