Signed-off-by: Kefu Chai <kchai@redhat.com>
import os
+import sys
project = u'Ceph'
copyright = u'2010-2014, Inktank Storage, Inc. and contributors. Licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0)'
if base == 'index':
continue
path = os.path.join(section_dir, filename)
- description = _get_description(path, base)
+ try:
+ description = _get_description(path, base)
+ except UnicodeDecodeError as e:
+ print(f"unable to decode {path}", file=sys.stderr)
+ raise e
yield (
os.path.join(section, base),
base,