Skip to content

Commit

Permalink
new files
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidakanmu committed Jun 11, 2024
1 parent 09533ae commit 351b215
Show file tree
Hide file tree
Showing 59 changed files with 1,690 additions and 604 deletions.
2 changes: 1 addition & 1 deletion config/_default/hugo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
title = "Beacon SDK"
baseurl = "https://roll20.github.io/"
baseurl = "/"
canonifyURLs = false
disableAliases = true
disableHugoGeneratorInject = true
Expand Down
10 changes: 5 additions & 5 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Hugo
title = "My Docs"
title = "Beacon SDK"
description = "Congrats on setting up a new Doks project!"
images = ["cover.png"]

Expand All @@ -20,19 +20,19 @@ mainSections = ["docs"]
containerBreakpoint = "lg" # "", "sm", "md", "lg" (default), "xl", "xxl", or "fluid"

## Button
navBarButton = false # false (default) or true
navBarButtonUrl = "/docs/prologue/introduction/"
navBarButton = true # false (default) or true
navBarButtonUrl = "/docs/guides/introduction/"
navBarButtonText = "Get started"

# FlexSearch
flexSearch = true # true (default) or false
searchExclKinds = [] # list of page kinds to exclude from search indexing (e.g. ["home", "taxonomy", "term"] )
searchExclTypes = [] # list of content types to exclude from search indexing (e.g. ["blog", "docs", "legal", "contributors", "categories"])
showSearch = [] # [] (all pages, default) or homepage (optionally) and list of sections (e.g. ["homepage", "blog", "guides"])
indexSummary = false # true or false (default); whether to index only the `.Summary` instead of the full `.Content`; limits the respective JSON field size and thus increases loading time
indexSummary = true # true or false (default); whether to index only the `.Summary` instead of the full `.Content`; limits the respective JSON field size and thus increases loading time

## Search results
showDate = false # false (default) or true
showDate = true # false (default) or true
showSummary = true # true (default) or false
searchLimit = 99 # 0 (no limit, default) or natural number

Expand Down
5 changes: 5 additions & 0 deletions hugo_stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"breadcrumb",
"breadcrumb-item",
"btn",
"btn-block",
"btn-close",
"btn-link",
"btn-primary",
Expand Down Expand Up @@ -179,6 +180,7 @@
"ms-auto",
"ms-lg-2",
"mt-1",
"mt-2",
"mt-3",
"mt-4",
"mt-n3",
Expand All @@ -201,6 +203,7 @@
"offcanvas-start",
"offcanvas-title",
"order-3",
"order-lg-3",
"order-lg-4",
"p-0",
"p-2",
Expand All @@ -216,9 +219,11 @@
"ps-3",
"pt-4",
"px-0",
"px-4",
"query-no-results",
"reading-time",
"rounded-circle",
"rounded-pill",
"row",
"search-form",
"search-input",
Expand Down
26 changes: 14 additions & 12 deletions public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="preload" href="http://localhost:1313/fonts/vendor/jost/jost-v4-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="http://localhost:1313/fonts/vendor/jost/jost-v4-latin-500.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="http://localhost:1313/fonts/vendor/jost/jost-v4-latin-700.woff2" as="font" type="font/woff2" crossorigin>
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="preload" href="//localhost:1313/fonts/vendor/jost/jost-v4-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="//localhost:1313/fonts/vendor/jost/jost-v4-latin-500.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="//localhost:1313/fonts/vendor/jost/jost-v4-latin-700.woff2" as="font" type="font/woff2" crossorigin>
<script
src="/js/color-mode.f14b3e296de1d0b69e75af684b62a4a912a2cadab04e36123407cd8388204f1d.js"
integrity="sha256-8Us&#43;KW3h0Laeda9oS2KkqRKiytqwTjYSNAfNg4ggTx0=">
Expand All @@ -14,8 +14,8 @@

<link rel="stylesheet" href="/main.01b0834d5af51b24812d02878d09c8d7677d6b8af13164fb50215889dc19aaefd0e9366c13b45a9a57ae481dfd1836bce46b5ebfe461d56e3498b9443d8c5e27.css" integrity="sha512-AbCDTVr1GySBLQKHjQnI12d9a4rxMWT7UCFYidwZqu/Q6TZsE7RamleuSB39GDa85Gtev&#43;Rh1W40mLlEPYxeJw==" crossorigin="anonymous">

<noscript><style>img.lazyload { display: none; }</style></noscript><base href="http://localhost:1313/404.html">
<link rel="canonical" href="http://localhost:1313/404.html">
<noscript><style>img.lazyload { display: none; }</style></noscript><base href="//localhost:1313/404.html">
<link rel="canonical" href="//localhost:1313/404.html">
<title>404 Page not found | Beacon SDK</title>
<meta name="description" content="Congrats on setting up a new Doks project!">

Expand Down Expand Up @@ -46,10 +46,10 @@
<meta property="og:title" content="404 Page not found">
<meta property="og:description" content="Congrats on setting up a new Doks project!">
<meta property="og:type" content="website">
<meta property="og:url" content="http://localhost:1313/404.html"><meta property="og:image" content="http://localhost:1313/cover.png"><meta property="og:site_name" content="My Docs">
<meta property="og:url" content="//localhost:1313/404.html"><meta property="og:image" content="//localhost:1313/cover.png"><meta property="og:site_name" content="Beacon SDK">

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="http://localhost:1313/cover.png"><meta name="twitter:title" content="404 Page not found">
<meta name="twitter:image" content="//localhost:1313/cover.png"><meta name="twitter:title" content="404 Page not found">
<meta name="twitter:description" content="Congrats on setting up a new Doks project!">
<meta name="twitter:site" content="@getdoks">

Expand All @@ -60,7 +60,7 @@
"itemListElement": [
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"item": "//localhost:1313/",
"name": "Welcome to Beacon Sdk",
"position": 1
},
Expand Down Expand Up @@ -121,7 +121,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Beacon SDK</h5>

<div class="offcanvas-body d-flex flex-column flex-lg-row justify-content-between">
<ul class="navbar-nav flex-grow-1"><li class="nav-item">
<a class="nav-link" href="http://localhost:1313/docs/guides/introduction">Docs</a>
<a class="nav-link" href="//localhost:1313/docs/guides/introduction">Docs</a>
</li>
</ul>

Expand Down Expand Up @@ -154,10 +154,12 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Beacon SDK</h5>
</li>
</ul>

<a class="btn btn-primary rounded-pill mt-2 btn-block d-lg-none" href="//localhost:1313/docs/guides/introduction/" role="button">Get started</a>
</div>
</div>


<a class="btn btn-primary rounded-pill ms-3 me-2 px-4 order-lg-3 d-none d-lg-block" href="//localhost:1313/docs/guides/introduction/" role="button">Get started</a>
</div>
</header>
</div>
Expand Down Expand Up @@ -189,7 +191,7 @@ <h1 class="modal-title fs-5 visually-hidden" id="searchModalLabel">Search</h1>
<div class="card-body">
<header>
<h2 class="h5 title title-submitted mb-0"><a class="stretched-link text-decoration-none text-reset" href="#">Title here</a></h2>
<div class="submitted d-none"><time class="created-date">Date here</time></div>
<div class="submitted"><time class="created-date">Date here</time></div>
</header>
<div class="content">Summary here</div>
</div>
Expand Down Expand Up @@ -257,8 +259,8 @@ <h1 class="text-center">Page not found :(</h1>


<script async
src="/js/flexsearch.a43ad3e9453067320ab808b85ef437fc65518a219cfea8499e744b7b6f0b6924.js"
integrity="sha256-pDrT6UUwZzIKuAi4XvQ3/GVRiiGc/qhJnnRLe28LaSQ=">
src="/js/flexsearch.e7c4a8861a2b9321a8f6832b355a8ab241696a44eb17536b25c2a2e3b2e2705a.js"
integrity="sha256-58SohhorkyGo9oMrNVqKskFpakTrF1NrJcKi47LicFo=">
</script>
<script async
src="/js/search-modal.543117a85590123cda9e96d1fcbf8bd22fc1a3a3ca3d31a816382f0f10f30a34.js"
Expand Down
36 changes: 19 additions & 17 deletions public/blog/example-post/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="preload" href="http://localhost:1313/fonts/vendor/jost/jost-v4-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="http://localhost:1313/fonts/vendor/jost/jost-v4-latin-500.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="http://localhost:1313/fonts/vendor/jost/jost-v4-latin-700.woff2" as="font" type="font/woff2" crossorigin>
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="preload" href="//localhost:1313/fonts/vendor/jost/jost-v4-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="//localhost:1313/fonts/vendor/jost/jost-v4-latin-500.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="//localhost:1313/fonts/vendor/jost/jost-v4-latin-700.woff2" as="font" type="font/woff2" crossorigin>
<script
src="/js/color-mode.f14b3e296de1d0b69e75af684b62a4a912a2cadab04e36123407cd8388204f1d.js"
integrity="sha256-8Us&#43;KW3h0Laeda9oS2KkqRKiytqwTjYSNAfNg4ggTx0=">
Expand All @@ -14,8 +14,8 @@

<link rel="stylesheet" href="/main.01b0834d5af51b24812d02878d09c8d7677d6b8af13164fb50215889dc19aaefd0e9366c13b45a9a57ae481dfd1836bce46b5ebfe461d56e3498b9443d8c5e27.css" integrity="sha512-AbCDTVr1GySBLQKHjQnI12d9a4rxMWT7UCFYidwZqu/Q6TZsE7RamleuSB39GDa85Gtev&#43;Rh1W40mLlEPYxeJw==" crossorigin="anonymous">

<noscript><style>img.lazyload { display: none; }</style></noscript><base href="http://localhost:1313/blog/example-post/">
<link rel="canonical" href="http://localhost:1313/blog/example-post/">
<noscript><style>img.lazyload { display: none; }</style></noscript><base href="//localhost:1313/blog/example-post/">
<link rel="canonical" href="//localhost:1313/blog/example-post/">
<title>Example Post | Beacon SDK</title>
<meta name="description" content="Just an example post.">

Expand Down Expand Up @@ -46,12 +46,12 @@
<meta property="og:title" content="Example Post">
<meta property="og:description" content="Just an example post.">
<meta property="og:type" content="article">
<meta property="og:url" content="http://localhost:1313/blog/example-post/"><meta property="og:image" content="http://localhost:1313/cover.png"><meta property="article:section" content="blog">
<meta property="og:url" content="//localhost:1313/blog/example-post/"><meta property="og:image" content="//localhost:1313/cover.png"><meta property="article:section" content="blog">
<meta property="article:published_time" content="2023-09-07T16:27:22+02:00">
<meta property="article:modified_time" content="2023-09-07T16:27:22+02:00"><meta property="og:site_name" content="My Docs">
<meta property="article:modified_time" content="2023-09-07T16:27:22+02:00"><meta property="og:site_name" content="Beacon SDK">

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="http://localhost:1313/cover.png"><meta name="twitter:title" content="Example Post">
<meta name="twitter:image" content="//localhost:1313/cover.png"><meta name="twitter:title" content="Example Post">
<meta name="twitter:description" content="Just an example post.">
<meta name="twitter:site" content="@getdoks">

Expand All @@ -63,13 +63,13 @@
"itemListElement": [
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"item": "//localhost:1313/",
"name": "Welcome to Beacon Sdk",
"position": 1
},
{
"@type": "ListItem",
"item": "http://localhost:1313/blog/",
"item": "//localhost:1313/blog/",
"name": "Blog",
"position": 2
},
Expand All @@ -93,17 +93,17 @@
"headline": "Example Post",
"description": "Just an example post.",
"isPartOf": {
"@id": "http://localhost:1313/blog/example-post/"
"@id": "//localhost:1313/blog/example-post/"
},
"mainEntityOfPage": {
"@id": "http://localhost:1313/blog/example-post/"
"@id": "//localhost:1313/blog/example-post/"
},
"datePublished": "2023-09-07T16:27:22+02:00",
"dateModified": "2023-09-07T16:27:22+02:00",
"author": {
"@type": "Organization",
"name": "Hyas",
"url": "http://localhost:1313/"
"url": "//localhost:1313/"
},
"publisher": {
"@type": "Organization",
Expand Down Expand Up @@ -163,7 +163,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Beacon SDK</h5>

<div class="offcanvas-body d-flex flex-column flex-lg-row justify-content-between">
<ul class="navbar-nav flex-grow-1"><li class="nav-item">
<a class="nav-link" href="http://localhost:1313/docs/guides/introduction">Docs</a>
<a class="nav-link" href="//localhost:1313/docs/guides/introduction">Docs</a>
</li>
</ul>

Expand Down Expand Up @@ -196,10 +196,12 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Beacon SDK</h5>
</li>
</ul>

<a class="btn btn-primary rounded-pill mt-2 btn-block d-lg-none" href="//localhost:1313/docs/guides/introduction/" role="button">Get started</a>
</div>
</div>


<a class="btn btn-primary rounded-pill ms-3 me-2 px-4 order-lg-3 d-none d-lg-block" href="//localhost:1313/docs/guides/introduction/" role="button">Get started</a>
</div>
</header>
</div>
Expand Down Expand Up @@ -231,7 +233,7 @@ <h1 class="modal-title fs-5 visually-hidden" id="searchModalLabel">Search</h1>
<div class="card-body">
<header>
<h2 class="h5 title title-submitted mb-0"><a class="stretched-link text-decoration-none text-reset" href="#">Title here</a></h2>
<div class="submitted d-none"><time class="created-date">Date here</time></div>
<div class="submitted"><time class="created-date">Date here</time></div>
</header>
<div class="content">Summary here</div>
</div>
Expand Down Expand Up @@ -317,8 +319,8 @@ <h2 id="further-reading">Further reading</h2>


<script async
src="/js/flexsearch.a43ad3e9453067320ab808b85ef437fc65518a219cfea8499e744b7b6f0b6924.js"
integrity="sha256-pDrT6UUwZzIKuAi4XvQ3/GVRiiGc/qhJnnRLe28LaSQ=">
src="/js/flexsearch.e7c4a8861a2b9321a8f6832b355a8ab241696a44eb17536b25c2a2e3b2e2705a.js"
integrity="sha256-58SohhorkyGo9oMrNVqKskFpakTrF1NrJcKi47LicFo=">
</script>
<script async
src="/js/search-modal.543117a85590123cda9e96d1fcbf8bd22fc1a3a3ca3d31a816382f0f10f30a34.js"
Expand Down
Loading

0 comments on commit 351b215

Please sign in to comment.