This repository was archived by the owner on Apr 2, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
94 lines (88 loc) · 4.43 KB
/
index.html
File metadata and controls
94 lines (88 loc) · 4.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
{{template "_head.html"}}
<title>{{.Site.Name}} — Architecture Documentation</title>
<meta name="description" content="{{.Site.Description}}">
<link rel="canonical" href="{{.Site.BaseURL}}/">
{{template "_og.html" .}}
<style>{{template "_styles.css"}}</style>
{{.JsonLD}}
</head>
<body>
{{template "_header.html" .}}
<main id="main-content">
<div class="container">
<div class="hero">
<h1>{{.Site.Name}}</h1>
{{if .Site.RepoURL}}
<div class="hero-actions">
<a href="{{.Site.RepoURL}}" class="hero-btn" target="_blank" rel="noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg>
View on GitHub
</a>
<a href="{{.Site.RepoURL}}/stargazers" class="hero-btn hero-btn-star" target="_blank" rel="noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M8 .25a.75.75 0 01.673.418l1.882 3.815 4.21.612a.75.75 0 01.416 1.279l-3.046 2.97.719 4.192a.75.75 0 01-1.088.791L8 12.347l-3.766 1.98a.75.75 0 01-1.088-.79l.72-4.194L.818 6.374a.75.75 0 01.416-1.28l4.21-.611L7.327.668A.75.75 0 018 .25z"/></svg>
Star
</a>
<a href="{{.Site.RepoURL}}/fork" class="hero-btn hero-btn-fork" target="_blank" rel="noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M5 3.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm0 2.122a2.25 2.25 0 10-1.5 0v.878A2.25 2.25 0 005.75 8.5h1.5v2.128a2.251 2.251 0 101.5 0V8.5h1.5a2.25 2.25 0 002.25-2.25v-.878a2.25 2.25 0 10-1.5 0v.878a.75.75 0 01-.75.75h-4.5A.75.75 0 015 6.25v-.878zm3.75 7.378a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm3-8.75a.75.75 0 100-1.5.75.75 0 000 1.5z"/></svg>
Fork
</a>
</div>
{{end}}
<p>Architecture documentation generated from code analysis. Explore every file, function, class, and domain.</p>
<div class="hero-stats">
<a href="/all/index.html" class="hero-stat hero-stat-link">
<div class="num">{{.EntityCount | formatNumber}}</div>
<div class="label">Total Entities</div>
</a>
{{range .Taxonomies}}
<a href="/{{.Name}}/index.html" class="hero-stat hero-stat-link">
<div class="num">{{len .Entries}}</div>
<div class="label">{{.Label}}</div>
</a>
{{end}}
</div>
</div>
<div class="chart-panel arch-map-panel">
<h3>Architecture Overview</h3>
<div id="arch-overview"></div>
<script type="application/json" id="arch-overview-data">{{.ArchData}}</script>
</div>
<div class="chart-panel">
<h3>Codebase Composition</h3>
<div id="homepage-chart"></div>
<script type="application/json" id="homepage-chart-data">{{.ChartData}}</script>
</div>
{{range .Taxonomies}}
{{$taxName := .Name}}
<div class="section">
<h2 class="section-title">{{.Label}}</h2>
<div class="tax-grid">
{{range .Entries}}
<a href="/{{$taxName}}/{{.Slug}}.html" class="tax-entry">
<div class="tax-entry-left">
<span>{{.Name}}</span>
{{if eq $taxName "subdomain"}}{{with (index .Entities 0).GetString "domain"}}<span class="tax-domain-tag">{{.}}</span>{{end}}{{end}}
</div>
<span class="tax-count">{{len .Entities}}</span>
</a>
{{end}}
</div>
</div>
{{end}}
</div>
{{if .CTA.Enabled}}
<div class="cta-section">
<h2 class="cta-heading">{{.CTA.Heading}}</h2>
<p class="cta-description">{{.CTA.Description}}</p>
<a href="{{.CTA.ButtonURL}}" class="cta-button" rel="noopener">{{.CTA.ButtonText}}</a>
</div>
{{end}}
</main>
{{template "_footer.html"}}
<script src="https://cdn.jsdelivr.net/npm/d3@7/dist/d3.min.js"></script>
<script src="/main.js"></script>
</body>
</html>