diff --git a/hugo.yaml b/hugo.yaml index 064b75bea7..dd4c0c9740 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -74,8 +74,22 @@ outputFormats: isPlainText: true mediaType: "text/plain" notAlternative: true + # Markdown for LLMs, see layouts/_default/single.markdown.md + Markdown: + baseName: index + mediaType: "text/markdown" + isPlainText: true + isHTML: false + permalinkable: false + # llms.txt + llms: + baseName: llms + isPlainText: true + mediaType: "text/plain" + notAlternative: true + permalinkable: false -# Enable custom output formats for the home page only +# Enable custom output formats # (only generate the custom output files once) outputs: home: @@ -83,6 +97,13 @@ outputs: - redirects - metadata - robots + - llms + page: + - html + - Markdown + section: + - html + - Markdown languages: en: diff --git a/hugo_stats.json b/hugo_stats.json index 4d34be18e7..191027bcfd 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -128,6 +128,7 @@ "With-systemd-Highly-recommended", "Without-packages", "Without-systemd", + "[display:none]", "absolute", "aspect-video", "bake-action", @@ -219,6 +220,7 @@ "dark:hover:bg-blue-dark", "dark:hover:bg-blue-dark-500", "dark:hover:bg-gray-dark-200", + "dark:hover:bg-gray-dark-400", "dark:hover:bg-gray-dark-500", "dark:hover:text-blue-dark", "dark:prose-invert", @@ -284,6 +286,8 @@ "grid-cols-1", "group", "group-hover:block'", + "group-open:[display:block]", + "group-open:rotate-180", "h-16", "h-2", "h-32", @@ -318,6 +322,7 @@ "icon-sm", "icon-svg", "inline", + "inline-block", "inline-flex", "inset-0", "invertible", @@ -329,7 +334,9 @@ "justify-center", "justify-end", "justify-evenly", + "leading-none", "leading-snug", + "leading-tight", "left-0", "lg:block", "lg:flex", @@ -384,11 +391,13 @@ "ml-2", "ml-3", "ml-4", + "ml-auto", "mt-1", "mt-2", "mt-20", "mt-4", "mt-8", + "mt-[2px]", "mx-auto", "my-0", "my-1", @@ -401,6 +410,7 @@ "open-kapa-widget", "openSUSE-and-SLES", "origin-bottom-right", + "origin-top-right", "ot-sdk-show-settings", "outline-none", "overflow-clip", @@ -465,6 +475,7 @@ "self-start", "shadow", "shadow-lg", + "shadow-md", "sm:block", "sm:flex", "sm:flex-row", @@ -514,10 +525,13 @@ "top-6", "top-full", "transition", + "transition-colors", + "transition-transform", "truncate", "underline-offset-2", "uppercase", "w-2", + "w-56", "w-8", "w-[1200px]", "w-[32px]", diff --git a/layouts/_default/index.llms.txt b/layouts/_default/index.llms.txt new file mode 100644 index 0000000000..97aa37305a --- /dev/null +++ b/layouts/_default/index.llms.txt @@ -0,0 +1,11 @@ +{{- $pages := .Site.RegularPages -}} +{{- $sorted := sort $pages "RelPermalink" -}} +{{- $grouped := $sorted.GroupBy "Section" -}} + +# Docker Documentation + +{{ range $grouped }} +## {{ humanize .Key }} +{{ range .Pages }} +- [{{ .Title }}]({{ .Permalink }}){{ end }} +{{ end -}} diff --git a/layouts/_default/list.markdown.md b/layouts/_default/list.markdown.md new file mode 100644 index 0000000000..4dfb7bad83 --- /dev/null +++ b/layouts/_default/list.markdown.md @@ -0,0 +1,7 @@ +{{ .Title }} + +{{ .RawContent }} + +{{ range .Pages }} +- [{{ .Title }}](https://docs.docker.com{{ .RelPermalink }}) +{{ end }} \ No newline at end of file diff --git a/layouts/_default/single.markdown.md b/layouts/_default/single.markdown.md new file mode 100644 index 0000000000..91b4052d4e --- /dev/null +++ b/layouts/_default/single.markdown.md @@ -0,0 +1,3 @@ +{{ .Title }} + +{{ .RawContent }} \ No newline at end of file diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index 5a850e3d09..d72fa42a85 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -12,4 +12,4 @@ {{- end }} {{- end }} - + \ No newline at end of file diff --git a/layouts/partials/content-default.html b/layouts/partials/content-default.html index 4a142a9137..db1adbeee7 100644 --- a/layouts/partials/content-default.html +++ b/layouts/partials/content-default.html @@ -1,7 +1,12 @@ -