File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1111# documentation root, use os.path.abspath to make it absolute, like shown here.
1212#
1313import os
14- from colorama import Fore , Style
1514from pathlib import Path
1615from m2r import MdInclude
1716from recommonmark .transform import AutoStructify
@@ -258,10 +257,10 @@ def doc_report(app, exception):
258257 # print out report of documentation coverage
259258 total_docs = undoc_count + doc_count
260259 if total_docs != 0 :
261- print (f'{ Fore . GREEN } Doc coverage of { doc_count / total_docs :.1%} { Style . RESET_ALL } ' )
260+ print (f'\n API Doc coverage of { doc_count / total_docs :.1%} ' )
262261 if undoc_print_objects or os .environ .get ('READTHEDOCS' ):
263262 print ('\n Items lacking documentation' )
264263 print ('===========================' )
265264 print (* undoc_objects , sep = '\n ' )
266265 else :
267- print (f' { Fore . YELLOW } No docs counted, run \' make clean\' then rebuild to get the count.{ Style . RESET_ALL } ' )
266+ print (' No docs counted, run \' make clean\' then rebuild to get the count.' )
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ install_requires =
3535docs =
3636 PyQt5
3737 Sphinx ==3.5.3
38- colorama
3938 sphinx-rtd-theme ==0.5.2
4039 recommonmark ==0.6.0
4140 m2r ==0.2.1
You can’t perform that action at this time.
0 commit comments