Skip to content

terwer/zhi-markdown-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zhi-markdown-sync

convert from vuepress1, siyuan-note docs to vuepress2, hexo

Usage

## TODO

Install poetry

pip install poetry==1.2.0

Create new python project

## https://python-poetry.org/docs/cli/
## poetry new markdown-sync
poetry new zhi-markdown-sync --name src
## poetry new --src zhi-markdown-sync

Prepare

## Install pytest
poetry add zhi-markdown-sync pytest
poetry add zhi-markdown-sync pytest-cov
poetry add zhi-markdown-sync pytest-html

## Install pydoc-markdown
poetry add zhi-markdown-sync pydoc-markdown

## Install tox
poetry add zhi-markdown-sync tox

Install

poetry install

Add dependency

poetry add pydoc-markdown
poetry add pytest
poetry add pytest-cov
poetry add pytest-html
poetry add tox
poetry add flake8

Lint

flake8

Build

poetry build -f wheel

Test

poetry run pytest tests/

Docs

pydoc-markdown -p zhi-markdown-sync --render-toc > docs/source/api.md

Tox

tox

About

syncing markdown files across various platforms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages