refactor(docs): pages dir renamed to docs

as the contents are docs, renamed to make obvious

!26
This commit is contained in:
2023-05-23 09:03:30 +09:30
parent 71a335c266
commit 7c385b7552
23 changed files with 9 additions and 5 deletions

View File

@ -36,13 +36,13 @@
- when: never
.Lint_Markdown_Pages:
.Lint_Markdown_Docs:
variables:
MDLINT_PATHS: "pages/*.md pages/**/*.md pages/**/**/*.md pages/**/**/**/*.md pages/**/**/**/**/**/*.md #CHANGELOG.md !gitlab-ci !website-template"
MDLINT_PATHS: "docs/*.md docs/**/*.md docs/**/**/*.md docs/**/**/**/*.md docs/**/**/**/**/**/*.md #CHANGELOG.md !gitlab-ci !website-template"
MD_LINT_CONFIG_PATH: "$CI_PROJECT_DIR/website-template"
extends: .Lint_Markdown
rules:
- if: '$CI_COMMIT_BRANCH'
exists:
- "pages/index.md"
- "docs/index.md"
- when: never

View File

@ -1,8 +1,10 @@
INHERIT: website-template/mkdocs.yml
docs_dir: 'docs'
repo_name: Gitlab-CI
repo_url: https://gitlab.com/nofusscomputing/projects/gitlab-ci
edit_uri: '/-/ide/project/nofusscomputing/projects/gitlab-ci/edit/development/-/pages/'
edit_uri: '/-/ide/project/nofusscomputing/projects/gitlab-ci/edit/development/-/docs/'
nav:
- Home: index.md

View File

@ -8,10 +8,12 @@ include:
Website.Lint:
extends: .Lint_Markdown_Pages
extends: .Lint_Markdown_Docs
Website.Build:
variables:
MKDOCS_SOURCE_PATH: docs
extends: .MKDocs_Build
needs: [ 'Website.Lint' ]