Skip to content

Commit

Permalink
docs!: move the documentation files to docs/ dir
Browse files Browse the repository at this point in the history
  • Loading branch information
haru52 committed Sep 11, 2022
1 parent fdd5981 commit 2dd00bb
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/vale_styles/Vocab/Base/accept.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
actionlint
Base Template Repository
Base Template Repository Documentation
boilerplate
Commitizen
commitlint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: errata-ai/vale-action@v2
with:
files: >
["README.md", "CONTRIBUTING.md", "SECURITY.md",
["README.md", "docs/CONTRIBUTING.md", "docs/SECURITY.md",
".github/PULL_REQUEST_TEMPLATE.md", ".github/ISSUE_TEMPLATE"]
reporter: github-check
fail_on_error: true
Expand Down
4 changes: 2 additions & 2 deletions .markdownlintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules/
/.github/vale_styles/
/CHANGELOG.md
/CODE_OF_CONDUCT.md
/docs/CHANGELOG.md
/docs/CODE_OF_CONDUCT.md
15 changes: 13 additions & 2 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,19 @@ branches:
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
-
- "@semantic-release/changelog"
- changelogFile: docs/CHANGELOG.md
- "@semantic-release/npm"
- "@semantic-release/git"
-
- "@semantic-release/git"
# https://github.com/semantic-release/git#options
# Default: ['CHANGELOG.md', 'package.json', 'package-lock.json',
# 'npm-shrinkwrap.json']
- assets:
- docs/CHANGELOG.md
- package.json
- package-lock.json
- npm-shrinkwrap.json
- "@semantic-release/github"
preset: conventionalcommits
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ lint-npm:
npm run lint

lint-text:
vale README.md CONTRIBUTING.md SECURITY.md .github/*.md .github/ISSUE_TEMPLATE
vale README.md docs/CONTRIBUTING.md docs/SECURITY.md .github/*.md .github/ISSUE_TEMPLATE

lint-yml:
yamllint --strict .
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Test](https://github.com/haru52/base_template/actions/workflows/test.yml/badge.svg)](https://github.com/haru52/base_template/actions/workflows/test.yml)
[![Release](https://github.com/haru52/base_template/actions/workflows/release.yml/badge.svg)](https://github.com/haru52/base_template/actions/workflows/release.yml)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](docs/CODE_OF_CONDUCT.md)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](https://commitizen.github.io/cz-cli/)
[![semantic-release: conventionalcommits](https://img.shields.io/badge/semantic--release-conventionalcommits-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)

Expand Down Expand Up @@ -105,7 +105,7 @@ Please use [Base Template CLI][base-template-cli].

## Contributing

[Contributing Guideline](CONTRIBUTING.md)
[Contributing Guideline](docs/CONTRIBUTING.md)

<!-- vale Microsoft.Vocab = NO -->
## Author
Expand Down
Empty file removed docs/.keep
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Base Template Repository Documentation

- [Changelog](CHANGELOG.md)
- [Code of Conduct](CODE_OF_CONDUCT.md)
- [Contributing Guideline](CONTRIBUTING.md)
- [Security Policy](SECURITY.md)
File renamed without changes.

0 comments on commit 2dd00bb

Please sign in to comment.