Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions website/assets/_custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
nav>ul:last-of-type>li:last-child::before {
content: "⸻";
display: inline-block;
margin: 0.5em 0;
}
14 changes: 3 additions & 11 deletions website/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,8 @@ theme = "hugo-book"

[[menu.before]]
name = "⬅️ Back to top"
url = "https://uapi-group.org/"
url = "/.."
weight = 1
[[menu.before]]
name = "⸻"
weight = 2

# Uncomment to show second separator after more content files were added
#
#[[menu.after]]
# name = "⸻"
# weight = 10

[[menu.after]]
name = "Collaborate on Github"
Expand All @@ -29,8 +20,9 @@ theme = "hugo-book"
BookPortableLinks = true
BookRepo = 'https://github.com/uapi-group/kernel-features'
BookCommitPath = 'commit'
BookEditPath = 'edit/main'
BookEditLink = '{{ .Site.Params.BookRepo }}/edit/main/{{ .Path }}'
BookIndexPage = 'README.md'
BookTheme = 'auto'

[modules]
[[module.mounts]]
Expand Down
35 changes: 0 additions & 35 deletions website/layouts/404.html

This file was deleted.

25 changes: 0 additions & 25 deletions website/layouts/partials/docs/footer.html

This file was deleted.

43 changes: 0 additions & 43 deletions website/layouts/partials/docs/html-head.html

This file was deleted.

5 changes: 5 additions & 0 deletions website/layouts/partials/docs/links/edit.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{- return (partial "docs/text/template" (dict "Template" .Site.Params.BookEditLink "Context" (dict
"Site" .Site
"Page" .Page
"Path" (strings.TrimPrefix hugo.WorkingDir ( replace .Page.File.Path "_index.md" .Site.Params.BookIndexPage))
)) | urls.JoinPath) -}}
32 changes: 0 additions & 32 deletions website/layouts/partials/docs/menu-hugo.html

This file was deleted.

2 changes: 1 addition & 1 deletion website/themes/hugo-book
Submodule hugo-book updated 307 files