{{ page.title }}
7 | 17 | {% if page.subTitle %} 18 |28 | 34 | {% endif %} 35 |
├── .github
└── workflows
│ └── CI.yaml
├── .gitignore
├── .scalafmt.conf
├── README.md
├── build.sbt
├── documentation
└── docs
│ └── index.md
├── dotty-docs
└── docs
│ ├── .gitignore
│ ├── _layouts
│ ├── base.html
│ ├── blog-page.html
│ ├── doc-page.html
│ ├── index.html
│ ├── main.html
│ └── search.html
│ ├── blog
│ ├── _posts
│ │ ├── 2015-10-23-dotty-compiler-bootstraps.md
│ │ ├── 2016-01-02-new-year-resolutions.md
│ │ ├── 2016-02-03-essence-of-scala.md
│ │ ├── 2016-02-17-scaling-dot-soundness.md
│ │ ├── 2016-05-05-multiversal-equality.md
│ │ ├── 2016-12-05-implicit-function-types.md
│ │ ├── 2017-05-31-first-dotty-milestone-release.md
│ │ ├── 2017-07-12-second-dotty-milestone-release.md
│ │ ├── 2017-09-07-third-dotty-milestone-release.md
│ │ ├── 2017-10-16-fourth-dotty-milestone-release.md
│ │ ├── 2017-12-01-fifth-dotty-milestone-release.md
│ │ ├── 2018-03-05-seventh-dotty-milestone-release.md
│ │ ├── 2018-04-27-eighth-dotty-milestone-release.md
│ │ ├── 2018-07-06-ninth-dotty-milestone-release.md
│ │ ├── 2018-10-10-10th-dotty-milestone-release.md
│ │ ├── 2018-11-30-11th-dotty-milestone-release.md
│ │ ├── 2019-01-21-12th-dotty-milestone-release.md
│ │ ├── 2019-03-05-13th-dotty-milestone-release.md
│ │ ├── 2019-04-15-14th-dotty-milestone-release.md
│ │ ├── 2019-05-23-15th-dotty-milestone-release.md
│ │ ├── 2019-06-11-16th-dotty-milestone-release.md
│ │ ├── 2019-07-25-17th-dotty-milestone-release.md
│ │ ├── 2019-08-30-18th-dotty-milestone-release.md
│ │ ├── 2019-09-23-19th-dotty-milestone-release.md
│ │ ├── 2019-11-04-20th-dotty-milestone-release.md
│ │ ├── 2019-12-20-21th-dotty-milestone-release.md
│ │ ├── 2020-02-05-22nd-dotty-milestone-release.md
│ │ ├── 2020-03-18-23rd-dotty-milestone-release.md
│ │ ├── 2020-04-29-24th-dotty-milestone-release.md
│ │ ├── 2020-06-22-25th-dotty-milestone-release.md
│ │ └── 2020-07-27-26th-dotty-milestone-release.md
│ └── index.html
│ ├── css
│ ├── bootstrap.min.css
│ ├── color-brewer.css
│ ├── dottydoc.css
│ ├── frontpage.css
│ ├── search.css
│ ├── sidebar.css
│ └── toolbar.css
│ ├── docs
│ ├── contributing
│ │ ├── checklist.sh
│ │ ├── contribute-knowledge.md
│ │ ├── debug-tests.md
│ │ ├── debugging.md
│ │ ├── getting-started.md
│ │ ├── procedures
│ │ │ ├── release.md
│ │ │ └── vulpix.md
│ │ ├── scala2-vs-scala3.md
│ │ ├── testing.md
│ │ ├── tools
│ │ │ ├── mill.md
│ │ │ └── scalafix.md
│ │ └── workflow.md
│ ├── index.md
│ ├── internals
│ │ ├── backend.md
│ │ ├── classpaths.md
│ │ ├── contexts.md
│ │ ├── core-data-structures.md
│ │ ├── debug-macros.md
│ │ ├── dotc-scalac.md
│ │ ├── dotty-internals-1-notes.md
│ │ ├── explicit-nulls.md
│ │ ├── higher-kinded-v2.md
│ │ ├── overall-structure.md
│ │ ├── periods.md
│ │ ├── syntax-3.1.md
│ │ ├── syntax.md
│ │ └── type-system.md
│ ├── reference
│ │ ├── changed-features
│ │ │ ├── compiler-plugins.md
│ │ │ ├── eta-expansion-spec.md
│ │ │ ├── eta-expansion.md
│ │ │ ├── implicit-conversions-spec.md
│ │ │ ├── implicit-conversions.md
│ │ │ ├── implicit-resolution.md
│ │ │ ├── interpolation-escapes.md
│ │ │ ├── lazy-vals-init.md
│ │ │ ├── main-functions.md
│ │ │ ├── match-syntax.md
│ │ │ ├── numeric-literals.md
│ │ │ ├── operators.md
│ │ │ ├── overload-resolution.md
│ │ │ ├── pattern-bindings.md
│ │ │ ├── pattern-matching.md
│ │ │ ├── structural-types-spec.md
│ │ │ ├── structural-types.md
│ │ │ ├── type-checking.md
│ │ │ ├── type-inference.md
│ │ │ ├── vararg-patterns.md
│ │ │ └── wildcards.md
│ │ ├── contextual
│ │ │ ├── by-name-context-parameters.md
│ │ │ ├── context-bounds.md
│ │ │ ├── context-functions-spec.md
│ │ │ ├── context-functions.md
│ │ │ ├── conversions.md
│ │ │ ├── delegates.md
│ │ │ ├── derivation-macro.md
│ │ │ ├── derivation.md
│ │ │ ├── extension-methods.md
│ │ │ ├── given-clauses.md
│ │ │ ├── given-imports.md
│ │ │ ├── givens.md
│ │ │ ├── implicit-by-name-parameters.md
│ │ │ ├── implicit-function-types-spec.md
│ │ │ ├── implicit-function-types.md
│ │ │ ├── import-delegate.md
│ │ │ ├── import-implied.md
│ │ │ ├── inferable-by-name-parameters.md
│ │ │ ├── inferable-params.md
│ │ │ ├── instance-defs.md
│ │ │ ├── motivation.md
│ │ │ ├── multiversal-equality.md
│ │ │ ├── query-types-spec.md
│ │ │ ├── query-types.md
│ │ │ ├── relationship-implicits.md
│ │ │ ├── type-classes.md
│ │ │ └── using-clauses.md
│ │ ├── dropped-features
│ │ │ ├── auto-apply.md
│ │ │ ├── class-shadowing-spec.md
│ │ │ ├── class-shadowing.md
│ │ │ ├── delayed-init.md
│ │ │ ├── do-while.md
│ │ │ ├── early-initializers.md
│ │ │ ├── existential-types.md
│ │ │ ├── limit22.md
│ │ │ ├── macros.md
│ │ │ ├── nonlocal-returns.md
│ │ │ ├── package-objects.md
│ │ │ ├── procedure-syntax.md
│ │ │ ├── symlits.md
│ │ │ ├── this-qualifier.md
│ │ │ ├── type-projection.md
│ │ │ ├── weak-conformance-spec.md
│ │ │ ├── weak-conformance.md
│ │ │ └── xml.md
│ │ ├── enums
│ │ │ ├── adts.md
│ │ │ ├── desugarEnums.md
│ │ │ └── enums.md
│ │ ├── features-classification.md
│ │ ├── metaprogramming
│ │ │ ├── erased-terms-spec.md
│ │ │ ├── erased-terms.md
│ │ │ ├── inline.md
│ │ │ ├── macros-spec.md
│ │ │ ├── macros.md
│ │ │ ├── simple-smp.md
│ │ │ ├── staging.md
│ │ │ ├── tasty-inspect.md
│ │ │ ├── tasty-reflect.md
│ │ │ └── toc.md
│ │ ├── new-types
│ │ │ ├── dependent-function-types-spec.md
│ │ │ ├── dependent-function-types.md
│ │ │ ├── implicit-function-types-spec.md
│ │ │ ├── intersection-types-spec.md
│ │ │ ├── intersection-types.md
│ │ │ ├── match-types.md
│ │ │ ├── type-lambdas-spec.md
│ │ │ ├── type-lambdas.md
│ │ │ ├── union-types-spec.md
│ │ │ └── union-types.md
│ │ ├── other-new-features
│ │ │ ├── control-syntax.md
│ │ │ ├── creator-applications.md
│ │ │ ├── explicit-nulls.md
│ │ │ ├── export.md
│ │ │ ├── implicit-by-name-parameters.md
│ │ │ ├── indentation.md
│ │ │ ├── kind-polymorphism.md
│ │ │ ├── named-typeargs-spec.md
│ │ │ ├── named-typeargs.md
│ │ │ ├── opaques-details.md
│ │ │ ├── opaques.md
│ │ │ ├── open-classes.md
│ │ │ ├── parameter-untupling-spec.md
│ │ │ ├── parameter-untupling.md
│ │ │ ├── quoted-pattern-spec.md
│ │ │ ├── safe-initialization.md
│ │ │ ├── super-traits.md
│ │ │ ├── threadUnsafe-annotation.md
│ │ │ ├── trait-parameters.md
│ │ │ └── tupled-function.md
│ │ ├── overview.md
│ │ └── soft-modifier.md
│ ├── release-notes
│ │ ├── 0.1.2.md
│ │ └── syntax-changes-0.22.md
│ ├── resources
│ │ └── talks.md
│ └── usage
│ │ ├── cbt-projects.md
│ │ ├── dottydoc.md
│ │ ├── getting-started.md
│ │ ├── ide-support.md
│ │ ├── language-versions.md
│ │ ├── sbt-projects.md
│ │ ├── version-numbers.md
│ │ ├── worksheet-mode-implementation-details.md
│ │ └── worksheet-mode.md
│ ├── images
│ ├── aggelos.jpg
│ ├── allan.jpg
│ ├── anatolii.png
│ ├── dotty-ide
│ │ ├── decompiler.png
│ │ ├── documentation-hover.png
│ │ └── signature-help.png
│ ├── dotty-logo-white.svg
│ ├── dotty-logo.svg
│ ├── explicit-nulls
│ │ └── explicit-nulls-type-hierarchy.png
│ ├── favicon.png
│ ├── felix.jpg
│ ├── fengyun.jpg
│ ├── github-logo.svg
│ ├── martin.jpg
│ ├── nico.jpg
│ ├── olivier.jpg
│ ├── others
│ │ └── scala-days-logo.png
│ ├── petrashko.jpg
│ ├── preview.png
│ ├── scala-logo copy.svg
│ ├── scala-logo-white.svg
│ ├── scala-logo.svg
│ ├── smarter.jpg
│ └── worksheets
│ │ ├── config-autorun.png
│ │ ├── worksheet-demo.gif
│ │ ├── worksheet-help.png
│ │ └── worksheet-run.png
│ ├── index.html
│ ├── js
│ ├── api-search.js
│ ├── bootstrap.min.js
│ ├── highlight.pack.js
│ ├── jquery.min.js
│ ├── sidebar.js
│ └── toolbar.js
│ └── sidebar.yml
├── example-project
├── .gitignore
├── .travis.yml
├── LICENSE
├── README.md
├── project
│ ├── build.properties
│ └── plugins.sbt
└── src
│ └── main
│ └── scala
│ ├── AutoParamTupling.scala
│ ├── ContextQueries.scala
│ ├── Conversion.scala
│ ├── EnumTypes.scala
│ ├── ImpliedInstances.scala
│ ├── IntersectionTypes.scala
│ ├── Main.scala
│ ├── MultiversalEquality.scala
│ ├── NamedTypeArguments.scala
│ ├── PatternMatching.scala
│ ├── StructuralTypes.scala
│ ├── TraitParams.scala
│ ├── TypeLambdas.scala
│ └── UnionTypes.scala
├── project
├── ExampleProject.scala
├── build.properties
├── plugins.sbt
└── protoplugin.scala
└── src
├── main
├── resources
│ ├── META-INF
│ │ └── services
│ │ │ └── org.jetbrains.dokka.plugability.DokkaPlugin
│ └── dotty_res
│ │ ├── fonts
│ │ ├── dotty-icons.ttf
│ │ └── dotty-icons.woff
│ │ ├── hljs
│ │ ├── LICENSE
│ │ └── highlight.pack.js
│ │ ├── images
│ │ ├── dotty-logo-white.svg
│ │ └── scala_logo.svg
│ │ ├── scripts
│ │ ├── common
│ │ │ ├── component.js
│ │ │ └── utils.js
│ │ ├── components
│ │ │ ├── DocumentableList.js
│ │ │ ├── Filter.js
│ │ │ ├── FilterBar.js
│ │ │ ├── FilterGroup.js
│ │ │ └── Input.js
│ │ ├── diagram.js
│ │ ├── hljs-scala3.js
│ │ └── ux.js
│ │ └── styles
│ │ ├── diagram.css
│ │ ├── dotty-icons.css
│ │ ├── filter-bar.css
│ │ ├── nord-light.css
│ │ ├── scalastyle.css
│ │ └── search-bar.css
└── scala
│ ├── dotty
│ ├── dokka
│ │ ├── DottyDokkaConfig.scala
│ │ ├── DottyDokkaPlugin.scala
│ │ ├── Main.scala
│ │ ├── ScalaModuleCreator.scala
│ │ ├── model
│ │ │ ├── api
│ │ │ │ ├── api.scala
│ │ │ │ └── internalExtensions.scala
│ │ │ ├── extras.scala
│ │ │ └── scalaModel.scala
│ │ ├── preprocessors
│ │ │ ├── ScalaEmbeddedResourceApppender.scala
│ │ │ └── ScalaResourceInstaller.scala
│ │ ├── tasty
│ │ │ ├── BasicSupport.scala
│ │ │ ├── ClassLikeSupport.scala
│ │ │ ├── PackageSupport.scala
│ │ │ ├── ScalaDocSupport.scala
│ │ │ ├── SyntheticSupport.scala
│ │ │ ├── TastyParser.scala
│ │ │ ├── TypesSupport.scala
│ │ │ └── comments
│ │ │ │ ├── BaseConverter.scala
│ │ │ │ ├── Cleaner.scala
│ │ │ │ ├── CommentRegex.scala
│ │ │ │ ├── Comments.scala
│ │ │ │ ├── Emitter.scala
│ │ │ │ ├── MarkdownConverter.scala
│ │ │ │ ├── MarkdownParser.scala
│ │ │ │ ├── MemberLookup.scala
│ │ │ │ ├── Preparser.scala
│ │ │ │ ├── Queries.scala
│ │ │ │ ├── package.scala
│ │ │ │ └── wiki
│ │ │ │ ├── Converter.scala
│ │ │ │ ├── Entities.scala
│ │ │ │ └── Parser.scala
│ │ ├── transformers
│ │ │ ├── ImplicitMembersExtensionTransformer.scala
│ │ │ ├── InheritanceInformationTransformer.scala
│ │ │ ├── PackageHierarchyTransformer.scala
│ │ │ ├── ScalaCommentToContentConverter.scala
│ │ │ └── ScalaSourceLinksTransformer.scala
│ │ ├── translators
│ │ │ ├── FilterAttributes.scala
│ │ │ ├── ScalaContentBuilder.scala
│ │ │ ├── ScalaDocumentableToPageTranslator.scala
│ │ │ ├── ScalaPageCreator.scala
│ │ │ ├── ScalaSignatureProvider.scala
│ │ │ └── ScalaSignatureUtils.scala
│ │ └── utils.scala
│ ├── renderers
│ │ ├── DotDiagramBuilder.scala
│ │ └── ScalaHtmlRenderer.scala
│ └── tools
│ │ └── dottydoc
│ │ └── Main.scala
│ ├── example
│ ├── Documentation2.scala
│ ├── Inheritance.scala
│ └── level2
│ │ ├── Documentation.scala
│ │ ├── SameLevelTypeLinking.scala
│ │ └── level3
│ │ └── level4
│ │ └── ClassLevel4.scala
│ └── tests
│ ├── FilterTest.scala
│ ├── annotations.scala
│ ├── annotationsExample.scala
│ ├── classModifiers.scala
│ ├── classSignatureTestSource.scala
│ ├── companionObjectSignatures.scala
│ ├── enumSignatures.scala
│ ├── extensionMethodSignatures.scala
│ ├── fieldsSignatures.scala
│ ├── genericMethods.scala
│ ├── genericSignatures.scala
│ ├── givenSignatures.scala
│ ├── implicitClasslikes.scala
│ ├── implicitConversions
│ ├── A.scala
│ ├── B.scala
│ └── classesWithConversions.scala
│ ├── implicitMembers.scala
│ ├── markdown-tests.scala
│ ├── mergedPackage1.scala
│ ├── mergedPackage2.scala
│ ├── mergedPackage3.scala
│ ├── methodsAndConstructors.scala
│ ├── modifiersSignatureTestSource.scala
│ ├── nested.scala
│ ├── objectSignatures.scala
│ ├── opaqueTypes.scala
│ ├── package.scala
│ ├── packageObjectSymbolSignatures.scala
│ ├── packageSymbolSignatures.scala
│ ├── signatureTestSource.scala
│ ├── structuralTypes.scala
│ ├── tests.scala
│ ├── traitSignatures.scala
│ ├── typeLambdas.scala
│ ├── typesSignatures.scala
│ ├── visibility.scala
│ └── wiki-tests.scala
└── test
└── scala
└── dotty
└── dokka
├── DottyTestRunner.scala
├── MultipleFileTest.scala
├── SignatureTests.scala
├── SingleFileTest.scala
├── TestUtils.scala
└── tasty
└── comments
├── CommentParserTest.scala
├── MarkdownConverterTests.scala
├── MemberLookupTests.scala
└── QueryParserTests.scala
/.github/workflows/CI.yaml:
--------------------------------------------------------------------------------
1 | name: CI for dotty-dokka
2 |
3 | on:
4 | push:
5 | branches:
6 | - master
7 | pull_request:
8 | jobs:
9 | build:
10 | runs-on: ubuntu-latest
11 | timeout-minutes: 20
12 | steps:
13 | - uses: actions/checkout@v2
14 | - run: git fetch --prune --unshallow --tags
15 |
16 | - name: Cache Coursier
17 | uses: actions/cache@v1
18 | with:
19 | path: ~/.cache/coursier
20 | key: sbt-coursier-cache
21 | - name: Cache SBT
22 | uses: actions/cache@v1
23 | with:
24 | path: ~/.sbt
25 | key: sbt-${{ hashFiles('**/build.sbt') }}
26 |
27 | - name: Set up JDK 11
28 | uses: actions/setup-java@v1
29 | with:
30 | java-version: 11
31 |
32 | - name: Compile and test
33 | run: sbt compile test
34 |
35 | - name: Locally publish self
36 | run: sbt publishLocal
37 |
38 | - name: Generate test documentation
39 | run: sbt generateSelfDocumentation
40 |
41 | - name: Generate documentation for dotty library
42 | run: sbt generateDottyLibDocumentation
43 |
44 | - name: Generate documentation with SBT plugin
45 | run: sbt example-project/doc
46 |
47 | - name: Configure AWS Credentials
48 | uses: aws-actions/configure-aws-credentials@v1
49 | with:
50 | aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
51 | aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
52 | aws-region: eu-central-1
53 |
54 | - name: Publish all
55 | run: |
56 | dest=s3://scala3doc/$([ $GITHUB_REF = "master" ] && echo master || echo pr-$(echo $GITHUB_REF | cut '-d/' -f3))
57 | aws s3 rm $dest
58 | aws s3 sync output $dest
59 |
60 | - name: Update gh-pages
61 | run: |
62 | if [ $GITHUB_REF = "refs/heads/master" ]; then
63 | git config --global user.email "$(git log -1 --format=%ae)"
64 | git config --global user.name "$(git log -1 --format=%an)"
65 | git subtree add --prefix=our-site origin gh-pages
66 | rm -r our-site/*
67 | cp -r output/self/* our-site
68 | git add our-site
69 | git commit -m "$(git log -1 --pretty=%B)"
70 | git subtree push --prefix=our-site origin gh-pages
71 | fi
72 |
73 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.class
2 | *.log
3 | libs/
4 |
5 | # sbt specific
6 | .cache
7 | .history
8 | .lib/
9 | dist/*
10 | target/
11 | lib_managed/
12 | src_managed/
13 | project/boot/
14 | project/plugins/project/
15 |
16 | # Scala-IDE specific
17 | .scala_dependencies
18 | .worksheet
19 | .bsp
20 |
21 | # Intellij
22 | .idea
23 |
24 | #integration tests dir
25 | /test-ws
26 |
27 | # to test deploy
28 | private-*
29 | repo
30 |
31 | .metals
32 | metals.sbt
33 | .bloop
34 | .dotty-ide*
35 |
36 | # custom things
37 | output
38 |
39 | .vscode
40 |
41 |
--------------------------------------------------------------------------------
/.scalafmt.conf:
--------------------------------------------------------------------------------
1 | version = "2.6.3"
2 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Scala3doc
2 |
3 | Scala3doc is not longer maintained here, this repository is used to track remaining issues in development phase of the tool.
4 |
5 | Code and documentation can be found [here](https://github.com/lampepfl/dotty/tree/master/scaladoc).
6 |
--------------------------------------------------------------------------------
/documentation/docs/index.md:
--------------------------------------------------------------------------------
1 | ../../README.md
--------------------------------------------------------------------------------
/dotty-docs/docs/.gitignore:
--------------------------------------------------------------------------------
1 | # Jekyll specific ignores
2 | vendor/
3 | .bundle/
4 | Gemfile.lock
5 | _site/
6 | .sass-cache/
7 |
--------------------------------------------------------------------------------
/dotty-docs/docs/_layouts/base.html:
--------------------------------------------------------------------------------
1 | ---
2 | extraCSS:
3 | - css/bootstrap.min.css
4 | - css/dottydoc.css
5 | - css/color-brewer.css
6 | extraJS:
7 | - js/jquery.min.js
8 | - js/highlight.pack.js
9 | - js/bootstrap.min.js
10 | ---
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | {{ content }}
19 |
20 |
--------------------------------------------------------------------------------
/dotty-docs/docs/_layouts/blog-page.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: main
3 | ---
4 | {{ page.title }}
7 |
17 | {% if page.subTitle %}
18 |
28 |
34 | {% endif %}
35 | {{ page.title }}
7 |
13 |