wiki

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 400868836cf7111a2bb01e462dd19a278a43e84f
parent 996f115ab227b403a489a4ebe889b90a06fccff2
Author: al1-ce <al1-ce@null.net>
Date:   Thu, 10 Jul 2025 16:30:13 +0300

Make urls lowercase and add articles

Diffstat:
Mindex-pages.sh | 8++++----
Dpublic/All_Pages.md | 4----
Apublic/all_pages.md | 4++++
Mpublic/index.html | 6+++---
Rpublic/Index.md -> public/index.md | 0
Mpublic/js/plugins/wikilink.js | 2+-
Dpublic/meta/Markdown_flavour.md | 42------------------------------------------
Apublic/meta/maintenance.md | 17+++++++++++++++++
Apublic/meta/markdown_flavour.md | 40++++++++++++++++++++++++++++++++++++++++
Rpublic/meta/Style_guidelines.md -> public/meta/style_guidelines.md | 0
Apublic/wiki/Kagai_nihongo.md | 18++++++++++++++++++
Rpublic/wiki/AA.md -> public/wiki/aa.md | 0
12 files changed, 87 insertions(+), 54 deletions(-)

diff --git a/index-pages.sh b/index-pages.sh @@ -6,14 +6,14 @@ WIKI_PAGES="$(echo "$WIKI_PAGES" | sed -r 's|(.*)\.md$|[\1](wiki/\0)|')" META_PAGES="$(ls public/meta --color=never -1 | grep ".md")" META_PAGES="$(echo "$META_PAGES" | sed -r 's|(.*)\.md$|[\1](meta/\0)|')" -PAGES="$(echo -e "[Index](/)\n$WIKI_PAGES\n$META_PAGES")" +PAGES="$(echo -e "[index](/)\n$WIKI_PAGES\n$META_PAGES")" PAGES="$(echo "$PAGES" | sort)" -echo "||||" > public/All_Pages.md -echo "|:-|:-|:-|" >> public/All_Pages.md +echo "||||" > public/all_pages.md +echo "|:-|:-|:-|" >> public/all_pages.md -echo "$PAGES" | pr -s"|" -T -3 | sed "s/^/|/" | sed "s/$/|/" >> public/All_Pages.md +echo "$PAGES" | pr -s"|" -T -3 | sed "s/^/|/" | sed "s/$/|/" >> public/all_pages.md # echo "$PAGES" | pr -s"|" -T -3 | sed "s/^/|/" | sed "s/$/|/" diff --git a/public/All_Pages.md b/public/All_Pages.md @@ -1,4 +0,0 @@ -|||| -|:-|:-|:-| -|[AA](wiki/AA.md)|[Markdown_flavour](meta/Markdown_flavour.md)|[Style_guidelines](meta/Style_guidelines.md)| -|[Index](/)| diff --git a/public/all_pages.md b/public/all_pages.md @@ -0,0 +1,4 @@ +|||| +|:-|:-|:-| +|[Kagai_nihongo](wiki/Kagai_nihongo.md)|[index](/)|[markdown_flavour](meta/markdown_flavour.md)| +|[aa](wiki/aa.md)|[maintenance](meta/maintenance.md)|[style_guidelines](meta/style_guidelines.md)| diff --git a/public/index.html b/public/index.html @@ -230,7 +230,7 @@ // logo: "https://avatars.githubusercontent.com/u/60989682?s=48&v=4", hideSidebar: false, routerMode: 'history', - homepage: 'Index.md', + homepage: 'index.md', loadNavbar: false, // !!!!!!! mergeNavbar: true, auto2top: true, @@ -239,8 +239,8 @@ subMaxLevel: 2, // sidebarrDisplayLevel: 1, alias: { - '/.*/_sidebar.md': '/All_Pages.md', - '/_sidebar.md' : '/All_Pages.md' + '/.*/_sidebar.md': '/all_pages.md', + '/_sidebar.md' : '/all_pages.md' }, tabs: { persist: true, diff --git a/public/Index.md b/public/index.md diff --git a/public/js/plugins/wikilink.js b/public/js/plugins/wikilink.js @@ -33,7 +33,7 @@ function plugin(hook, vm) { showText = `${linkAliasSps[1].trim()}`; } if (showText.split("|").length == 2) { showText = showText.split("|")[1]; } - hashPath = hashPath.replaceAll(' ', '_'); + hashPath = hashPath.replaceAll(' ', '_').toLowerCase(); topic = topic.replaceAll(' ', '-'); if (hashPath.length == 0) { hashPath = vm.route.path; diff --git a/public/meta/Markdown_flavour.md b/public/meta/Markdown_flavour.md @@ -1,42 +0,0 @@ -# wiki@al1-ce markdown flavour - -## Wikilinks -```md -[[Direct Link]] - - links to Direct_Link article in current directory - - https://wiki.al1-ce.dev/CURRENT_DIR/Direct_Link -[[Direct Link|Custom text]] - - same as above but with custom text -[[Direct Link#Header]] - - same as above but linking to certain header -[[/meta/Style Guidelines|Style Guidelines]] - - same as above but using absolute path - - https://wiki.al1-ce.dev/meta/Style_Guidelines -``` - -## Inline code -More of a way to colour (TODO add actual color syntax) normal text - -- k - {@k keyword} -- n - {@n number} -- f - {@f function} -- s - {@s string} -- c - {@c comment} -- t - {@t tag} - -Syntax (`\@` replace with `@`) - -```md -{\@k keyword} {\@n 255} -``` - -## Rename Header - -```md -# something header {#replace-with-this-id} - -[link to that header](#replace-with-this-id) -``` - -TODO: add bottom "hub" table syntax - diff --git a/public/meta/maintenance.md b/public/meta/maintenance.md @@ -0,0 +1,17 @@ +# Maintenance + +This article is a list of things/features I need to do/implement. + + +To add: +- bottom "wikihub" table syntax +- Footnotes +- Special "citation needed" footnote style + +To do: + +--- + +See also: +- [[maintenance]] + diff --git a/public/meta/markdown_flavour.md b/public/meta/markdown_flavour.md @@ -0,0 +1,40 @@ +# wiki@al1-ce markdown flavour + +## Wikilinks +```md +[[Direct Link]] + - links to direct_link article in current directory + - https://wiki.al1-ce.dev/CURRENT_DIR/direct_link +[[Direct Link|Custom text]] + - same as above but with custom text +[[Direct Link#Header]] + - same as above but linking to certain header +[[/meta/Style Guidelines|Style Guidelines]] + - same as above but using absolute path + - https://wiki.al1-ce.dev/meta/style_guidelines +``` + +## Inline code +More of a way to colour (TODO add actual color syntax) normal text + +- k - {@k keyword} +- n - {@n number} +- f - {@f function} +- s - {@s string} +- c - {@c comment} +- t - {@t tag} + +Syntax (`\@` replace with `@`) + +```md +{\@k keyword} {\@n 255} +``` + +## Rename Header + +```md +# something header {#replace-with-this-id} + +[link to that header](#replace-with-this-id) +``` + diff --git a/public/meta/Style_guidelines.md b/public/meta/style_guidelines.md diff --git a/public/wiki/Kagai_nihongo.md b/public/wiki/Kagai_nihongo.md @@ -0,0 +1,18 @@ +# Kagai nihongo (moon. foreign japanese) + +An unnamed phenomenon, most likely brought by [[imageboards]], where [[anon]] incorporate select japanese words into his speech. + +Notable examples: +- daijoubu - "not daijoubu", "it's daijoubu", replacement for "ok" +- desu - desu desu desu, a topic finisher, used everywhere +- genki - 200% genki, means healthy, active +- keikaku - just according to keikaku (plan) +- sasuga - "as expected of", "even the [...]" +- seiso - pure (proof needed) +- senpai - upperclassman, be it school class or social class + +--- + +See also: +- [[4chan]] + diff --git a/public/wiki/AA.md b/public/wiki/aa.md