Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
dfd526d
remake docs
lythx Mar 10, 2026
e355381
move contributing up in the sidebar order and make it open by default
lythx Mar 10, 2026
219f53c
fix problems in setup docs
lythx Mar 10, 2026
e252f13
remove unneeded sections and improve contributing docs
lythx Mar 10, 2026
a70d9ff
remove json schema todo
lythx Mar 10, 2026
40d7fdc
fix astro config indent
lythx Mar 10, 2026
01fb65f
fix docker slurm guide whitespaces after :::
lythx Mar 10, 2026
5a2cadb
change base url from /docs to /for_developers
lythx Mar 10, 2026
9391216
fix base path and add favicon
lythx Mar 10, 2026
cbfe2ba
add setup instructions in readme
lythx Mar 10, 2026
b9be01c
add a 404 page to fix the gh actions fail
lythx Mar 10, 2026
33a97b5
remove unneeded public folder
lythx Mar 10, 2026
51a5335
change remaining TODOs to informational Work In Progress components
lythx Mar 10, 2026
6afb6b9
fix GHA build error by disabling 404 page check
lythx Mar 10, 2026
5b0f0a8
fix GH Actions error by overriding zod version
lythx Mar 10, 2026
8f81f71
fix GH Actions build fail by downgrading astrojs
lythx Mar 10, 2026
b94d41e
fix name and version in package.json
lythx Mar 10, 2026
385e060
change front docker instructions to use docker compose
lythx Mar 10, 2026
4c6672f
fix link card hrefs
lythx Mar 11, 2026
0510fe6
fix base edit url in astro config
lythx Mar 11, 2026
3ff3e1f
fix required node version in readme
lythx Mar 11, 2026
7b4ed6d
move favicon to public/ dir
lythx Mar 11, 2026
e0ba5cd
add submodule update command to docker front setups
lythx Mar 11, 2026
91db2d3
fix localhost port in docker celery tutorial
lythx Mar 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
Expand Down
68 changes: 7 additions & 61 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
# Single deploy job since we're just deploying
deploy:
runs-on: ubuntu-latest
env:
POETRY_VIRTUALENVS_CREATE: false
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand All @@ -36,73 +34,21 @@ jobs:
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v6
- name: Setup Node.js
uses: actions/setup-node@v4
with:
python-version: '3.12'
- name: Temporarily rename pyproject from for_developers
run: |
mv pyproject.toml pyproject_docs.toml
mv poetry.lock poetry_docs.lock
- name: Clone backend repo
uses: actions/checkout@v6
with:
repository: 'yaptide/yaptide'
path: 'backend_repository'
sparse-checkout: |
yaptide/
tests/
yaptide_tester/
pyproject.toml
poetry.lock
pytest.ini
- name: move yaptide and tests to root dir wiht dependencies specification
run: |
mv backend_repository/yaptide .
mv backend_repository/tests .
mv backend_repository/yaptide_tester .
mv backend_repository/pyproject.toml .
mv backend_repository/poetry.lock .
mv backend_repository/pytest.ini .
- name: Update pip and install poetry
run: |
python3 -m pip install --upgrade pip
pip install poetry
- name: Install dependencies for production
run: poetry install --only main
- name: Install dependencies for tests
run: poetry install --only test
- name: Get demo simulators for Linux
run: poetry run python yaptide/admin/simulators.py download-shieldhit --dir bin/
timeout-minutes: 2
- name: Run tests
uses: nick-fields/retry@v3
with:
timeout_minutes: 25
max_attempts: 10
retry_on: error
command: poetry run pytest --cov-report html:htmlcov --cov=yaptide
- name: Remove unused pyproject and dependencies
run: |
rm pyproject.toml
rm poetry.lock
- name: Bring back original dependencies
run: |
mv pyproject_docs.toml pyproject.toml
mv poetry_docs.lock poetry.lock
- name: Install dependencies for documentation
run: |
poetry lock
poetry install
node-version: '20'
- name: Install dependencies
run: npm install
- name: Build site
run: mkdocs build
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact if on main
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v4
with:
path: 'site'
path: 'dist'
- name: Deploy to GitHub Pages if on main
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
id: deployment
Expand Down
22 changes: 21 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
/site
# build output
dist/
# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*


# environment variables
.env
.env.production

# macOS-specific files
.DS_Store
4 changes: 4 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
11 changes: 11 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
Loading
Loading