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/menus.toml b/config/_default/menus.toml new file mode 100644 index 0000000..f98b6ff --- /dev/null +++ b/config/_default/menus.toml @@ -0,0 +1,15 @@ +[[main]] +name = "CPU Documentation" +pageRef = "/docs" +weight = 1 + +[[main]] +name = "Search" +weight = 2 +params.type = "search" + +[[main]] +name = "GitHub" +weight = 3 +url = "https://github.com/little-emulator" +params.icon = "github" diff --git a/config/_default/params.toml b/config/_default/params.toml new file mode 100644 index 0000000..6c70b5f --- /dev/null +++ b/config/_default/params.toml @@ -0,0 +1,26 @@ +displayUpdatedDate = true +dateFormat = "January 2, 2006" + +[editUrl] + enable = true + base = "https://github.com/little-emulator/docs/edit/main/content" + +[page] + width = "wide" + +[footer] + displayCopyright = true + +[search.flexsearch] + index = "content" + tokenize = "full" + +[comments] + enable = true + type = "giscus" + + [comments.giscus] + repo = "little-emulator/docs" + repoId = "R_kgDONlBPOg" + category = "Q&A" + categoryId = "DIC_kwDONlBPOs4ClrYh" diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..57a0c03 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,27 @@ ++++ +layout = "hextra-home" ++++ + +{{< hextra/hero-badge link="https://google.com" >}} +
+ Free, open source + {{< icon name="arrow-circle-right" attributes="height=14" >}} +{{< /hextra/hero-badge >}} + +
+{{< hextra/hero-headline >}} + A complete toolset for the LC-2,
+ LC-3 and LC-3b processors +{{< /hextra/hero-headline >}} +
+ +
+{{< hextra/hero-subtitle >}} + A free and open-source emulator, assembler and compiler suite
+ for the *Little Computer* series of CPU +{{< /hextra/hero-subtitle >}} +
+ +
+ {{< hextra/hero-button text="Read the CPU docs" link="docs" >}} +
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* +"""