Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View LeonarddeR's full-sized avatar

Leonard de Ruijter LeonarddeR

View GitHub Profile
@LeonarddeR
LeonarddeR / convertDocStrings.py
Last active October 21, 2021 09:28
Convert NVDA code base from epydoc to sphinx
import re
import os
from collections import defaultdict
import sys
curFile = os.path.abspath(__file__)
rePatterns = {
# Adds an empty line in a doc string before param definitions.
# Shouldn't touch doc strings that only contain param info.