GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shouldbee/docs: ShouldBeeのユーザドキュメント

BranchesTags
Open more actions menu

Latest commit

 

History

218 Commits
218 Commits

Folders and files

NameName
Last commit message
Last commit date
archetypes
archetypes
 
 
bin
bin
 
 
content
content
 
 
layouts
layouts
 
 
resources
resources
 
 
static
static
 
 
themes
themes
 
 
.gitignore
.gitignore
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
config.yaml
config.yaml
 
 

Repository files navigation

ShouldBee docs

これはShouldBeeのドキュメント用リポジトリです。

ドキュメント規約

  1. 内部リンクのURLは/で終えること。
  2. 公開する画像や添付ファイルはstaticフォルダに置く。

ドキュメントを書くとき

次のコマンドを実行するとローカルでHTTPサーバが立ち上がります。localhost:1313にアクセスすることでプレビューを見ることができます。

make server

次のコマンドで新規ドキュメント作成ができます。

./bin/hugo new <path>/<filename>.md

パーツを書くとき

複数のページで全く同じ文章を書く場合は、メンテナンス性の観点からコピペするのではなく、パーツ化して再利用できるようにします。

パーツはcontents/partsディレクトリ配下に作成します。

次のコマンドでパーツの新規作成ができます。

./bin/hugo new parts/<path>/<filename>.md

パーツを読み込むには、本文の中で次のshortcodeを記述します。

{{% include "parts/<path>/<filename>.md" %}}

リンクを貼るとき

shortcode linkを使うと、記事のタイトルと同じ名前のリンクを書くことができます。 リンク先の記事タイトルが変わったときに、リンク元の記事を変更する必要がないのが、このshortcodeの利点です。

{{% link "<filename>" %}}

例えば、以下を記事の本文に書くと、

{{% link "steps/PressKey.md" %}}

次のMarkdownとして処理されます。

[「キー」キーを押す](/steps/PressKey/)

Translating Pages to English

To translate a Japanese page to English, at first copy the Japanese page into content/en directory. The file path of an English translation must correspond to the Japanese page's path. For example, the "steps/ClickLink.md" page's translation must be named "en/steps/ClickLink.md":

content/en/steps/ClickLink.md ... English translation page
content/steps/ClickLink.md    ... Japanese page

By keeping this rule, the translation link appears on the top of the page.

アップロードするとき

権限のある人が次のコマンドを実行すると、ドキュメントのHTMLがビルドされたのち、AWSのS3にアップロードできます。

make upload

元素材

画像などの元素材は./resourcesフォルダに置いてあります。

About

ShouldBeeのユーザドキュメント

docs.shouldbee.at/

Resources

Readme
Activity
Custom properties

Stars

1 star

Watchers

4 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.