orchidhq / Orchid

Build and deploy beautiful documentation sites that grow with you
https://orchid.run
GNU General Public License v3.0
516 stars 53 forks source link

Visibility modifiers kotlin #364

Closed ridwan23 closed 4 years ago

ridwan23 commented 4 years ago

How to customize the visibiity modifiers to include in documentation? i guess this plugin only generates public

cjbrooks12 commented 4 years ago

The visibility filters are handled differently directly by the underlying documentation runners. Is this for Kotlin docs? You can pass additional args to Dokka with a config like the following:

# config.yml
kotlindoc:
  showRunnerLogs: true
  sourceDirs:
    - './../../../../app/src/main/kotlin'
  args:
    - '-packageOptions'
    - 'com.example.hidden,+suppress'