Skip to content

Commit bdffb9a

Browse files
author
Slava Katiukha
committed
added devbox
1 parent 378af57 commit bdffb9a

File tree

6 files changed

+260
-3
lines changed

6 files changed

+260
-3
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@ target
88
.clover
99
.DS_Store
1010
*.pyc
11-
*.egg-info*
11+
*.egg-info*
12+
.devbox
13+
site
14+
3rdparty/*/build
15+
3rdparty/*/pyproject.toml
16+
plugins/*/build

Pipfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
markdown = {editable = true, path = "3rdparty/markdown"}
8+
pymdown-extensions = {editable = true, path = "3rdparty/pymdown-extensions"}
9+
mkdocs = {editable = true, path = "3rdparty/mkdocs"}
10+
GitPython = {editable = true, path = "3rdparty/GitPython"}
11+
mkdocs-versioned = {editable = true, path = "3rdparty/mkdocs-versioned"}
12+
markdown-tabs = {editable = true, path = "plugins/markdown-tabs"}
13+
14+
[dev-packages]
15+
16+
[requires]
17+
python_version = "3.5"

Pipfile.lock

Lines changed: 202 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

devbox.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"packages": {
3+
"python": "3.5.9",
4+
"pipenv": "2020.6.2"
5+
},
6+
"shell": {
7+
"init_hook": [
8+
""
9+
],
10+
"scripts": {
11+
"build": "pipenv run mkdocs build",
12+
"serve": "pipenv run mkdocs serve"
13+
}
14+
}
15+
}

devbox.lock

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"lockfile_version": "1",
3+
"packages": {
4+
5+
"last_modified": "2020-08-25T08:51:33Z",
6+
"resolved": "github:NixOS/nixpkgs/b9ba82ef8ad6d8997840332ca3a2986e360291e3#pipenv",
7+
"source": "devbox-search",
8+
"version": "2020.6.2"
9+
},
10+
11+
"last_modified": "2020-08-14T16:23:34Z",
12+
"plugin_version": "0.0.3",
13+
"resolved": "github:NixOS/nixpkgs/96745f0228359a71051a1d0bda4080e7ec134ade#python35",
14+
"source": "devbox-search",
15+
"version": "3.5.9"
16+
}
17+
}
18+
}

plugins/markdown-tabs/markdown-tabs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
from markdown.inlinepatterns import Pattern
66
from markdown.preprocessors import Preprocessor
77

8-
TABS_START = ur'^@@@\s*$'
9-
TABS_END = ur'^@@!\s*$'
8+
TABS_START = r'^@@@\s*$'
9+
TABS_END = r'^@@!\s*$'
1010
TABS_START_REGEX = re.compile(TABS_START)
1111
TABS_END_REGEX = re.compile(TABS_END)
1212

0 commit comments

Comments
 (0)