Skip to content

Commit

Permalink
Merge pull request #280 from LinkunGao/major/v2.0.0
Browse files Browse the repository at this point in the history
update readme and action
  • Loading branch information
LinkunGao authored Oct 5, 2023
2 parents 3270a7f + 670d0fd commit dd50441
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/algolia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
run: cd apidocs
- name: Get the content of algolia.json as config
id: algolia_config
run: echo "config=$(cat crawlerConfig.json | jq -r tostring)" >> $GITHUB_OUTPUT
run: |
cd apidocs/
echo "config=$(cat crawlerConfig.json | jq -r tostring)" >> $GITHUB_OUTPUT
- name: Push indices to Algolia
uses: signcl/docsearch-scraper-action@master
env:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# copper3d_visualisation
# copper3d

[![NPM Package][npm]][npm-url]
[![Read the Docs][readthedocs]][readthedocs-url]
Expand Down Expand Up @@ -93,7 +93,7 @@ function loadModel(url, name) {

---

[npm]: https://img.shields.io/npm/v/copper3d_visualisation
[npm]: https://img.shields.io/npm/v/copper3d
[npm-url]: https://www.npmjs.com/package/copper3d
[readthedocs]: https://img.shields.io/readthedocs/copper3d_visualisation
[readthedocs-url]: https://copper3d-visualisation.readthedocs.io/en/latest/
Expand Down
10 changes: 5 additions & 5 deletions docs/source/release/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -1875,15 +1875,15 @@ sceneIn?.loadNrrd(url, loadBar1, false, funa, opts);
copperScene.loadOBJ(url: string, callback?: (mesh: THREE.Group) => void, opts?:{color:string});
```

# Release v1.15.20
## Release v1.15.20

- export `throttle` function

```ts
throttle(callback: (event: MouseEvent) => void, wait: number): (event: MouseEvent) => void
```

# Release v1.15.21
## Release v1.15.21

- Optimise Nrrd_tools GUI function
- Changed their name
Expand Down Expand Up @@ -1913,11 +1913,11 @@ throttle(callback: (event: MouseEvent) => void, wait: number): (event: MouseEven
nrrdTools.setPencilIconUrls(urls);
```

# Release v1.15.22
## Release v1.15.22

- add a getSphereData in nrrdTools draw function
- for this function we can get the sphere raduis and the sphere origin in mm.

# Release v1.15.23
## Release v1.15.23

- fixed the cursor not center issue.
- fixed the cursor not center issue.

0 comments on commit dd50441

Please sign in to comment.