mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	django-template-graph: Replace slashes with newlines
Makes the graph fit better on the screen. (imported from commit 7d42caca478634143c6b291f47a4642acfdd1128)
This commit is contained in:
		@@ -7,8 +7,9 @@ cd "$(dirname "$0")"/../templates
 | 
			
		||||
(
 | 
			
		||||
    echo 'digraph {'
 | 
			
		||||
    for t in $(find -name '*.html' -printf '%P\n'); do
 | 
			
		||||
        echo "\"$t\";"
 | 
			
		||||
        perl -lne 'print "\"'"$t"'\" -> \"$1\";" if m/{%\s*extends\s*"([^"]+)"/' "$t"
 | 
			
		||||
        echo "\"$t\";" | sed 's|/|\\n|g'
 | 
			
		||||
        perl -lne 'print "\"'"$t"'\" -> \"$1\";" if m/{%\s*extends\s*"([^"]+)"/' "$t" \
 | 
			
		||||
            | sed 's|/|\\n|g'
 | 
			
		||||
    done
 | 
			
		||||
    echo '}'
 | 
			
		||||
) > graph.dot
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user