docker/getting-started のドキュメントを編集してみる (MkDocs)
docker/getting-startedはMkDocsで作られている様子。
getting-started の構成
- docs : ドキュメントが入っている
- docs/index.md : tutorial へのリダイレクト設定
- docs/tutorial/index.md : tutorial の内容
- app/src/static/index.html : .mdから.htmlに変換されたもの
cd getting-started
mkdocs.yml
theme:
name: material
- language: en
+ language: ja
...
extra:
social:
- type: github-alt
link: https://github.com/docker/getting-started
+ search:
+ language: ja
docker-compose up
- http://localhost:8000 でリアルタイムに変更を確認できる。
# ビルド
docker build -t docker/getting-started .
# 起動
docker run -d -p 80:80 docker/getting-started
良いところ
- 空白を入れてもコードブロックとして認識してくれる。
- 幅の指定などができる
参考
Author And Source
この問題について(docker/getting-started のドキュメントを編集してみる (MkDocs)), 我々は、より多くの情報をここで見つけました https://qiita.com/tukiyo3/items/7622f1d07e9332fdc24f著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .