Open
Description
Summary
<style type="text/css"></style>
Location | Count |
---|---|
scala.quoted | 26 |
scala.compiletime | 6 |
scala | 1 |
blog/_posts | 28 |
docs/contributing | 5 |
docs/internals | 9 |
docs/reference/changed-features | 19 |
docs/reference/contextual | 16 |
docs/reference/dropped-features | 11 |
docs/reference/enums | 3 |
docs/reference/experimental | 3 |
docs/reference/metaprogramming | 7 |
docs/reference/new-types | 9 |
docs/reference/other-new-features | 20 |
docs/usage | 4 |
docs/release-notes | 1 |
Instruction
- Find
generateScalaDocumentation
task inBuild.scala
- Find
generateDocumentation
call inside task definition - Add the part of documentation that you want to fix to snippet compiler setting (You can find usage here)
- Path to scala3 library is stored in
dottyLibRoot
variable - E.g. if you want to run snippet compiler on
scala.quoted
, add$dottyLibRoot/scala/quoted=compile
- If you want to run snippet compiler on
docs/contributing
, adddocs/docs/contributing=compile
- Fix all failing snippets or override snippet compiler flag if it's necessary.
- You can override flag by adding
sc:flag
after "```scala" in snippet. - You can hide piece of code by doing:
//{
def someHiddenCode = ???
//}
- Create PR to master.