mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Merge branch 'current' into bump-1.19.0
This commit is contained in:
commit
2ef79caf31
27
.devcontainer/devcontainer.json
Normal file
27
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.183.0/containers/python-3
|
||||||
|
{
|
||||||
|
"name": "ESPHome - docs",
|
||||||
|
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.6",
|
||||||
|
"postCreateCommand": "pip3 install -r requirements.txt",
|
||||||
|
"forwardPorts": [8000],
|
||||||
|
"settings": {
|
||||||
|
"python.pythonPath": "/usr/local/bin/python",
|
||||||
|
"python.languageServer": "Pylance",
|
||||||
|
"python.linting.enabled": true,
|
||||||
|
"python.linting.pylintEnabled": true,
|
||||||
|
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
|
||||||
|
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
|
||||||
|
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
|
||||||
|
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
|
||||||
|
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
|
||||||
|
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
|
||||||
|
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
|
||||||
|
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
|
||||||
|
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint"
|
||||||
|
},
|
||||||
|
|
||||||
|
"extensions": [
|
||||||
|
"ms-python.python",
|
||||||
|
"ms-python.vscode-pylance"
|
||||||
|
]
|
||||||
|
}
|
6
Makefile
6
Makefile
@ -21,14 +21,16 @@ help:
|
|||||||
api:
|
api:
|
||||||
mkdir -p _build/html/api
|
mkdir -p _build/html/api
|
||||||
@if [ ! -d "$(ESPHOME_PATH)" ]; then \
|
@if [ ! -d "$(ESPHOME_PATH)" ]; then \
|
||||||
git clone --branch $(ESPHOME_REF) https://github.com/esphome/esphome.git $(ESPHOME_PATH); \
|
git clone --branch $(ESPHOME_REF) https://github.com/esphome/esphome.git $(ESPHOME_PATH) || \
|
||||||
|
git clone --branch beta https://github.com/esphome/esphome.git $(ESPHOME_PATH); \
|
||||||
fi
|
fi
|
||||||
ESPHOME_PATH=$(ESPHOME_PATH) doxygen Doxygen
|
ESPHOME_PATH=$(ESPHOME_PATH) doxygen Doxygen
|
||||||
|
|
||||||
netlify-api: netlify-dependencies
|
netlify-api: netlify-dependencies
|
||||||
mkdir -p _build/html/api
|
mkdir -p _build/html/api
|
||||||
@if [ ! -d "$(ESPHOME_PATH)" ]; then \
|
@if [ ! -d "$(ESPHOME_PATH)" ]; then \
|
||||||
git clone --branch $(ESPHOME_REF) https://github.com/esphome/esphome.git $(ESPHOME_PATH); \
|
git clone --branch $(ESPHOME_REF) https://github.com/esphome/esphome.git $(ESPHOME_PATH) || \
|
||||||
|
git clone --branch beta https://github.com/esphome/esphome.git $(ESPHOME_PATH); \
|
||||||
fi
|
fi
|
||||||
ESPHOME_PATH=$(ESPHOME_PATH) ../doxybin/doxygen Doxygen
|
ESPHOME_PATH=$(ESPHOME_PATH) ../doxybin/doxygen Doxygen
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user