From 6317d58a8d1c8e64bf53a687a57548c779c11fcc Mon Sep 17 00:00:00 2001 From: Yuji Ito Date: Sat, 13 Jan 2024 16:25:26 +0900 Subject: [PATCH] add documents Signed-off-by: Yuji Ito --- docs/assets/_custom.scss | 7 ++++++ docs/content/menu/index.en.md | 6 +++++ docs/content/menu/index.ja.md | 6 +++++ docs/content/menu/index.md | 6 ----- .../{crosslink.md => crosslink.en.md} | 0 docs/hugo.yaml | 22 ++++++++++++++---- docs/static/favicon.png | Bin 0 -> 323 bytes docs/static/logo.png | Bin 0 -> 323 bytes 8 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 docs/content/menu/index.en.md create mode 100644 docs/content/menu/index.ja.md delete mode 100644 docs/content/menu/index.md rename docs/content/posts/internal/{crosslink.md => crosslink.en.md} (100%) create mode 100644 docs/static/favicon.png create mode 100644 docs/static/logo.png diff --git a/docs/assets/_custom.scss b/docs/assets/_custom.scss index dea01100..96b967ab 100644 --- a/docs/assets/_custom.scss +++ b/docs/assets/_custom.scss @@ -14,6 +14,13 @@ body::before { z-index: 1; } +.book-brand img { + -ms-interpolation-mode: nearest-neighbor; + image-rendering: -webkit-optimize-contrast; + image-rendering: -moz-crisp-edges; + image-rendering: pixelated; +} + .markdown a:visited { color: #D9972F; } diff --git a/docs/content/menu/index.en.md b/docs/content/menu/index.en.md new file mode 100644 index 00000000..9aaf8796 --- /dev/null +++ b/docs/content/menu/index.en.md @@ -0,0 +1,6 @@ +--- +headless: true +--- + +- Internals + - [Crosslink]({{< ref "/posts/internal/crosslink" >}}) \ No newline at end of file diff --git a/docs/content/menu/index.ja.md b/docs/content/menu/index.ja.md new file mode 100644 index 00000000..2fce93f2 --- /dev/null +++ b/docs/content/menu/index.ja.md @@ -0,0 +1,6 @@ +--- +headless: true +--- + +- Internals + - [Crosslink]({{< ref path="/posts/internal/crosslink" lang="en" >}}) \ No newline at end of file diff --git a/docs/content/menu/index.md b/docs/content/menu/index.md deleted file mode 100644 index 5dd9925a..00000000 --- a/docs/content/menu/index.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -headless: true ---- - -- Internals - - [Crosslink]({{< relref "/posts/internal/crosslink" >}}) \ No newline at end of file diff --git a/docs/content/posts/internal/crosslink.md b/docs/content/posts/internal/crosslink.en.md similarity index 100% rename from docs/content/posts/internal/crosslink.md rename to docs/content/posts/internal/crosslink.en.md diff --git a/docs/hugo.yaml b/docs/hugo.yaml index 7f539eee..9ba1c7c4 100644 --- a/docs/hugo.yaml +++ b/docs/hugo.yaml @@ -1,11 +1,9 @@ -baseURL: 'https://www.oinari.app/' +baseURL: 'https://www.oinari.io/' title: 'Oinari' theme: 'hugo-book' enableGitInfo: true -languageCode: 'en-us' - menu: after: - name: 'Github' @@ -15,5 +13,21 @@ menu: params: BookTheme: 'auto' BookMenuBundle: '/menu' + BookLogo: 'logo.png' BookRepo: https://github.com/llamerada-jp/oinari/docs - customCss: 'css/custom.css' \ No newline at end of file + customCss: 'css/custom.css' + +defaultContentLanguage: en +defaultContentLanguageInSubdir: false + +languages: + en: + languageName: English + disabled: false + languageCode: 'en' + weight: 1 + ja: + languageName: 日本語 + disabled: false + languageCode: 'ja' + weight: 2 \ No newline at end of file diff --git a/docs/static/favicon.png b/docs/static/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..c3290586a927b2bfa44a2ec6164ef045fddc3a18 GIT binary patch literal 323 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|oCO|{#S9GG!XV7ZFl&wkP>{XE z)7O>#5jPL7Ios_=9G8GXk33x*Lp07O|LAA=qAGDwVn#zJBO8y(%(QcQh7(%4T%?PP z5}0)|YH~ThWjLRkx!GHxYTCU2eajj+d*@%DbNax6gm)Qzr{zR=3raI`-bigxz47o( z#%zflxi|hYZ2a})-{gW)0W&-44YQ_SpVR$}x20|Q_xXozitW2wAhd|RNdgG||NqZl z7*r56Vap;D=DZ2>ZZ*sC`@gq$y{5caf%&=H?IRi98}x1e%epeVM7cS#ooi(gXJ%%$ zVT)9F=lJd8WOn}tRTHK<+4gFmeZZs>;VgVpJwvmLGk9xH6OT=YVJ|bo75}{Grn_5% Qfxcz%boFyt=akR{02w!U)&Kwi literal 0 HcmV?d00001 diff --git a/docs/static/logo.png b/docs/static/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..c3290586a927b2bfa44a2ec6164ef045fddc3a18 GIT binary patch literal 323 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|oCO|{#S9GG!XV7ZFl&wkP>{XE z)7O>#5jPL7Ios_=9G8GXk33x*Lp07O|LAA=qAGDwVn#zJBO8y(%(QcQh7(%4T%?PP z5}0)|YH~ThWjLRkx!GHxYTCU2eajj+d*@%DbNax6gm)Qzr{zR=3raI`-bigxz47o( z#%zflxi|hYZ2a})-{gW)0W&-44YQ_SpVR$}x20|Q_xXozitW2wAhd|RNdgG||NqZl z7*r56Vap;D=DZ2>ZZ*sC`@gq$y{5caf%&=H?IRi98}x1e%epeVM7cS#ooi(gXJ%%$ zVT)9F=lJd8WOn}tRTHK<+4gFmeZZs>;VgVpJwvmLGk9xH6OT=YVJ|bo75}{Grn_5% Qfxcz%boFyt=akR{02w!U)&Kwi literal 0 HcmV?d00001