Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit bc06d3e

Browse files
author
Artem Eroshenko
authored
new version of documentation (via #133)
1 parent 59e6789 commit bc06d3e

File tree

320 files changed

+30259
-4626
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

320 files changed

+30259
-4626
lines changed

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true

.eslintrc.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"extends": [
3+
"eslint:recommended",
4+
"plugin:import/errors",
5+
"plugin:react/recommended",
6+
"plugin:jsx-a11y/recommended",
7+
"prettier",
8+
"prettier/react"
9+
],
10+
"plugins": ["react", "import", "jsx-a11y"],
11+
"settings": {
12+
"react": {
13+
"version": "detect"
14+
}
15+
},
16+
"rules": {
17+
"react/prop-types": 0,
18+
"react/react-in-jsx-scope": "off",
19+
"lines-between-class-members": ["error", "always"],
20+
"padding-line-between-statements": "off",
21+
"import/no-unresolved": "off",
22+
"jsx-a11y/click-events-have-key-events": "off"
23+
},
24+
"parser": "babel-eslint",
25+
"parserOptions": {
26+
"ecmaVersion": 10,
27+
"sourceType": "module",
28+
"ecmaFeatures": {
29+
"jsx": true
30+
}
31+
},
32+
"env": {
33+
"es6": true,
34+
"browser": true,
35+
"node": true
36+
},
37+
"globals": {
38+
"graphql": false
39+
}
40+
}

.github/release-drafter.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name-template: '$NEXT_MINOR_VERSION'
2+
tag-template: '$NEXT_MINOR_VERSION'
3+
categories:
4+
- title: '🚀 New Features'
5+
labels:
6+
- 'type:new feature'
7+
- title: '🔬 Improvements'
8+
labels:
9+
- 'type:improvement'
10+
- title: '🐞 Bug Fixes'
11+
labels:
12+
- 'type:bug'
13+
- title: '⬆️ Dependency Updates'
14+
labels:
15+
- 'type:dependencies'
16+
17+
change-template: '* $TITLE (via #$NUMBER) - @$AUTHOR'
18+
exclude-labels:
19+
- 'type:internal'
20+
template: |
21+
$CHANGES
22+
23+
## 👀 Links
24+
25+
[Commits since $PREVIOUS_TAG](https://github.com/allure-framework/allure-docs/compare/$PREVIOUS_TAG...master)

.github/workflows/build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build
2+
3+
on:
4+
pull_request:
5+
types: [synchronize, opened, reopened, ready_for_review]
6+
branches:
7+
- '*'
8+
push:
9+
branches:
10+
- 'master'
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Setup Node
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: 12.x
21+
cache: 'yarn'
22+
- name: Install Deps
23+
run: yarn install
24+
- name: Install Gatsby
25+
run: npm install -g gatsby-cli
26+
- name: Build Gatsby
27+
run: gatsby build
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Draft Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
update_draft_release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: release-drafter/release-drafter@v5
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types: [ published ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Setup Node
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: 12.x
16+
cache: 'yarn'
17+
- name: Install Deps
18+
run: yarn install
19+
- name: Install Gatsby
20+
run: npm install -g gatsby-cli
21+
- name: Build Gatsby
22+
run: gatsby build
23+
- name: Docker Publish
24+
uses: docker/build-push-action@v1
25+
with:
26+
registry: ghcr.io
27+
tag_with_ref: true
28+
repository: allure-framework/allure-docs
29+
username: ${{ secrets.PACKAGES_USER }}
30+
password: ${{ secrets.PACKAGES_PASS }}

.gitignore

100644100755
Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1-
# Idea
2-
.idea
3-
*.iml
1+
# GatsbyJS
2+
node_modules
3+
public
4+
.cache
5+
6+
# MacOS
7+
*DS_Store
8+
*.env
49

5-
# Gradle
6-
.gradle
7-
build
10+
# IDE
11+
.vscode/
12+
.idea/
13+
*.iml
14+
*.log
15+
reduxcache*
16+
.generated.config.js

.prettierrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"printWidth": 100,
3+
"jsxBracketSameLine": false,
4+
"singleQuote": true,
5+
"tabWidth": 2,
6+
"trailingComma": "es5"
7+
}

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
FROM nginx:1.12-alpine
1+
FROM nginx:alpine
22

3-
COPY build/docs/html5 /usr/share/nginx/html
3+
COPY public /usr/share/nginx/html
44

5-
EXPOSE 80
5+
EXPOSE 80

Jenkinsfile

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)