Jazzy is not working as expected for generating swift documentation

前端 未结 2 1317
攒了一身酷
攒了一身酷 2021-02-13 13:45

After doing some research on the best way to document swift code. I came across Jazzy and how simple it was to implement. So I follow the installation section of the Jazzy Docum

2条回答
  •  感情败类
    2021-02-13 14:37

    After reading more about jazzy more in depth I found this important piece of information.

    By default, jazzy only documents public declarations. To generate documentation for declarations with a lower accessibility level (internal or private), please set the --min-acl flag to internal or private.

    Which is in the trouble shooting portion of the jazzy git hub page

    I ran jazzy with the following line to produce the documentation i expected:

    jazzy --min-acl private
    

    Note I should read everything before I decided something isn't working right.

提交回复
热议问题