repo2md is a python module to convert GitHub repositories into Markdown files.
Platform Supported
Deployments
pip install repo2mdimport os
import dotenv
import repo2md
repo2md.IGNORE_DIRECTORIES.append("docs_gen")
repo2md.IGNORE_LIST.append("docs_gen")
dotenv.load_dotenv(".env", override=True)
repo2md.convert_repo_to_md(
repo_name="Jarvis",
git_owner="thevickypedia",
git_token=os.getenv("GIT_TOKEN"),
)repo2md --helpThe CLI exposes fewer options than using the module directly in code.
Docstring format: Google
Styling conventions: PEP 8 and isort
Requirement
python -m pip install gitverseUsage
gitverse-release reverse -f release_notes.rst -t 'Release Notes'Requirement
python -m pip install pre-commitUsage
pre-commit run --all-fileshttps://pypi.org/project/repo2md/
© Vignesh Rao
Licensed under the MIT License