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

Hosting documentation

After your documentation has been generated, you will need to host it somewhere for the public to view and use. There are three possibilities here:

  • docs.rs: Crates that are hosted on crates.io get their documentation page automatically generated and hosted on https://docs.rs.
  • GitHub pages: You can host your documentation on the gh-pages branch if your crate is on GitHub.
  • External website: You can manage your own web server for hosting documentation. Rust's standard library documentation is a fine example of this: https://doc.rust-lang.org/std/.

As an added note, if your project's documentation spans more than two to three pages and requires a detailed introduction, then there's a better option to generate book-like documentation. This is done by using the mdbook project. For more information on that, check out their GitHub page at https://github.com/rust-lang-nursery/mdBook.

主站蜘蛛池模板: 永川市| 互助| 新建县| 隆安县| 郎溪县| 自治县| 平湖市| 衡阳县| 高台县| 苏尼特右旗| 定南县| 同德县| 逊克县| 佛冈县| 新河县| 顺昌县| 九寨沟县| 临汾市| 平潭县| 固始县| 防城港市| 平乐县| 元江| 丹东市| 磐石市| 杭州市| 凤台县| 卓资县| 同江市| 阜城县| 鄂尔多斯市| 平果县| 浦城县| 板桥市| 丹巴县| 瑞安市| 布尔津县| 曲阜市| 新巴尔虎右旗| 门源| 禹城市|