Configured the theme and added the frontpage
All checks were successful
Build and Publish / build (push) Successful in 12s

This commit is contained in:
Nicola Belluti 2025-01-03 15:24:11 +01:00
parent 3d6e1fdf6e
commit 32bf5c419c
5 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,5 @@
[goldmark.renderer]
unsafe = true
[highlight]
noClasses = false

View File

@ -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"

View File

@ -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"

27
content/_index.md Normal file
View File

@ -0,0 +1,27 @@
+++
layout = "hextra-home"
+++
{{< hextra/hero-badge link="https://google.com" >}}
<div class="hx-w-2 hx-h-2 hx-rounded-full hx-bg-primary-400"></div>
Free, open source
{{< icon name="arrow-circle-right" attributes="height=14" >}}
{{< /hextra/hero-badge >}}
<div class="hx-mt-6 hx-mb-6">
{{< hextra/hero-headline >}}
A complete toolset for the LC-2, <br>
LC-3 and LC-3b processors
{{< /hextra/hero-headline >}}
</div>
<div class="hx-mb-12">
{{< hextra/hero-subtitle >}}
A free and open-source emulator, assembler and compiler suite <br>
for the *Little Computer* series of CPU
{{< /hextra/hero-subtitle >}}
</div>
<div class="hx-mb-6">
{{< hextra/hero-button text="Read the CPU docs" link="docs" >}}
</div>

4
i18n/en.toml Normal file
View File

@ -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*
"""