Skip to content

Commit 7935973

Browse files
authored
Merge pull request #65 from DanielDauner/dev_v0.0.7
Merge `dev_0.0.7` into main
2 parents 504edb9 + 72a6bd3 commit 7935973

File tree

489 files changed

+22476
-29630
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

489 files changed

+22476
-29630
lines changed

.github/workflows/deploy-docs.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Change this to your branch name (e.g., docs, dev, etc.)
7+
workflow_dispatch: # Allows manual triggering
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: "pages"
16+
cancel-in-progress: false
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- name: Set up Python
25+
uses: actions/setup-python@v4
26+
with:
27+
python-version: '3.11'
28+
29+
- name: Install dependencies
30+
run: |
31+
pip install uv
32+
uv pip install --system -e ".[docs]"
33+
34+
- name: Build Sphinx documentation
35+
run: |
36+
sphinx-build docs docs/_build -b dirhtml
37+
38+
- name: Upload artifact
39+
uses: actions/upload-pages-artifact@v4
40+
with:
41+
path: 'docs/_build'
42+
43+
deploy:
44+
environment:
45+
name: github-pages
46+
url: ${{steps.deployment.outputs.page_url}}
47+
runs-on: ubuntu-latest
48+
needs: build
49+
steps:
50+
- name: Deploy to GitHub Pages
51+
id: deployment
52+
uses: actions/deploy-pages@v4
53+
with:
54+
publish_dir: './docs/_build'

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@
2323
*.csv
2424
*.log
2525
*.mp4
26-
26+
exp/
2727

2828
# Sphinx documentation
2929
docs/_build/
3030
docs/build/
3131
_build/
3232
.doctrees/
33+
34+
jbwang_*

.pre-commit-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
rev: v5.0.0
44
hooks:
55
- id: check-added-large-files # prevents giant files from being committed.
6-
args: ['--maxkb=1024']
6+
args: ['--maxkb=5120']
77
- id: check-case-conflict # checks for files that would conflict in case-insensitive filesystems.
88
- id: check-merge-conflict # checks for files that contain merge conflict strings.
99
- id: check-yaml # checks yaml files for parseable syntax.
@@ -24,6 +24,7 @@ repos:
2424
- id: isort
2525
name: isort (python)
2626
args: ["--profile", "black", "--filter-files", '--line-length', '120']
27+
exclude: __init__.py$
2728
- repo: https://github.com/ambv/black
2829
rev: 25.1.0
2930
hooks:
@@ -36,6 +37,7 @@ repos:
3637
hooks:
3738
- id: autoflake
3839
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable']
40+
exclude: __init__.py$
3941
language_version: python3.12
4042
- repo: https://github.com/pycqa/flake8
4143
rev: 7.3.0

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
# d123
1+
<h1 align="center">
2+
<picture>
3+
<source media="(prefers-color-scheme: dark)" srcset="assets/logo/123D_logo_transparent_white.svg" width="500">
4+
<source media="(prefers-color-scheme: light)" srcset="assets/logo/123D_logo_transparent_black.svg" width="500">
5+
<img alt="Logo" src="assets/logo/123D_logo_transparent_black.svg" width="500">
6+
</picture>
7+
<h2 align="center">123D: One Library for 2D and 3D Driving Datasets</h1>
8+
</h1>
Lines changed: 97 additions & 0 deletions
Loading
Lines changed: 115 additions & 0 deletions
Loading

d123/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)