Skip to content

Commit 6464551

Browse files
Update _overviews/scala3-scaladoc/search-engine.md
Co-authored-by: Julien Richard-Foy <julien@richard-foy.fr>
1 parent d585787 commit 6464551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-scaladoc/search-engine.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ To enable Inkuire when running scaladoc, add the flag `-Ygenerate-inkuire`. By a
5454
- `inkuire-db.json` - this is the file containing all the searchable declarations from the currently documented project in a format readable to the Inkuire search engine.
5555
- `inkuire-config.json` - this file contains the locations of the database files that should be searchable from the documentation of the current project. By default, it will be generated with the location of the local db file as well as the default implied locations of database files in [External mappings](/scala3/guides/scaladoc/settings.html#-external-mappings).
5656

57-
## What to expect?
57+
### Working with type aliases and method receivers
5858

5959
When it comes to how the code is mapped to InkuireDb entries, there are some transformations to make the engine more opinionated (though open to suggestions and changes). Firstly, the receiver (non-module owner) of a function can be treated as a first argument. Automatic currying is also applied, so that the results don't depend on argument lists. When finding matches, `val`s and `def`s are not distinguished.
6060

0 commit comments

Comments
 (0)