René's URL Explorer Experiment


Title: util.doc: stop truncating entity, type, pset and property descriptions at the first paragraph (#4624) by petruconduraru · Pull Request #8540 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: util.doc: stop truncating entity, type, pset and property descriptions at the first paragraph (#4624) by petruconduraru · Pull Request #8540 · IfcOpenShell/IfcOpenShell

X Title: util.doc: stop truncating entity, type, pset and property descriptions at the first paragraph (#4624) by petruconduraru · Pull Request #8540 · IfcOpenShell/IfcOpenShell

Description: Closes #4624. Problem get_entity_doc returned incomplete descriptions for many entities/types. Example from the issue: IFC4 IfcAlarmType ended mid-sentence at "The set of shared information may include:" with the bulleted list and the closing paragraph silently dropped. The DocExtractor converted each Documentation.md to HTML and then took only the first

(BeautifulSoup(...).find("p").text). Any definition that embeds a list mid-text, or continues with another paragraph, lost everything after the first paragraph. The truncation is baked into the shipped ifc*_entities.json / ifc*_types.json data. Fix DocExtractor.extract_full_description: walks all top-level

/