diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index bb512f6..c9f3598 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -1,5 +1,13 @@ -baseURL = 'https://little-emulator.org/' -languageCode = 'en' -title = 'Little Emulator' +baseURL = "https://little-emulator.org/" +languageCode = "en" +title = "Little Emulator" theme = "hextra" + +enableGitInfo = true + +[outputs] + home = [ + "html", + "llms", + ] diff --git a/config/_default/markup.toml b/config/_default/markup.toml new file mode 100644 index 0000000..f5a8036 --- /dev/null +++ b/config/_default/markup.toml @@ -0,0 +1,5 @@ +[goldmark.renderer] + unsafe = true + +[highlight] + noClasses = false diff --git a/config/_default/menu.toml b/config/_default/menu.toml new file mode 100644 index 0000000..3d716ca --- /dev/null +++ b/config/_default/menu.toml @@ -0,0 +1,30 @@ +# [[main]] +# name = "Learn" +# weight = 1 +# pageRef = "/learn" + +# [[main]] +# name = "ISA Documentation" +# weight = 2 +# pageRef = "/isa-docs" + +# [[main]] +# name = "Software Documentation" +# weight = 3 +# pageRef = "/docs" + +[[main]] + name = "Search" + weight = 4 + params.type = "search" + +[[main]] + name = "GitHub" + weight = 5 + url = "https://github.com/little-emulator" + params.icon = "github" + +[[main]] + name = "Theme Toggle" + weight = 6 + params.type = "theme-toggle" diff --git a/config/_default/params.toml b/config/_default/params.toml new file mode 100644 index 0000000..5c0207b --- /dev/null +++ b/config/_default/params.toml @@ -0,0 +1,42 @@ +description = "Some documentation for the Little Emulator project" + +externalLinkDecoration = true + +displayUpdatedDate = true +dateFormat = "January 2, 2006" + +[banner] + key = "wip" + message = "🚧 **Work in Progress!** 🚧" + +[navbar] + displayTitle = true + displayLogo = true + width = "wide" + + [navbar.logo] + path = "/favicon.svg" + dark = "/favicon-dark.svg" + link = "/" + width = '40' + +[footer] + displayCopyright = true + displayPoweredBy = false + +[editUrl] + enable = true + base = "https://github.com/little-emulator/docs/edit/main/content" + +[page] + width = "wide" + +[comments] + enable = true + type = "giscus" + + [comments.giscus] + repo = "little-emulator/docs" + repoId = "R_kgDONlBPOg" + category = "Q&A" + categoryId = "DIC_kwDONlBPOs4ClrYh" diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..5afb024 --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,4 @@ +copyright = """ + Made by [**Nicola Belluti**](https://nicolabelluti.me) with ❤️ | + *[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) license* +"""