From 69f32424a6f0ed955929362b5d2207e8511f70b7 Mon Sep 17 00:00:00 2001 From: sforman Date: Wed, 4 Oct 2023 08:28:53 -0700 Subject: [PATCH] Print out wobbly words. That have definition but no ref doc, or ref docs but no defs. --- docs/reference/to_html.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/reference/to_html.py b/docs/reference/to_html.py index 10905db..778bc68 100644 --- a/docs/reference/to_html.py +++ b/docs/reference/to_html.py @@ -260,6 +260,14 @@ print(html_string, file=open('../html/FuncRef.html', 'w')) ##import pprint ##pprint.pprint(crosslinks) -if non: - for n in sorted(non): - print(n) +##if non: +## for n in sorted(non): +## print(n) + +D = set(definitions) +S = set(sections) +W = D - S +E = S - D - basis_functions + +print('Def but no ref:', ' '.join(sorted(W))) +print('Ref but no def:', ' '.join(sorted(E)))