refactor(docs): pages dir renamed to docs
as the contents are docs, renamed to make obvious !26
This commit is contained in:
@ -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
|
@ -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
|
||||
|
@ -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' ]
|
||||
|
||||
|
Reference in New Issue
Block a user