zoukankan      html  css  js  c++  java
  • Sphinx

    Welcome

    What users say:

    “Cheers for a great tool that actually makes programmers want to write documentation!”

    Sphinx is a tool that makes it easy to create intelligent and beautiful documentation, written by Georg Brandl and licensed under the BSD license.

    It was originally created for the new Python documentation, and it has excellent facilities for the documentation of Python projects, but C/C++ is already supported as well, and it is planned to add special support for other languages as well. Of course, this site is also created from reStructuredText sources using Sphinx! The following features should be highlighted:

    • Output formats: HTML (including Windows HTML Help), LaTeX (for printable PDF versions), ePub, Texinfo, manual pages, plain text
    • Extensive cross-references: semantic markup and automatic links for functions, classes, citations, glossary terms and similar pieces of information
    • Hierarchical structure: easy definition of a document tree, with automatic links to siblings, parents and children
    • Automatic indices: general index as well as a language-specific module indices
    • Code handling: automatic highlighting using the Pygments highlighter
    • Extensions: automatic testing of code snippets, inclusion of docstrings from Python modules (API docs), andmore
    • Contributed extensions: more than 50 extensions contributed by users in a second repository; most of them installable from PyPI

    Sphinx uses reStructuredText as its markup language, and many of its strengths come from the power and straightforwardness of reStructuredText and its parsing and translating suite, the Docutils.

    Documentation

    You can also download PDF/EPUB versions of the Sphinx documentation: a PDF version generated from the LaTeX Sphinx produces, and a EPUB version.

    Examples

    Links to documentation generated with Sphinx can be found on the Projects using Sphinx page.

    For examples of how Sphinx source files look, use the “Show source” links on all pages of the documentation apart from this welcome page.

    You may also be interested in the very nice tutorial on how to create a customized documentation using Sphinx written by the matplotlib developers.

    There is a Japanese translation of this documentation, thanks to the Japanese Sphinx user group.

    A Japanese book about Sphinx has been published by O'Reilly: Sphinxをはじめよう / Learning Sphinx.

    Hosting

    Need a place to host your Sphinx docs? readthedocs.org hosts a lot of Sphinx docs already, and integrates well with projects' source control. It also features a powerful built-in search that exceeds the possibilities of Sphinx' JavaScript-based offline search.

    Contributor Guide

    If you want to contribute to the project, this part of the documentation is for you.

    http://www.sphinx-doc.org/en/stable/

  • 相关阅读:
    函数式对象
    PageRank网页排名算法
    文档倒排序索引
    单词共现算法
    MapReduce关系代数运算
    矩阵乘法的MapReduce实现
    对象序列化(二)
    信息流产品和内容推荐算法
    从企业实操的角度谈深度学习(图像方向)的底层逻辑之概念普及
    Python深度学习企业实战之TensorFlow的底层原理及安装
  • 原文地址:https://www.cnblogs.com/softidea/p/5357446.html
Copyright © 2011-2022 走看看