8000 Migrate to mkdocs. (#325) · ra2003/dry-python.github.io@d202ef4 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit d202ef4

Browse files
authored
Migrate to mkdocs. (dry-python#325)
* Install mkdocs. Uninstall Lektor. * Migrate content to the mkdocs. * Remove Lektor project. * Migrate to Python 3.8. * Setup remarklint. * Setup pre-commit. * Setup prettier. * Setup yamllint hook. * Setup yamllint. * Remove unused metadata. * Setup vale tool. * Setup invoke tool. * Setup Google Analytics. * Correct eslint config according to the prettier tool. * Correct stylelint config according to the prettier tool. * Setup black and flake8 pre-commit hooks. * Merge slides and root webpack projects. * Setup doctest. * Fix doctests. * Setup Azure Pipeline. * Add empty CSS file to run linter. * Correct azure pipeline name. * Add poetry to PATH. * Ignore pycache directory. * Split too long line in shell script. * Add deploy invoke task. * Correct bash script syntax written in the Yaml file. * Custom domain support.
1 parent 2b0c841 commit d202ef4

File tree

111 files changed

+11949
-19607
lines changed

Some content is hidden

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

111 files changed

+11949
-19607
lines changed

.eslintrc.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
module.exports = {
2-
extends: 'airbnb-base',
2+
extends: "prettier",
33
env: {
44
browser: true
55
},
6-
parser: 'babel-eslint',
7-
plugins: [
8-
'babel',
9-
],
6+
parser: "babel-eslint",
7+
plugins: ["babel"],
108
rules: {
11-
'babel/semi': 1,
12-
},
9+
"babel/semi": 1
10+
}
1311
};

.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
max-line-length = 88

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
[#]*[#]
2-
assets/static/
3-
node_modules/
41
*.egg-info
52
*.pyc
63
*.pyo
74
*~
5+
[#]*[#]
6+
__pycache__/
7+
node_modules/
8+
site/

.pre-commit-config.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
repos:
3+
- repo: https://github.com/pre-commit/pre-commit-hooks
4+
rev: v2.4.0
5+
hooks:
6+
- id: trailing-whitespace
7+
- id: end-of-file-fixer
8+
- id: file-contents-sorter
9+
files: .gitignore
10+
- repo: https://github.com/asottile/pyupgrade
11+
rev: v1.26.1
12+
hooks:
13+
- id: pyupgrade
14+
- repo: https://github.com/asottile/reorder_python_imports
15+
rev: v1.9.0
16+
hooks:
17+
- id: reorder-python-imports
18+
- repo: https://github.com/psf/black
19+
rev: 19.10b0
20+
hooks:
21+
- id: black
22+
- repo: https://github.com/prettier/prettier
23+
rev: 1.19.1
24+
hooks:
25+
- id: prettier
26+
- repo: https://github.com/PyCQA/flake8
27+
rev: 3.7.9
28+
hooks:
29+
- id: flake8

.remarkrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"plugins": [
3+
"remark-preset-lint-recommended",
4+
["remark-lint-list-item-indent", "space"]
5+
]
6+
}

.travis.yml

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

.vale.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[*.md]
2+
BasedOnStyles = proselint, write-good, Joblint

.yamllint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
extends: default
23

34
ignore: |

app/.babelrc

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

app/dry-python/app/gitterSidecar.js

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

app/dry-python/app/highlight.js

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

app/dry-python/app/stimulus.js

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

app/dry-python/app/turbolinks.js

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

app/dry-python/controllers/navbar_controller.js

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

app/dry-python/index.css

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

app/dry-python/index.js

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

app/dry-python/styles/header.css

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

app/dry-python/styles/progress-bar.css

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

0 commit comments

Comments
 (0)
0