Skip to content

Commit 438a5ba

Browse files
authored
Merge pull request #22 from anthraxx/feat/hugo-book-upgrade
hugo book upgrade and improvements
2 parents cd60fd1 + db31e4e commit 438a5ba

File tree

8 files changed

+12
-142
lines changed

8 files changed

+12
-142
lines changed

assets/_custom.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
nav>ul:last-of-type>li:last-child::before {
2+
content: "";
3+
display: inline-block;
4+
margin: 0.5em 0;
5+
}

config.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,17 @@ theme = "hugo-book"
55

66
[[menu.after]]
77
name = "Specifications"
8-
url = "https://uapi-group.org/specifications"
8+
url = "/specifications"
99
weight = 10
1010
[[menu.after]]
1111
name = "General Documentation"
12-
url = "https://uapi-group.org/docs"
12+
url = "/docs"
1313
weight = 11
1414
[[menu.after]]
1515
name = "Kernel Feature Ideas"
16-
url = "https://uapi-group.org/kernel-features"
16+
url = "/kernel-features"
1717
weight = 12
1818

19-
[[menu.after]]
20-
name = ""
21-
weight = 20
2219
[[menu.after]]
2320
name = "Collaborate on Github"
2421
url = "https://github.com/uapi-group"
@@ -29,3 +26,6 @@ theme = "hugo-book"
2926

3027
[params]
3128
BookSearch = false
29+
BookRepo = 'https://github.com/uapi-group/uapi-group.github.io'
30+
BookEditLink = '{{ .Site.Params.BookRepo }}/edit/main/{{ .Path }}'
31+
BookTheme = 'auto'

layouts/404.html

Lines changed: 0 additions & 35 deletions
This file was deleted.

layouts/partials/docs/footer.html

Lines changed: 0 additions & 25 deletions
This file was deleted.

layouts/partials/docs/html-head.html

Lines changed: 0 additions & 43 deletions
This file was deleted.

layouts/partials/docs/menu-hugo.html

Lines changed: 0 additions & 32 deletions
This file was deleted.

static/uapi-group.png

-1.02 KB
Loading

themes/hugo-book

Submodule hugo-book updated 307 files

0 commit comments

Comments
 (0)