The CLI tool for generate reference documentation.
1. create config file (current: ./refdoc.yaml)
title: Informative Articles
desc: |
This document presents pages that were useful in the development.
このドキュメントは開発を進めるうえで有用だったページを紹介しています.
mark: 🥰
categories:
- name: Github Action
refs:
- link: + https://docs.github.com/ja/actions/creating-actions/creating-a-docker-container-action
desc: This is Github official document
- name: Golang
refs:
- link: https://abhinavg.net/posts/flexible-yaml/
- ++ https://pkg.go.dev/github.com/wi2L/fizz/markdown2, run action refdoc (testing: ./.github/workflows/check_it.yaml)
steps:
- uses: actions/checkout@v3
- uses: streamwest-1629/refdoc@0.1.0
with:
refdoc: refdoc.yaml
cache: refdoc/cache.json # default is refdoc/cache.json
markdown: refdoc/README.md # default is refdoc/README.md3. markdown file generated! (current: ./refdoc/README.md)
# Informative Articles
This document presents pages that were useful in the development.</br>このドキュメントは開発を進めるうえで有用だったページを紹介しています.</br>
## Github Action
* 🥰[Docker コンテナのアクションを作成する - GitHub Docs](https://docs.github.com/ja/actions/creating-actions/creating-a-docker-container-action)</br>This is Github official document
## Golang
* 🥰🥰[markdown package - github.com/wi2L/fizz/markdown - Go Packages](https://pkg.go.dev/github.com/wi2L/fizz/markdown)</br>
* [How to write flexible YAML shapes in Go](https://abhinavg.net/posts/flexible-yaml/)</br>The title for generated markdown file (default: IA - Informative Articles).
The description for generated markdown file.
This is star mark, you can add articles more useful than others (default: ⭐)
The category name. this value is required.
The link or description for informative articles. You can choice short expression and long expression to add it.
By the default, title is gotten from article page.
refs:
- ++ https://abcdefg.hij
- https://zxyvuts.rqpfirstly ++ expresses a number of star mark ⭐. description is default; means blank.
refs:
- link: ++ https://abcdefg.hij
desc: |
This is description.
Write how this reference is helpful in your words.| input name | required | default | description |
|---|---|---|---|
| refdoc | Yes | - | Filepath of your configuration file for refdoc (in this repository, ./refdoc.yaml). |
| cache | No | ./refdoc/cache.json |
Filepath of cache file in refdoc (in this repository, ./refdoc/cache.json). If it was empty, refdoc won't use cache, but cache file containing foundAt each your found references. We highly recommend for using cache file. |
| markdown | No | ./refdoc/README.md |
Filepath of refdoc's generated markdown file (in this repository, ./refdoc/README.md). |