Skip to content

Commit

Permalink
docs: add analytics to site, other small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
lojjic committed Feb 17, 2021
1 parent 3770dc6 commit b4e0ea1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The [troika-examples package](https://github.com/protectwise/troika/tree/master/

## Viewing the examples

The examples from the latest master branch are published automatically at [https://troika-examples.netlify.com].
The examples from the latest master branch are published automatically at [https://troika-examples.netlify.com](https://troika-examples.netlify.com).


## Running the examples
Expand Down
2 changes: 1 addition & 1 deletion docs/troika-3d/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Troika controls when the Three.js scene is re-rendered, only doing so when:
* The scene is updated
* A facade [`animation` or `transition`](../troika-core/animations-and-transitions.md) is running
* A facade changes properties due to [`pointerStates`](../troika-core/interactivity-and-events.md#pointer-states) interactions
* A facade indicates that it requires a re-render by calling `this.notifyWorld('needsRender')`
* A facade indicates that it requires a re-render by calling its [`requestRender` method](../troika-core/facades.md#requestrender)


## Matrix calculations
Expand Down
13 changes: 7 additions & 6 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,27 @@ site_name: Troika JS
site_author: Jason Johnston
repo_url: https://github.com/protectwise/troika
plugins:
# - monorepo
- include-markdown
- search
- git-revision-date
theme:
name: material
palette:
primary: white
features:
- navigation.sections
#- toc.integrate
icon:
logo: fontawesome/regular/file
google_analytics:
- UA-189971966-1
- auto
markdown_extensions:
- pymdownx.b64 #not working???
- pymdownx.highlight
- pymdownx.superfences
- toc:
permalink: true
nav:
- Overview: index.md
- Changelog: changelog.md
Expand Down Expand Up @@ -52,8 +58,3 @@ nav:
- Other Tools:
- Worker Modules: troika-worker-utils/index.md




# - Troika Core: '!include ./packages/troika-core/mkdocs.yml'
# - Troika 3D Text: '../packages/troika-three-text/README.md' #'!include ./packages/troika-three-text/mkdocs.yml'

0 comments on commit b4e0ea1

Please sign in to comment.