Skip to content

Commit 0a13166

Browse files
committed
feat: add dev container and watch mode
1 parent 249f9ac commit 0a13166

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

.devcontainer.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "mixxx",
3+
"image":"mcr.microsoft.com/devcontainers/python",
4+
"postCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && pip3 install pre-commit && pip3 install -r requirements.txt && pre-commit install --overwrite --install-hooks",
5+
"customizations": {
6+
"vscode": {
7+
"extensions": [
8+
"streetsidesoftware.code-spell-checker",
9+
"GitHub.vscode-pull-request-github",
10+
"eamodio.gitlens"
11+
]
12+
}
13+
},
14+
"forwardPorts": [
15+
8000
16+
]
17+
}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
build
77
source/locale/pot/.doctrees
88
/source/locale/en_US
9+
.venv
10+
sphinx-mixxx/sphinx_mixxx.egg-info/*

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ help:
5454
clean:
5555
rm -rf $(BUILDDIR)/*
5656

57+
watch:
58+
sphinx-autobuild source build/html
59+
5760
html:
5861
$(SPHINXBUILD) source $(BUILDDIR)/html -b html $(ALLSPHINXOPTS)
5962
@echo

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ transifex-client
88
sphinxcontrib-svg2pdfconverter
99
sphinx-rtd-theme
1010
sphinx-multiversion
11+
sphinx-autobuild==2024.10.3
1112
./sphinx-mixxx

0 commit comments

Comments
 (0)