New version of documentation by eroshenkoam · Pull Request #133 · allure-framework/allure-docs · GitHub
Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
8 changes: 8 additions & 0 deletions .editorconfig
40 changes: 40 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"prettier",
"prettier/react"
],
"plugins": ["react", "import", "jsx-a11y"],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"react/prop-types": 0,
"react/react-in-jsx-scope": "off",
"lines-between-class-members": ["error", "always"],
"padding-line-between-statements": "off",
"import/no-unresolved": "off",
"jsx-a11y/click-events-have-key-events": "off"
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 10,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"globals": {
"graphql": false
}
}
25 changes: 25 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name-template: '$NEXT_MINOR_VERSION'
tag-template: '$NEXT_MINOR_VERSION'
categories:
- title: '🚀 New Features'
labels:
- 'type:new feature'
- title: '🔬 Improvements'
labels:
- 'type:improvement'
- title: '🐞 Bug Fixes'
labels:
- 'type:bug'
- title: '⬆️ Dependency Updates'
labels:
- 'type:dependencies'

change-template: '* $TITLE (via #$NUMBER) - @$AUTHOR'
exclude-labels:
- 'type:internal'
template: |
$CHANGES

## 👀 Links

[Commits since $PREVIOUS_TAG](https://github.com/allure-framework/allure-docs/compare/$PREVIOUS_TAG...master)
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build

on:
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
branches:
- '*'
push:
branches:
- 'master'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 12.x
cache: 'yarn'
- name: Install Deps
run: yarn install
- name: Install Gatsby
run: npm install -g gatsby-cli
- name: Build Gatsby
run: gatsby build
14 changes: 14 additions & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Draft Release

on:
push:
branches:
- master

jobs:
update_draft_release:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30 changes: 30 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish

on:
release:
types: [ published ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 12.x
cache: 'yarn'
- name: Install Deps
run: yarn install
- name: Install Gatsby
run: npm install -g gatsby-cli
- name: Build Gatsby
run: gatsby build
- name: Docker Publish
uses: docker/build-push-action@v1
with:
registry: ghcr.io
tag_with_ref: true
repository: allure-framework/allure-docs
username: ${{ secrets.PACKAGES_USER }}
password: ${{ secrets.PACKAGES_PASS }}
21 changes: 15 additions & 6 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# Idea
.idea
*.iml
# GatsbyJS
node_modules
public
.cache

# MacOS
*DS_Store
*.env

# Gradle
.gradle
build
# IDE
.vscode/
.idea/
*.iml
*.log
reduxcache*
.generated.config.js
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"printWidth": 100,
"jsxBracketSameLine": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5"
}
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM nginx:1.12-alpine
FROM nginx:alpine

COPY build/docs/html5 /usr/share/nginx/html
COPY public /usr/share/nginx/html

EXPOSE 80
EXPOSE 80
40 changes: 0 additions & 40 deletions Jenkinsfile

This file was deleted.

30 changes: 0 additions & 30 deletions README.adoc

This file was deleted.

98 changes: 98 additions & 0 deletions README.md
Loading