Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 2 additions & 0 deletions .github/workflows/deploy-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Hatch
run: pip install hatch==1.15.1
- uses: actions/cache@v4
with:
key: mkdocs-${{ github.ref }}
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ with pyspacemouse.open(device_spec=device_spec) as device:
See [Custom Device Configuration](https://spacemouse.kubaandrysek.cz/mouseApi/#custom-device-configuration) for more details.

## How to write documentation
To install the required dependencies, run `pip install pyspacemouse[docs]`.
To install the required dependencies, run `make install-dev`, and please also install `doxygen` manually.

Edit `README.md` only in the root folder. The documentation is automatically generated from `README.md` and `docs/` folder.
To update documentation from root to `/docs` use macro `make fixRelativeLinkDocs` which will replace all relative links from `/` to `/docs` folder.
To update documentation from root to `/docs`, use `make docs-build`.

### Building the documentation
The documentation is built using [mkdocs](https://www.mkdocs.org/). To test the documentation locally, run `make docs-serve` and open [http://localhost:8000](http://localhost:8000) in your browser.
Expand Down
4 changes: 2 additions & 2 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ with pyspacemouse.open(device_spec=device_spec) as device:
See [Custom Device Configuration](https://spacemouse.kubaandrysek.cz/mouseApi/#custom-device-configuration) for more details.

## How to write documentation
To install the required dependencies, run `pip install pyspacemouse[docs]`.
To install the required dependencies, run `make install-dev`, and please also install `doxygen` manually.

Edit `README.md` only in the root folder. The documentation is automatically generated from `README.md` and `docs/` folder.
To update documentation from root to `/docs` use macro `make fixRelativeLinkDocs` which will replace all relative links from `/` to `/docs` folder.
To update documentation from root to `/docs`, use `make docs-build`.

### Building the documentation
The documentation is built using [mkdocs](https://www.mkdocs.org/). To test the documentation locally, run `make docs-serve` and open [http://localhost:8000](http://localhost:8000) in your browser.
Expand Down
2 changes: 2 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ pipx install hatch==1.15.1 pre-commit

If you're not familiar with pipx, it lets you install python tools into isolated environments in `~/.local`.

For building the documentation locally, you will also need `doxygen` installed and on the path.

## Used In

- [TeleMoMa](https://github.com/UT-Austin-RobIn/telemoma) - A Modular and Versatile Teleoperation System for Mobile Manipulation
Expand Down