Skip to content

Commit

Permalink
Merge branch 'main' into brent/cam_ori_tool
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi authored Jan 4, 2025
2 parents 2085d76 + e065643 commit 9139da0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
sphinx-build docs/source docs/build -b dirhtml
# Get version from pyproject.toml.
- name: Override subdirectory to `latest/` for pushes
- name: Override subdirectory to `main/` for pushes
run: |
echo "DOCS_SUBDIR=latest" >> $GITHUB_ENV
echo "DOCS_SUBDIR=main" >> $GITHUB_ENV
if: github.event_name == 'push'

# Deploy to version-dependent subdirectory.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</h1>

<p align="left">
<img alt="pyright" src="https://github.com/nerfstudio-project/viser/workflows/pyright/badge.svg?branch=main" />
<img alt="typescript-compile" src="https://github.com/nerfstudio-project/viser/workflows/typescript-compile/badge.svg?branch=main" />
<img alt="pyright" src="https://github.com/nerfstudio-project/viser/workflows/pyright/badge.svg" />
<img alt="typescript-compile" src="https://github.com/nerfstudio-project/viser/workflows/typescript-compile/badge.svg" />
<a href="https://pypi.org/project/viser/">
<img alt="codecov" src="https://img.shields.io/pypi/pyversions/viser" />
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_templates/sidebar/brand.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
.reverse();
console.log(versions);
let htmlString = "<ul style='margin: 0.5rem 0 0 0'>";
htmlString += `<li><a href="https://viser.studio/latest">latest</a></li>`;
htmlString += `<li><a href="https://viser.studio/main">main</a></li>`;
for (let version of versions) {
htmlString += `<li><a href="https://viser.studio/versions/${version}">${version}</a></li>`;
}
Expand Down
7 changes: 2 additions & 5 deletions docs/source/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# viser

|mypy| |nbsp| |pyright| |nbsp| |typescript| |nbsp| |versions|
|pyright| |nbsp| |typescript| |nbsp| |versions|

**viser** is a library for interactive 3D visualization in Python.

Expand Down Expand Up @@ -89,10 +89,7 @@ URL (default: `http://localhost:8080`).
.. |build| image:: https://github.com/nerfstudio-project/viser/workflows/build/badge.svg
:alt: Build status icon
:target: https://github.com/nerfstudio-project/viser
.. |mypy| image:: https://github.com/nerfstudio-project/viser/workflows/mypy/badge.svg?branch=main
:alt: Mypy status icon
:target: https://github.com/nerfstudio-project/viser
.. |pyright| image:: https://github.com/nerfstudio-project/viser/workflows/pyright/badge.svg?branch=main
.. |pyright| image:: https://github.com/nerfstudio-project/viser/workflows/pyright/badge.svg?
:alt: Mypy status icon
:target: https://github.com/nerfstudio-project/viser
.. |typescript| image:: https://github.com/nerfstudio-project/viser/workflows/typescript-compile/badge.svg
Expand Down
2 changes: 1 addition & 1 deletion src/viser/client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ function ViserLogo() {
</Anchor>
&nbsp;&nbsp;&bull;&nbsp;&nbsp;
<Anchor
href="https://viser.studio/latest"
href="https://viser.studio/main"
target="_blank"
fw="600"
style={{ "&:focus": { outline: "none" } }}
Expand Down

0 comments on commit 9139da0

Please sign in to comment.