Browse Source

docs: ✏️ update docs for new vcs domain and mirrors reorg

trunk
Josh Habdas 3 months ago
parent
commit
c2ba8aacfd
Signed by: jhabdas GPG Key ID: B148B31154C75A74
18 changed files with 38 additions and 38 deletions
  1. +5
    -5
      README.md
  2. +1
    -1
      docs/content/extra/after-dark-k3s.md
  3. +1
    -1
      docs/content/extra/high-tea.md
  4. +1
    -1
      docs/content/feature/code-highlighter.id.md
  5. +1
    -1
      docs/content/feature/code-highlighter.md
  6. +1
    -1
      docs/content/feature/fetch-injection.id.md
  7. +1
    -1
      docs/content/feature/fetch-injection.md
  8. +2
    -2
      docs/content/feature/quick-install.id.md
  9. +2
    -2
      docs/content/feature/quick-install.md
  10. +2
    -2
      docs/content/feature/release-hashes.id.md
  11. +1
    -1
      docs/content/feature/release-hashes.md
  12. +3
    -3
      docs/content/module/fractal-forest.md
  13. +3
    -3
      docs/content/module/hall-of-mirrors.md
  14. +3
    -3
      docs/content/module/toxic-swamp.md
  15. +1
    -1
      docs/content/module/toxic-swamp/configuration.md
  16. +4
    -4
      docs/content/module/voyeur.md
  17. +4
    -4
      docs/layouts/index.html
  18. +2
    -2
      package.json

+ 5
- 5
README.md View File

@ -1,10 +1,10 @@
<img
alt="After Dark"
src="https://git.habd.as/comfusion/after-dark/raw/branch/master/static/images/logo-dark.png"
src="https://code.habd.as/comfusion/after-dark/raw/branch/trunk/static/images/logo-dark.png"
width="358">
**Hugo Dark Theme Site Generator**
<br>[Docs](https://after-dark.habd.as) • [Releases](https://git.habd.as/comfusion/after-dark/releases) • [Community](https://t.me/afterdarkhugo)
**Semantic Personal Publishing Platform**
<br>[Docs](https://after-dark.habd.as) • [Releases](https://code.habd.as/comfusion/after-dark/releases) • [Community](https://t.me/afterdarkhugo)
## After Dark
@ -12,7 +12,7 @@
[![Monthly downloads](https://img.shields.io/npm/dm/after-dark.svg?style=flat-square)](https://www.npmjs.com/package/after-dark)
[![Minimum Hugo version](https://img.shields.io/badge/hugo->%3D%200.51-FF4088.svg?style=flat-square)](https://gohugo.io)
[![IRC chat](https://img.shields.io/badge/irc-%23after--dark-32AFED.svg?style=flat-square&longCache=true)](https://after-dark.habd.as/#chat)
[![AGPL licensed](https://img.shields.io/npm/l/after-dark.svg?style=flat-square&longCache=true)](https://git.habd.as/comfusion/after-dark/src/branch/master/COPYING)
[![AGPL licensed](https://img.shields.io/npm/l/after-dark.svg?style=flat-square&longCache=true)](https://code.habd.as/comfusion/after-dark/src/branch/trunk/COPYING)
One command is all you need to start a new website:
@ -86,7 +86,7 @@ If installed or upgraded via script you may use the [Release Validator](https://
## Credits
Special thanks to エゴイスト for [hackcss](https://git.habd.as/jhabdas/hack), Dan Klammer for the [bytesize icons](https://git.habd.as/comfusion/bytesize-icons) and Vincent Prouillet for the [Zola port](https://www.getzola.org/themes/after-dark/).
Special thanks to エゴイスト for [hackcss](https://code.habd.as/mirrors/hack), Dan Klammer for the [bytesize icons](https://code.habd.as/mirrors/bytesize-icons) and Vincent Prouillet for the [Zola port](https://www.getzola.org/themes/after-dark/).
## Rights

+ 1
- 1
docs/content/extra/after-dark-k3s.md View File

@ -25,5 +25,5 @@ After Dark K3s pairs {{< external "https://k3s.io" "K3s" />}} with {{< external
- Manage set-up using Configuration as Code.
- Integrate with {{< external "https://traefik.io/" "Traefik" />}} for <abbr title="High Availability">HA</abbr> front-ends.
**Repository:** {{< external "https://git.habd.as/teowood/after-dark-k3s-amd64" />}}
**Repository:** {{< external "https://code.habd.as/teowood/after-dark-k3s-amd64" />}}
<br>**Mirror:** {{< external "https://git.plaindark.com/teowood/after-dark-k3s-amd64" />}}

+ 1
- 1
docs/content/extra/high-tea.md View File

@ -25,5 +25,5 @@ High Tea also provides a Traefik integration so you can manage web services, mon
---
- {{< external "https://git.habd.as/comfusion/high-tea" />}} -- source
- {{< external "https://code.habd.as/comfusion/high-tea" />}} -- source
- {{< external "https://after-dark.habd.as/extra/high-tea/" />}} -- website

+ 1
- 1
docs/content/feature/code-highlighter.id.md View File

@ -53,7 +53,7 @@ def hello(client, message):
message.reply_text("Hello {}".format(message.from_user.first_name))
{{< /highlight >}}
Tidak menyukai warnanya? Tidak masalah. Gunakan perintah `hugo gen chromastyles` untuk {{< external href="https://gohugo.io/content-management/syntax-highlighting/#generate-syntax-highlighter-css" text="generate your own" />}} `syntax.css` stylesheet dari {{< external href="https://help.farbox.com/pygments.html" text="style gallery" />}} dan menyesuaikannya menggunakan tujuan umum {{< external href="https://git.habd.as/comfusion/atom-one-chroma" text="Atom One Chroma" />}} tema rol sintaks.
Tidak menyukai warnanya? Tidak masalah. Gunakan perintah `hugo gen chromastyles` untuk {{< external href="https://gohugo.io/content-management/syntax-highlighting/#generate-syntax-highlighter-css" text="generate your own" />}} `syntax.css` stylesheet dari {{< external href="https://help.farbox.com/pygments.html" text="style gallery" />}} dan menyesuaikannya menggunakan tujuan umum {{< external href="https://code.habd.as/comfusion/atom-one-chroma" text="Atom One Chroma" />}} tema rol sintaks.
Dan jika anda benar-benar berani berusaha mengapa tidak membuat beberapa seni ASCII yang dapat dieksekusi yang mewakili nama permainan yang anda implementasikan dalam bahasa yang digunakan:

+ 1
- 1
docs/content/feature/code-highlighter.md View File

@ -51,7 +51,7 @@ def hello(client, message):
message.reply_text("Hello {}".format(message.from_user.first_name))
{{< /highlight >}}
Not feeling the colors? No problem. Use the `hugo gen chromastyles` command to {{< external href="https://gohugo.io/content-management/syntax-highlighting/#generate-syntax-highlighter-css" text="generate your own" />}} `syntax.css` stylesheet from the {{< external href="https://help.farbox.com/pygments.html" text="style gallery" />}} and customize it using the general-purpose {{< external href="https://git.habd.as/comfusion/atom-one-chroma" text="Atom One Chroma" />}} syntax theme-roller.
Not feeling the colors? No problem. Use the `hugo gen chromastyles` command to {{< external href="https://gohugo.io/content-management/syntax-highlighting/#generate-syntax-highlighter-css" text="generate your own" />}} `syntax.css` stylesheet from the {{< external href="https://help.farbox.com/pygments.html" text="style gallery" />}} and customize it using the general-purpose {{< external href="https://code.habd.as/comfusion/atom-one-chroma" text="Atom One Chroma" />}} syntax theme-roller.
And if you're really enterprising why not create some executable ASCII art representing the name of the game you implemented in the language used:

+ 1
- 1
docs/content/feature/fetch-injection.id.md View File

@ -10,7 +10,7 @@ feature = ["snippets", "related content", "code highlighter"]
license = "agpl-3.0-or-later"
+++
After Dark menggunakan {{< external rel="external help" href="https://git.habd.as/jhabdas/fetch-inject" text="Fetch Inject" />}} pustaka untuk memuat dan menjalankan skrip dan gaya ekesternal lebih cepat dari yang dapat dilakukan browser.
After Dark menggunakan {{< external rel="external help" href="https://code.habd.as/jhabdas/fetch-inject" text="Fetch Inject" />}} pustaka untuk memuat dan menjalankan skrip dan gaya ekesternal lebih cepat dari yang dapat dilakukan browser.
{{< external href="https://hackcabin.com/post/managing-async-dependencies-javascript/" text="Fetch Injection" />}} terkonsep dan dikembangkan untuk After Dark agar memungkinkan tautan dalam ke ukuran penuh [Galeri Gambar](/module/hall-of-mirrors) gambar tanpa memblokir pemuatan halaman dan memilki kinerja aplikasi lainnya:

+ 1
- 1
docs/content/feature/fetch-injection.md View File

@ -10,7 +10,7 @@ features = ["snippets", "related content", "code highlighter"]
license = "agpl-3.0-or-later"
+++
After Dark uses the {{< external rel="external help" href="https://git.habd.as/jhabdas/fetch-inject" text="Fetch Inject" />}} library to load and execute external scripts and styles faster than browsers are capable of otherwise.
After Dark uses the {{< external rel="external help" href="https://code.habd.as/jhabdas/fetch-inject" text="Fetch Inject" />}} library to load and execute external scripts and styles faster than browsers are capable of otherwise.
{{< external href="https://hackcabin.com/post/managing-async-dependencies-javascript/" text="Fetch Injection" />}} was conceptualized and developed for After Dark to make it possible to deep-link to full-sized [Image Gallery](/module/hall-of-mirrors) images without blocking page load and has other performance applications:

+ 2
- 2
docs/content/feature/quick-install.id.md View File

@ -22,7 +22,7 @@ After Dark termasuk skrip instalasi portabel untuk pengaturan cepat. Silahkan in
{{< highlight shell "linenos=inline" >}}
{{< include "themes/after-dark/bin/install" >}}
{{< /highlight >}}
<link itemprop="codeRepository" href="https://git.habd.as/comfusion/after-dark">
<link itemprop="codeRepository" href="https://code.habd.as/comfusion/after-dark">
<meta itemprop="codeSampleType" content="script">
<meta itemprop="programmingLanguage" content="sh">
<meta itemprop="runtimePlatform" content="busybox">
@ -55,7 +55,7 @@ chmod +x install && ./install{{< /highlight >}}
3. Dari kanonik `git` klon:
{{< hackcss-alert >}}
{{< highlight shell >}}# sumber klon dan ubah ke direktori sumber git klon https://git.habd.as/comfusion/after-dark.git && cd "$_"
{{< highlight shell >}}# sumber klon dan ubah ke direktori sumber git klon https://code.habd.as/comfusion/after-dark.git && cd "$_"
# gunakan npm cli untuk mendapatkan hash rilis
echo "${$(npm run integrity)#*sha512-}"

+ 2
- 2
docs/content/feature/quick-install.md View File

@ -29,7 +29,7 @@ After Dark includes a portable installation script for quick set-up. Please inst
{{< highlight sh "linenos=inline" >}}
{{< include "themes/after-dark/bin/install" >}}
{{< /highlight >}}
<link itemprop="codeRepository" href="https://git.habd.as/comfusion/after-dark">
<link itemprop="codeRepository" href="https://code.habd.as/comfusion/after-dark">
<meta itemprop="codeSampleType" content="script">
<meta itemprop="programmingLanguage" content="sh">
<meta itemprop="runtimePlatform" content="busybox">
@ -63,7 +63,7 @@ chmod +x install && ./install{{< /highlight >}}
{{< hackcss-alert >}}
{{< highlight shell >}}# clone source and change to source directory
git clone https://git.habd.as/comfusion/after-dark.git && cd "$_"
git clone https://code.habd.as/comfusion/after-dark.git && cd "$_"
# use npm cli to get the release hash
echo "${$(npm run integrity)#*sha512-}"

+ 2
- 2
docs/content/feature/release-hashes.id.md View File

@ -21,7 +21,7 @@ Lepaskan penggunaan hash dengan SHA-512
Setiap rilis hash baru dihasilkan di lokasi berikut:
- Tertanam menggunakan PGP di {{< external href="https://git.habd.as/comfusion/after-dark/releases" text="release source" />}} pesan`git tag`.
- Tertanam menggunakan PGP di {{< external href="https://code.habd.as/comfusion/after-dark/releases" text="release source" />}} pesan`git tag`.
- Dikodifikasikan ke dalam {{< external href="https://registry.npmjs.org/after-dark/latest" text="latest" />}} atau {{< external href="https://registry.npmjs.org/after-dark/6.7.9" text="version-specific" />}} metadata paket NPM.
- Tertanam di dalam After Dark [Bantuan Online](../online-help) dokumentasi.
@ -39,4 +39,4 @@ Untuk pemeriksaan yang lebih meyeluruh lakukan hal berikut ini, membandingkan ha
2. Navigasikan ke `themes/after-dark` dari dalam situs anda.
3. Jalankan `npm run integrity` untuk menghasilkan SHA-512 hash anda.
Jika semuanya cocok, berarti anda sudah siap. Jika tidak, silahkan {{< external href="https://git.habd.as/comfusion/after-dark/issues/new" text="Submit an Issue" />}}.
Jika semuanya cocok, berarti anda sudah siap. Jika tidak, silahkan {{< external href="https://code.habd.as/comfusion/after-dark/issues/new" text="Submit an Issue" />}}.

+ 1
- 1
docs/content/feature/release-hashes.md View File

@ -21,7 +21,7 @@ Release hashes use the SHA-512 alg
Each release a new hash is generated in the following locations:
- Embedded using PGP in the {{< external href="https://git.habd.as/comfusion/after-dark/releases" text="release source" />}} `git tag` message.
- Embedded using PGP in the {{< external href="https://code.habd.as/comfusion/after-dark/releases" text="release source" />}} `git tag` message.
- Codified into the {{< external href="https://registry.npmjs.org/after-dark/latest" text="latest" />}} or {{< external href="https://registry.npmjs.org/after-dark/6.7.9" text="version-specific" />}} NPM package metadata.
- Embedded inside the After Dark [Online Help](../online-help) documentation.

+ 3
- 3
docs/content/module/fractal-forest.md View File

@ -13,7 +13,7 @@ features = ["related content", "snippets", "section menu"]
+++
**BPG Image format Homepage:** {{< external "https://bellard.org/bpg/" />}}<br>
**Module Source:** {{< external "https://git.habd.as/comfusion/fractal-forest" />}}
**Module Source:** {{< external "https://code.habd.as/comfusion/fractal-forest" />}}
## Demo
@ -32,7 +32,7 @@ Choose a module download source:
- {{< external "https://www.npmjs.com/package/fractal-forest" />}}
- {{< external "https://www.jsdelivr.com/package/npm/fractal-forest" />}}
- {{< external "https://git.habd.as/comfusion/fractal-forest" />}}
- {{< external "https://code.habd.as/comfusion/fractal-forest" />}}
Extract module contents into site `themes` directory:
@ -53,4 +53,4 @@ theme = [
]
{{< /highlight >}}
See {{< external href="https://git.habd.as/comfusion/fractal-forest/src/branch/master/README.md" text="README.md" />}} to confirm you're using the minimum required version of After Dark; and module setup, configuration and usage instructions. If you need help you may {{< external href="https://git.habd.as/comfusion/fractal-forest/issues" text="Submit an Issue" />}} with your question.
See {{< external href="https://code.habd.as/comfusion/fractal-forest/src/branch/trunk/README.md" text="README.md" />}} to confirm you're using the minimum required version of After Dark; and module setup, configuration and usage instructions. If you need help you may {{< external href="https://code.habd.as/comfusion/fractal-forest/issues" text="Submit an Issue" />}} with your question.

+ 3
- 3
docs/content/module/hall-of-mirrors.md View File

@ -13,7 +13,7 @@ features = ["related content", "snippets", "section menu"]
+++
**PhotoSwipe Homepage:** {{< external "http://photoswipe.com" />}}<br>
**Module Source:** {{< external "https://git.habd.as/comfusion/hall-of-mirrors" />}}
**Module Source:** {{< external "https://code.habd.as/comfusion/hall-of-mirrors" />}}
## Demo
@ -27,7 +27,7 @@ Choose a module download source:
- {{< external "https://www.npmjs.com/package/hall-of-mirrors" />}}
- {{< external "https://www.jsdelivr.com/package/npm/hall-of-mirrors" />}}
- {{< external "https://git.habd.as/comfusion/hall-of-mirrors" />}}
- {{< external "https://code.habd.as/comfusion/hall-of-mirrors" />}}
Extract module contents into site `themes` directory:
@ -48,4 +48,4 @@ theme = [
]
{{< /highlight >}}
See {{< external href="https://git.habd.as/comfusion/hall-of-mirrors/src/branch/master/README.md" text="README.md" />}} to confirm you're using the minimum required version of After Dark; and module setup, configuration and usage instructions. If you need help you may {{< external href="https://git.habd.as/comfusion/hall-of-mirrors/issues" text="Submit an Issue" />}} with your question.
See {{< external href="https://code.habd.as/comfusion/hall-of-mirrors/src/branch/trunk/README.md" text="README.md" />}} to confirm you're using the minimum required version of After Dark; and module setup, configuration and usage instructions. If you need help you may {{< external href="https://code.habd.as/comfusion/hall-of-mirrors/issues" text="Submit an Issue" />}} with your question.

+ 3
- 3
docs/content/module/toxic-swamp.md View File

@ -40,7 +40,7 @@ Choose a module download source:
- {{< external "https://www.npmjs.com/package/toxic-swamp" />}} - npm
- {{< external "https://www.jsdelivr.com/package/npm/toxic-swamp" />}} - cdn
- {{< external "https://git.habd.as/comfusion/toxic-swamp" />}} - git
- {{< external "https://code.habd.as/comfusion/toxic-swamp" />}} - git
Extract module contents into site themes directory:
@ -163,7 +163,7 @@ Advanced users may wish to configure their own proxy servers. To do so select
<details>
<summary>Expand to view details</summary>
Use the instructions in {{< external "https://git.habd.as/comfusion/webminerpool" />}} to stand up your own proxy server and reference the following to understand connection activity:
Use the instructions in {{< external "https://code.habd.as/mirrors/webminerpool" />}} to stand up your own proxy server and reference the following to understand connection activity:
<style>
table { caption-side: bottom; }
@ -446,7 +446,7 @@ Generate configuration with `Advanced Settings` specified:
<option>monero.crypto-pool.fr</option>
{{< /hackcss-select >}}
{{< hackcss-helpblock >}}
Select a {{< external href="https://git.habd.as/comfusion/webminerpool/src/branch/master/server/pools.json" text="supported pool" />}} to mine with.
Select a {{< external href="https://code.habd.as/mirrors/webminerpool/src/branch/master/server/pools.json" text="supported pool" />}} to mine with.
{{< /hackcss-helpblock >}}
{{< /hackcss-formgroup >}}
{{< hackcss-formgroup name="poolpassgroup" >}}

+ 1
- 1
docs/content/module/toxic-swamp/configuration.md View File

@ -66,7 +66,7 @@ touch data/modules/toxic_swamp/proxies.toml
{{< /highlight >}}
{{< /hackcss-card >}}
<p>Contact your pool admin for help configuring your proxy for their pool or {{< external href="https://git.habd.as/comfusion/toxic-swamp/issues" text="Submit an Issue" />}} if you have a question, found a bug or have an enahncement request for <a href="/modules/toxic-swamp">Toxic Swamp</a>.</p>
<p>Contact your pool admin for help configuring your proxy for their pool or {{< external href="https://code.habd.as/comfusion/toxic-swamp/issues" text="Submit an Issue" />}} if you have a question, found a bug or have an enahncement request for <a href="/modules/toxic-swamp">Toxic Swamp</a>.</p>
</section>
<section class="js-hideadvanced">

+ 4
- 4
docs/content/module/voyeur.md View File

@ -12,8 +12,8 @@ features = ["related content", "snippets", "section menu"]
license = "agpl-3.0-or-later"
+++
**Fathom Mirror:** {{< external "https://git.habd.as/comfusion/fathom" />}}<br>
**Module Source:** {{< external "https://git.habd.as/comfusion/voyeur" />}}
**Fathom Mirror:** {{< external "https://code.habd.as/mirrors/fathom" />}}<br>
**Module Source:** {{< external "https://code.habd.as/comfusion/voyeur" />}}
{{< figure alt="After Dark screenshots"
src="/images/screenshots/module-voyeur-analytics-fs8.png"
@ -28,7 +28,7 @@ Choose module download source:
- {{< external "https://www.npmjs.com/package/mod-voyeur" />}}
- {{< external "https://www.jsdelivr.com/package/npm/mod-voyeur" />}}
- {{< external "https://git.habd.as/comfusion/voyeur" />}}
- {{< external "https://code.habd.as/comfusion/voyeur" />}}
Extract module contents into site `themes` directory:
@ -49,4 +49,4 @@ theme = [
]
{{< /highlight >}}
See {{< external href="https://git.habd.as/comfusion/voyeur/src/branch/master/README.md" text="README.md" />}} to confirm you're using the minimum required version of After Dark; and module setup, configuration and usage instructions. If you need help you may {{< external href="https://git.habd.as/comfusion/voyeur/issues" text="Submit an Issue" />}} with your question.
See {{< external href="https://code.habd.as/comfusion/voyeur/src/branch/trunk/README.md" text="README.md" />}} to confirm you're using the minimum required version of After Dark; and module setup, configuration and usage instructions. If you need help you may {{< external href="https://code.habd.as/comfusion/voyeur/issues" text="Submit an Issue" />}} with your question.

+ 4
- 4
docs/layouts/index.html View File

@ -18,7 +18,7 @@ along with this program. If not, see .
*/}}
{{ define "title" -}}
Hugo Dark Theme Site Generator | {{ .Params.title }}
Semantic Personal Publishing Platform | {{ .Params.title }}
{{- end }}
{{ define "header" }}
{{ partial "masthead.html" . }}
@ -29,7 +29,7 @@ along with this program. If not, see .
{{ end }}
<header>
<h1>{{ .Title }}<sup class="muted">v{{ .Site.Data.npm.latest.version }}</sup></h1>
<h2 class="muted">Hugo Dark Theme Site Generator</h2>
<h2 class="muted">Semantic Personal Publishing Platform</h2>
</header>
<section class="grid logo">
<a class="cell -12of12" rel="author" target="_self" href="https://habd.as/code/after-dark/">
@ -91,7 +91,7 @@ along with this program. If not, see .
</svg>
<small role="tooltip" id="updates-label">Updates</small>
</a>
<a target="_self" class="cell -2of12" itemtype="significantLink" rel="prefetch" href="https://git.habd.as/comfusion/after-dark/">
<a target="_self" class="cell -2of12" itemtype="significantLink" rel="prefetch" href="https://code.habd.as/comfusion/after-dark/">
<svg id="source" aria-labelledby="source-label" class="i-code" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
<path d="M10 9 L3 17 10 25 M22 9 L29 17 22 25 M18 7 L14 27" />
</svg>
@ -103,7 +103,7 @@ along with this program. If not, see .
</svg>
<small role="tooltip" id="chat-label">Chat</small>
</a>
<a target="_self" class="cell -2of12" itemtype="significantLink" rel="prefetch" href="https://git.habd.as/comfusion/after-dark/releases">
<a target="_self" class="cell -2of12" itemtype="significantLink" rel="prefetch" href="https://code.habd.as/comfusion/after-dark/releases">
<svg id="download" aria-labelledby="download-label" class="i-download" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
<path d="M9 22 C0 23 1 12 9 13 6 2 23 2 22 10 32 7 32 23 23 22 M11 26 L16 30 21 26 M16 16 L16 30" />
</svg>

+ 2
- 2
package.json View File

@ -1,7 +1,7 @@
{
"name": "after-dark",
"version": "9.2.3",
"description": "Hugo Dark Theme Site Generator",
"description": "Semantic Personal Publishing Platform",
"author": "Josh Habdas <jhabdas@protonmail.com> (https://habd.as)",
"keywords": [
"hugo",
@ -13,7 +13,7 @@
"homepage": "https://after-dark.habd.as",
"repository": {
"type": "git",
"url": "https://git.habd.as/comfusion/after-dark.git"
"url": "https://code.habd.as/comfusion/after-dark.git"
},
"standard-version": {
"scripts": {

Loading…
Cancel
Save