1 Star 0 Fork 0

Tim55667757 / PriceGenerator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
PDocBuilder.py 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
Tim55667757 提交于 2023-01-11 20:11 . original code removed from api-doc
# -*- coding: utf-8 -*-
# Author: Timur Gilmullin
"""
A coroutine that generates the API documentation for the PriceGenerator module using pdoc-engine: https://pdoc.dev/docs/pdoc.html
To build new documentation:
1. Remove the `./docs` directory from the repository root.
2. Go to the root of the repository.
3. Just run: `python PDocBuilder.py`.
"""
import os
import sys
import pdoc
from pathlib import Path
curdir = os.path.curdir
sys.path.extend([
curdir,
os.path.abspath(os.path.join(curdir, "pricegenerator")),
])
pdoc.render.configure(
docformat="restructuredtext",
favicon="https://github.com/Tim55667757/PriceGenerator/blob/develop/media/logo-pricegenerator-256x256px.png?raw=true",
footer_text="⚙ Good luck for you in trade automation! And profit!",
logo="https://github.com/Tim55667757/PriceGenerator/blob/develop/media/logo-pricegenerator-420x610px.png?raw=true",
show_source=False,
)
pdoc.pdoc(
Path("pricegenerator").resolve(),
output_directory=Path("docs").resolve(),
)
Python
1
https://gitee.com/tim55667757/PriceGenerator.git
git@gitee.com:tim55667757/PriceGenerator.git
tim55667757
PriceGenerator
PriceGenerator
master

搜索帮助