From da20c14ae774c4d3a34c89b663fd75a36b2ad16d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Sun, 18 Jun 2023 23:24:33 +0200 Subject: [PATCH] Fix generation of graphs where top-level headline has no backlines. --- scripts/generate.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/generate.py b/scripts/generate.py index cff7b37..c9d7b15 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -705,9 +705,6 @@ def render_toc_headline(headline, acc): def render_connections(headline_id, content, graph): - if headline_id not in graph['backlinks']: - return - # if headline_id != 'aa29be89-70e7-4465-91ed-361cf0ce62f2': # return