File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,13 @@ outputFormats:
8181 isPlainText : true
8282 isHTML : false
8383 permalinkable : true
84+ # llms.txt
85+ llms :
86+ baseName : llms
87+ isPlainText : true
88+ mediaType : " text/plain"
89+ notAlternative : true
90+ permalinkable : false
8491
8592# Enable custom output formats
8693# (only generate the custom output files once)
@@ -90,6 +97,7 @@ outputs:
9097 - redirects
9198 - metadata
9299 - robots
100+ - llms
93101 page :
94102 - html
95103 - Markdown
Original file line number Diff line number Diff line change 1+ {{- $pages := .Site.RegularPages -}}
2+ {{- $sorted := sort $pages "RelPermalink" -}}
3+ {{- $grouped := $sorted.GroupBy "Section" -}}
4+
5+ # Docker Documentation
6+
7+ {{ range $grouped }}
8+ ## {{ humanize .Key }}
9+ {{ range .Pages }}
10+ - [{{ .Title }}]({{ .Permalink }}){{ end }}
11+ {{ end -}}
Original file line number Diff line number Diff line change 1010 {{- with .GetPage "/contribute" }}
1111 < a class ="underline-offset-2 hover:underline " href ="{{ .Permalink }} "> {{ .LinkTitle }}</ a >
1212 {{- end }}
13+ < a href ="{{ "llms.txt " | relURL }}"> Read llms.txt</ a >
1314 </ div >
1415 < hr class ="text-divider-light dark:text-divider-dark " />
1516 < div class ="grid lg:grid-cols-3 place-items-center gap-8 grid-cols-1 ">
You can’t perform that action at this time.
0 commit comments