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
|
- when: never
|
||||||
|
|
||||||
|
|
||||||
.Lint_Markdown_Pages:
|
.Lint_Markdown_Docs:
|
||||||
variables:
|
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"
|
MD_LINT_CONFIG_PATH: "$CI_PROJECT_DIR/website-template"
|
||||||
extends: .Lint_Markdown
|
extends: .Lint_Markdown
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_BRANCH'
|
- if: '$CI_COMMIT_BRANCH'
|
||||||
exists:
|
exists:
|
||||||
- "pages/index.md"
|
- "docs/index.md"
|
||||||
- when: never
|
- when: never
|
@ -1,8 +1,10 @@
|
|||||||
INHERIT: website-template/mkdocs.yml
|
INHERIT: website-template/mkdocs.yml
|
||||||
|
|
||||||
|
docs_dir: 'docs'
|
||||||
|
|
||||||
repo_name: Gitlab-CI
|
repo_name: Gitlab-CI
|
||||||
repo_url: https://gitlab.com/nofusscomputing/projects/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:
|
nav:
|
||||||
- Home: index.md
|
- Home: index.md
|
||||||
|
@ -8,10 +8,12 @@ include:
|
|||||||
|
|
||||||
|
|
||||||
Website.Lint:
|
Website.Lint:
|
||||||
extends: .Lint_Markdown_Pages
|
extends: .Lint_Markdown_Docs
|
||||||
|
|
||||||
|
|
||||||
Website.Build:
|
Website.Build:
|
||||||
|
variables:
|
||||||
|
MKDOCS_SOURCE_PATH: docs
|
||||||
extends: .MKDocs_Build
|
extends: .MKDocs_Build
|
||||||
needs: [ 'Website.Lint' ]
|
needs: [ 'Website.Lint' ]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user