Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrise committed May 16, 2024
1 parent 07eb116 commit e3fb84a
Show file tree
Hide file tree
Showing 24 changed files with 137 additions and 222 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "themes/techdoc"]
path = themes/techdoc
url = https://github.com/thingsym/hugo-theme-techdoc.git
[submodule "themes/hugo-book"]
path = themes/hugo-book
url = https://github.com/alex-shpak/hugo-book.git
56 changes: 0 additions & 56 deletions config.toml

This file was deleted.

112 changes: 112 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# hugo server --minify --themesDir ../.. --baseURL=http://0.0.0.0:1313/theme/hugo-book/

baseURL: https://docs.omnius-labs.com
title: Omnius Labs documentation
theme: hugo-book

# Book configuration
disablePathToLower: true
enableGitInfo: true

# Needed for mermaid/katex shortcodes
markup:
goldmark:
renderer:
unsafe: true
tableOfContents:
startLevel: 1

# Multi-lingual mode config
# There are different options to translate files
# See https://gohugo.io/content-management/multilingual/#translation-by-filename
# And https://gohugo.io/content-management/multilingual/#translation-by-content-directory
languages:
ja:
languageName: 日本語
weight: 1
en:
language2ame: English
weight: 2

# menu:
# # before: []
# after:
# - name: "Github"
# url: "https://github.com/alex-shpak/hugo-book"
# weight: 10
# - name: "Hugo Themes"
# url: "https://themes.gohugo.io/themes/hugo-book/"
# weight: 20

params:
# (Optional, default light) Sets color theme: light, dark or auto.
# Theme 'auto' switches between dark and light modes based on browser/os preferences
BookTheme: "light"

# (Optional, default true) Controls table of contents visibility on right side of pages.
# Start and end levels can be controlled with markup.tableOfContents setting.
# You can also specify this parameter per page in front matter.
BookToC: true

# (Optional, default favicon.png) Set the path to a favicon file.
# If the favicon is /static/favicon.png then the path would be favicon.png
# BookFavicon: "favicon.png"

# (Optional, default none) Set the path to a logo for the book.
# If the logo is /static/logo.png then the path would be logo.png
# BookLogo: /logo.png

# (Optional, default none) Set leaf bundle to render as side menu
# When not specified file structure and weights will be used
# BookMenuBundle: /menu

# (Optional, default docs) Specify root page to render child pages as menu.
# Page is resoled by .GetPage function: https://gohugo.io/functions/getpage/
# For backward compatibility you can set '*' to render all sections to menu. Acts same as '/'
BookSection: docs

# Set source repository location.
# Used for 'Last Modified' and 'Edit this page' links.
BookRepo: https://github.com/omnius-labs/docs

# (Optional, default 'commit') Specifies commit portion of the link to the page's last modified
# commit hash for 'doc' page type.
# Requires 'BookRepo' param.
# Value used to construct a URL consisting of BookRepo/BookCommitPath/<commit-hash>
# Github uses 'commit', Bitbucket uses 'commits'
# BookCommitPath: commit

# Enable "Edit this page" links for 'doc' page type.
# Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
# Edit path must point to root directory of repo.
BookEditPath: tree/main

# Configure the date format used on the pages
# - In git information
# - In blog posts
BookDateFormat: "2006-01-02"

# (Optional, default true) Enables search function with flexsearch,
# Index is built on fly, therefore it might slowdown your website.
# Configuration for indexing can be adjusted in i18n folder per language.
BookSearch: true

# (Optional, default true) Enables comments template on pages
# By default partals/docs/comments.html includes Disqus template
# See https://gohugo.io/content-management/comments/#configure-disqus
# Can be overwritten by same param in page frontmatter
BookComments: true

# /!\ This is an experimental feature, might be removed or changed at any time
# (Optional, experimental, default false) Enables portable links and link checks in markdown pages.
# Portable links meant to work with text editors and let you write markdown without {{< relref >}} shortcode
# Theme will print warning if page referenced in markdown does not exists.
BookPortableLinks: true

# /!\ This is an experimental feature, might be removed or changed at any time
# (Optional, experimental, default false) Enables service worker that caches visited pages and resources for offline use.
BookServiceWorker: true

# /!\ This is an experimental feature, might be removed or changed at any time
# (Optional, experimental, default false) Enables a drop-down menu for translations only if a translation is present.
BookTranslatedOnly: false
3 changes: 2 additions & 1 deletion content/_index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ title: "Home"

## Links

- https://docs.omnius-labs.com/
- Docs: https://docs.omnius-labs.com/
- GitHub: https://github.com/omnius-labs
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Lyrise"
weight: 1
---

# Lyrise

## Links

- Docs: https://lyrise.docs.omnius-labs.com/
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Axus"
weight: 1
---

# Axus

## Summary

- ファイル交換アプリ
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Lxna"
weight: 2
---

# Lxna

## Summary

- https://github.com/omnius-labs/lxna-cs/releases
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Opxs"
weight: 3
---

# Opxs

## Summary

- https://opxs-dev.omnius-labs.com/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Pewo"
weight: 4
---

# Pewo

## Summary

- ファイルマネージャー (スマホアプリ)
Expand Down
3 changes: 0 additions & 3 deletions content/js/data.en.md

This file was deleted.

3 changes: 0 additions & 3 deletions content/js/data.ja.md

This file was deleted.

7 changes: 0 additions & 7 deletions content/languages/_index.en.md

This file was deleted.

7 changes: 0 additions & 7 deletions content/languages/_index.ja.md

This file was deleted.

7 changes: 0 additions & 7 deletions content/organization/_index.ja.md

This file was deleted.

4 changes: 0 additions & 4 deletions content/search/_index.en.md

This file was deleted.

4 changes: 0 additions & 4 deletions content/search/_index.ja.md

This file was deleted.

14 changes: 0 additions & 14 deletions layouts/js/single.html

This file was deleted.

2 changes: 0 additions & 2 deletions layouts/partials/custom-head.html

This file was deleted.

9 changes: 9 additions & 0 deletions layouts/partials/docs/inject/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VXC0SN4BJL"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-VXC0SN4BJL');
</script>

0 comments on commit e3fb84a

Please sign in to comment.