Skip to content

Commit b4c9b1b

Browse files
committed
Added support for Windows, cmd and Powershell
1 parent 3502053 commit b4c9b1b

File tree

6 files changed

+24
-4
lines changed

6 files changed

+24
-4
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
site
22
*.pyc
33
*.jsc
4-
build
4+
build
5+
avalon-core
6+
core

build_docker.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@echo off
2+
docker build -t avalon/docs .

build_docker.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
& docker build -t avalon/docs .

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Tornado>=4.0.0,<5.0.0
22
mkdocs==0.16.3
3-
pymdown-extensions==3.5
3+
pymdown-extensions==6.0
44
pymongo==3.4.0
5-
Pygments==2.2.0
5+
Pygments==2.4.2
66
pyblish-base==1.4.4
7-
watchdog==0.8.3
7+
watchdog==0.9.0

serve_docker.bat

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@echo off
2+
docker run ^
3+
-ti ^
4+
--rm ^
5+
--name avalon-docs ^
6+
-v "%cd%:/workspace" ^
7+
-v %AVALON_CORE%:/pythonpath ^
8+
-p 8000:8000 avalon/docs

serve_docker.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
docker run `
2+
-ti `
3+
--rm `
4+
--name avalon-docs `
5+
-v "$(pwd):/workspace" `
6+
-v $env:AVALON_CORE:/pythonpath `
7+
-p 8000:8000 avalon/docs

0 commit comments

Comments
 (0)