# Nedoc (Non-Evaluating Documentation)
*Nedoc* is a generator of API documentation for Python 3 with the following features:
* Your code is not executed; Your program and its dependencies do not have to be installed.
* Nedoc tracks which methods were overridden and show it in the documentation.
* Inheritance of docstrings for overridden methods is supported.
* Nedoc tracks what and where was reimported.
* Resulting documentation is a set of static HTML files.
## Examples
* *Django* documentation generated by Nedoc: https://spirali.github.io/nedoc-demo/django/django.html
* *Dask/Distributed* documentation generated by Nedoc: https://spirali.github.io/nedoc-demo/distributed/distributed.html
<img width="80%" src="docs/screenshot.png">
## Installation
```
$ pip3 install nedoc
```
## Getting started (short version)
```
python3 -m nedoc init MyProjectName /path/to/project
python3 -m nedoc build
firefox html/index.html
```
## Getting started (longer version)
First, we need to generate `nedoc.conf`; *PathToProject* should lead to the toplevel
directory with Python source codes (usually the directory containing toplevel
`__init__.py`; however, `__init__.py` does not have to exist).
```
python3 -m nedoc init <ProjectName> <PathToProject>
```
The command creates `nedoc.conf` in the current working directory. You can edit
it for more customized settings.
The documentation is built by the following command:
```
python3 -m nedoc build
```
By default, you can find the results in `html` directory.
Python库 | nedoc-0.7.tar.gz
版权申诉
14 浏览量
2022-04-12
02:27:31
上传
评论
收藏 125KB GZ 举报
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
最新资源
- 以简单、易用、高性能为目标、开源的时序数据库,支持Linux及Windows, Time Series Database.zip
- python-leetcode面试题解之第198题打家劫舍-题解.zip
- python-leetcode面试题解之第191题位1的个数-题解.zip
- python-leetcode面试题解之第186题反转字符串中的单词II-题解.zip
- 一个基于python的web后端高性能开发框架,下载可用
- python-leetcode面试题解之第179题最大数-题解.zip
- python-leetcode面试题解之第170题两数之和III数据结构设计-题解.zip
- python-leetcode面试题解之第168题Excel表列名称-题解.zip
- python-leetcode面试题解之第167题两数之和II输入有序数组-题解.zip
- python-leetcode面试题解之第166题分数到小数-题解.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈