Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions build-resources-with-pandoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ pandoc ./AWSインフラリソース命名規約.md --toc --reference-doc=${STYL
# OpenAPISpecification
cd ${ROOT_DIR}/documents/forOpenAPISpecification

pandoc ./OpenAPI_Specification_2.0.md -s --self-contained --number-sections --toc -t html5 -c ${CSS_PATH} -o ${RESOURCES_DIR}/OpenAPI_Specification_2.0.html
pandoc ./OpenAPI_Specification_2.0.md --toc --reference-doc=${STYLE_DOCX_PATH} -s -o ${RESOURCES_DIR}/OpenAPI_Specification_2.0.docx
# OpenAPI規約はmeramid.jsによるUML表示を行うため、フィルターを追加
pandoc ./OpenAPI_Specification_3.0.3.md -s --self-contained --number-sections --toc -t html5 -c ${CSS_PATH} --filter mermaid-filter -o ${RESOURCES_DIR}/OpenAPI_Specification_3.0.3.html
pandoc ./OpenAPI_Specification_3.0.3.md --toc --reference-doc=${STYLE_DOCX_PATH} -s --filter mermaid-filter -o ${RESOURCES_DIR}/OpenAPI_Specification_3.0.3.docx

# Git
cd ${ROOT_DIR}/documents/forGitBranch
Expand Down
4 changes: 2 additions & 2 deletions documents/forOpenAPISpecification/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ OAS は次のように複数のバージョンが存在します。
(これらのファイルは[Pandoc]を利用して作成しています。)

- [Markdown](https://github.com/future-architect/coding-standards/blob/master/documents/forOpenAPISpecification/OpenAPI_Specification_2.0.md)
- [HTML(Single File)](https://github.com/future-architect/coding-standards/blob/gh-pages/resources/OpenAPI_Specification_2.0.html) ([ブラウザで見る](https://future-architect.github.io/coding-standards/resources/OpenAPI_Specification_2.0.html))
- [Word](https://github.com/future-architect/coding-standards/raw/gh-pages/resources/OpenAPI_Specification_2.0.docx)
- [HTML(Single File)](https://github.com/future-architect/coding-standards/blob/gh-pages/resources/OpenAPI_Specification_2.0.html) ([ブラウザで見る](https://future-architect.github.io/coding-standards/resources/OpenAPI_Specification_3.0.3.html))
- [Word](https://github.com/future-architect/coding-standards/raw/gh-pages/resources/OpenAPI_Specification_3.0.3.docx)

[pandoc]: https://pandoc.org/

Expand Down
Loading