-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94ec8c7
commit 7a1a605
Showing
34 changed files
with
366 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"name": "PyArr", | ||
"dockerComposeFile": [ | ||
"docker-compose.workspace.yml" | ||
], | ||
"service": "pyarr-workspace", | ||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", | ||
"forwardPorts": [ | ||
"sonarr:8989", | ||
"radarr:7878", | ||
"readarr:8787", | ||
"lidarr:8686" | ||
], | ||
"initializeCommand": "echo 'Hello World!'", | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"[python]": { | ||
"diffEditor.ignoreTrimWhitespace": false, | ||
"editor.formatOnType": true, | ||
"editor.wordBasedSuggestions": "off", | ||
"editor.defaultFormatter": "ms-python.black-formatter", | ||
"autoDocstring.docstringFormat": "google", | ||
"editor.tabSize": 4 | ||
}, | ||
"[yaml]": { | ||
"editor.insertSpaces": true, | ||
"editor.tabSize": 2, | ||
"editor.autoIndent": "advanced", | ||
"diffEditor.ignoreTrimWhitespace": false | ||
}, | ||
"files.eol": "\n", | ||
"terminal.integrated.profiles.linux": { | ||
"zsh": { | ||
"path": "/bin/zsh" | ||
} | ||
}, | ||
"terminal.integrated.defaultProfile.linux": "zsh", | ||
"editor.formatOnPaste": false, | ||
"editor.formatOnSave": true, | ||
"editor.formatOnType": true, | ||
"files.trimTrailingWhitespace": true | ||
}, | ||
"extensions": [ | ||
"sourcery.sourcery", | ||
"njpwerner.autodocstring", | ||
"ms-python.flake8", | ||
"dbaeumer.vscode-eslint", | ||
"ms-python.isort", | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"ms-python.black-formatter", | ||
"GitHub.vscode-github-actions", | ||
"yzhang.markdown-all-in-one" | ||
], | ||
"runArgs": [ | ||
"--network=pyarr-dev" | ||
] | ||
} | ||
}, | ||
"remoteUser": "vscode", | ||
"postCreateCommand": "zsh ./.devcontainer/post-install.sh", | ||
"mounts": [ | ||
/* Re-use local SSH keys (useful if you use SSH keys for Git repo access or other SSH work)*/ | ||
"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached", | ||
/* Re-use local Git configuration*/ | ||
"source=${localEnv:HOME}/.gitconfig,target=/home/vscode/.gitconfig,type=bind,consistency=cached", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Sphinx Documentation Build and Publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- main # Adjust branch name as needed | ||
paths: | ||
- "docs/**" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.12 # Adjust Python version as needed | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install poetry nox | ||
pip install -r docs/requirements.txt | ||
- name: Build documentation | ||
run: | | ||
nox -s build_docs | ||
- name: Deploy to gh-pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./build/ |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.