官术网_书友最值得收藏!

Documentation

Documentation is a very crucial aspect of any open source software aiming for wide adoption by the programmer community. While your code, which should be readable, tells you how it works, the documentation should tell you about the why and how of the design decisions and example usage of the public APIs of your software. Well documented code with a comprehensive README.md page boosts the discoverability of your project many times over.

The Rust community takes documentation very seriously and has tools at various levels to make it easy to write documentation for code. It also makes it presentable and consumable for its users. For writing documentation, it supports the markdown dialect. Markdown is a very popular markup language and is the standard these days for writing docs. Rust has a dedicated tool called rustdoc that parses markdown doc comments, converts them to HTML, and generates beautiful and searchable documentation pages.

主站蜘蛛池模板: 宾阳县| 拉孜县| 元江| 佛教| 平昌县| 八宿县| 兴海县| 凤冈县| 嘉定区| 惠东县| 淳安县| 仲巴县| 扶风县| 安远县| 綦江县| 台前县| 安国市| 盐山县| 麟游县| 二手房| 克山县| 平果县| 安多县| 炎陵县| 云阳县| 鹤山市| 泾川县| 曲靖市| 咸阳市| 常山县| 商水县| 潼关县| 青神县| 佛坪县| 潜江市| 焦作市| 玉环县| 浦城县| 光泽县| 图们市| 固安县|