Skip to content

Commit 2e709ad

Browse files
author
Slava Katiukha
committed
Update dependencies and add Taskfile.yaml
1 parent bdffb9a commit 2e709ad

File tree

5 files changed

+88
-16
lines changed

5 files changed

+88
-16
lines changed

Pipfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ name = "pypi"
77
markdown = {editable = true, path = "3rdparty/markdown"}
88
pymdown-extensions = {editable = true, path = "3rdparty/pymdown-extensions"}
99
mkdocs = {editable = true, path = "3rdparty/mkdocs"}
10-
GitPython = {editable = true, path = "3rdparty/GitPython"}
1110
mkdocs-versioned = {editable = true, path = "3rdparty/mkdocs-versioned"}
1211
markdown-tabs = {editable = true, path = "plugins/markdown-tabs"}
12+
GitPython = {editable = true, path = "3rdparty/GitPython"}
13+
gitdb = "==4.0.4"
1314

1415
[dev-packages]
1516

Pipfile.lock

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

Taskfile.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: "3"
2+
3+
tasks:
4+
serve:
5+
desc: "Start the development server"
6+
cmds:
7+
- pipenv run mkdocs serve
8+
9+
build:
10+
desc: "Build the current version of the documentation"
11+
cmds:
12+
- pipenv run mkdocs build
13+
14+
build-all:
15+
desc: "Build all versions described in the mkdocs.yml"
16+
cmds:
17+
- DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )";
18+
VERSION=$1;
19+
20+
pipenv run mkdocs_versioned --default-branch=$VERSION;
21+
cp issue_report.php site/;

devbox.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
22
"packages": {
3-
"python": "3.5.9",
4-
"pipenv": "2020.6.2"
3+
"python": "3.5.9",
4+
"pipenv": "2020.6.2",
5+
"go-task": "3.35.1"
56
},
67
"shell": {
78
"init_hook": [
8-
""
9+
""
910
],
1011
"scripts": {
11-
"build": "pipenv run mkdocs build",
12-
"serve": "pipenv run mkdocs serve"
12+
"serve": "task serve",
13+
"build": "task build",
14+
"build-all": "task build-all"
1315
}
1416
}
1517
}

devbox.lock

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,54 @@
11
{
22
"lockfile_version": "1",
33
"packages": {
4+
5+
"last_modified": "2024-03-22T11:26:23Z",
6+
"resolved": "github:NixOS/nixpkgs/a3ed7406349a9335cb4c2a71369b697cecd9d351#go-task",
7+
"source": "devbox-search",
8+
"version": "3.35.1",
9+
"systems": {
10+
"aarch64-darwin": {
11+
"outputs": [
12+
{
13+
"name": "out",
14+
"path": "/nix/store/8xlnzmvkpj03yw5xmsm6acz8w0rd3cr7-go-task-3.35.1",
15+
"default": true
16+
}
17+
],
18+
"store_path": "/nix/store/8xlnzmvkpj03yw5xmsm6acz8w0rd3cr7-go-task-3.35.1"
19+
},
20+
"aarch64-linux": {
21+
"outputs": [
22+
{
23+
"name": "out",
24+
"path": "/nix/store/n0gjrdfrjj5pxirp3v6w9qdw3r8d076r-go-task-3.35.1",
25+
"default": true
26+
}
27+
],
28+
"store_path": "/nix/store/n0gjrdfrjj5pxirp3v6w9qdw3r8d076r-go-task-3.35.1"
29+
},
30+
"x86_64-darwin": {
31+
"outputs": [
32+
{
33+
"name": "out",
34+
"path": "/nix/store/9a8myn2zjl17ws0h7pgw210mwvgd6dm8-go-task-3.35.1",
35+
"default": true
36+
}
37+
],
38+
"store_path": "/nix/store/9a8myn2zjl17ws0h7pgw210mwvgd6dm8-go-task-3.35.1"
39+
},
40+
"x86_64-linux": {
41+
"outputs": [
42+
{
43+
"name": "out",
44+
"path": "/nix/store/1xb7vmm16bhlq12lk1q3fhkcypv2p9kb-go-task-3.35.1",
45+
"default": true
46+
}
47+
],
48+
"store_path": "/nix/store/1xb7vmm16bhlq12lk1q3fhkcypv2p9kb-go-task-3.35.1"
49+
}
50+
}
51+
},
452
553
"last_modified": "2020-08-25T08:51:33Z",
654
"resolved": "github:NixOS/nixpkgs/b9ba82ef8ad6d8997840332ca3a2986e360291e3#pipenv",

0 commit comments

Comments
 (0)