Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Squashed 'antora-ui/' content from commit 3acbf71f3
git-subtree-dir: antora-ui git-subtree-split: 3acbf71f3ba4010d623d3f9a8bb0467d5bb6fe13
- Loading branch information
Showing
113 changed files
with
18,714 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
14
.eslintrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,14 @@ | ||
{ | ||
"extends": "standard", | ||
"rules": { | ||
"arrow-parens": ["error", "always"], | ||
"comma-dangle": ["error", { | ||
"arrays": "always-multiline", | ||
"objects": "always-multiline", | ||
"imports": "always-multiline", | ||
"exports": "always-multiline" | ||
}], | ||
"max-len": [1, 120, 2], | ||
"spaced-comment": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,3 @@ | ||
/build/ | ||
/node_modules/ | ||
/public/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,55 @@ | ||
image: node:10.14.2-stretch | ||
stages: [setup, verify, deploy] | ||
install: | ||
stage: setup | ||
cache: | ||
paths: | ||
- .cache/npm | ||
script: | ||
- &npm_install | ||
npm install --quiet --no-progress --cache=.cache/npm | ||
lint: | ||
stage: verify | ||
cache: &pull_cache | ||
policy: pull | ||
paths: | ||
- .cache/npm | ||
script: | ||
- *npm_install | ||
- node_modules/.bin/gulp lint | ||
bundle-stable: | ||
stage: deploy | ||
only: | ||
- master@antora/antora-ui-default | ||
cache: *pull_cache | ||
script: | ||
- *npm_install | ||
- node_modules/.bin/gulp bundle | ||
artifacts: | ||
paths: | ||
- build/ui-bundle.zip | ||
bundle-dev: | ||
stage: deploy | ||
except: | ||
- master | ||
cache: *pull_cache | ||
script: | ||
- *npm_install | ||
- node_modules/.bin/gulp bundle | ||
artifacts: | ||
expire_in: 1 day # unless marked as keep from job page | ||
paths: | ||
- build/ui-bundle.zip | ||
pages: | ||
stage: deploy | ||
only: | ||
- master@antora/antora-ui-default | ||
cache: *pull_cache | ||
script: | ||
- *npm_install | ||
- node_modules/.bin/gulp preview:build | ||
# FIXME figure out a way to avoid copying these files to preview site | ||
- rm -rf public/_/{helpers,layouts,partials} | ||
artifacts: | ||
paths: | ||
- public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,4 @@ | ||
{ | ||
"description": "Build tasks for the Antora default UI project", | ||
"flags.tasksDepth": 1 | ||
} |
1
.nvmrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,7 @@ | ||
{ | ||
"extends": "stylelint-config-standard", | ||
"rules": { | ||
"comment-empty-line-before": null, | ||
"no-descending-specificity": null, | ||
} | ||
} |
Oops, something went wrong.