Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

docs: update projects documentation for v2.8 #853

Draft
wants to merge 8 commits into
base: daily
Choose a base branch
from
Draft
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
18 changes: 9 additions & 9 deletions .github/workflows/beta_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ jobs:
DOTENV_CONFIG_PATH: .env.beta
run: yarn ycai build

- name: Deploy YCAI Dashboard
uses: burnett01/[email protected]
with:
switches: -avzr --delete
path: ./YCAI/build/dashboard/
remote_path: ~/beta-studio/
remote_host: ${{ secrets.YCAI_BETA_DEPLOY_HOST }}
remote_user: ${{ secrets.YCAI_DEPLOY_USER }}
remote_key: ${{ secrets.YCAI_DEPLOY_KEY }}
# - name: Deploy YCAI Dashboard
# uses: burnett01/[email protected]
# with:
# switches: -avzr --delete
# path: ./YCAI/build/dashboard/
# remote_path: ~/beta-studio/
# remote_host: ${{ secrets.YCAI_BETA_DEPLOY_HOST }}
# remote_user: ${{ secrets.YCAI_DEPLOY_USER }}
# remote_key: ${{ secrets.YCAI_DEPLOY_KEY }}
47 changes: 47 additions & 0 deletions .github/workflows/build_from_zip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: TrEx - Build from ZIP

on:
push:
branches:
- daily
- fix/*
- feat/*

jobs:
release:
name: Release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
services:
mongo-db:
image: mongo:4.2
ports:
- 27017:27017
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: yarn.lock

- name: Install dependencies
run: yarn

- name: Build ZIP for Firefox
run: ./scripts/shrink.sh

- name: Log in to registry
# This is where you will update the personal access token to GITHUB_TOKEN
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin

- name: Test ZIP with docker
run: |
docker build -f from-zip.Dockerfile -t build-from-zip .
18 changes: 9 additions & 9 deletions .github/workflows/daily_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ jobs:
- name: Release Version
run: yarn release-it --no-github.release --release-version

- name: Deploy YCAI Dashboard
uses: burnett01/[email protected]
with:
switches: -avzr --delete
path: ./platforms/ycai/studio/build/dashboard/
remote_path: ~/staging-studio/
remote_host: ${{ secrets.YCAI_DAILY_DEPLOY_HOST }}
remote_user: ${{ secrets.YCAI_DEPLOY_USER }}
remote_key: ${{ secrets.YCAI_DEPLOY_KEY }}
# - name: Deploy YCAI Dashboard
# uses: burnett01/[email protected]
# with:
# switches: -avzr --delete
# path: ./platforms/ycai/studio/build/dashboard/
# remote_path: ~/staging-studio/
# remote_host: ${{ secrets.YCAI_DAILY_DEPLOY_HOST }}
# remote_user: ${{ secrets.YCAI_DEPLOY_USER }}
# remote_key: ${{ secrets.YCAI_DEPLOY_KEY }}
12 changes: 4 additions & 8 deletions .github/workflows/docs_pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
name: TRex - Release "daily"
name: TRex - Docs

on:
push:
branches:
- daily
- docs/**
- feat/**
- fix/**
- refactor/**
paths:
- "docs/**"
- "platforms/guardoni/docs/**"
- "platforms/tktrex/docs/**"
- "platforms/yttrex/docs/**"
- "platforms/ycai/docs/**"
- "packages/**"
- "platforms/**"

jobs:
release:
Expand All @@ -38,9 +37,6 @@ jobs:
- name: Install dependencies
run: yarn

# - name: Test project
# run: yarn test

- name: Build Docs
env:
DEBUG: "@trex*,@YCAI*"
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/master_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,17 @@ jobs:
git config --global user.name "Team - Tracking Exposed"
yarn release-it --ci

- name: Build Dashboard
env:
DOTENV_CONFIG_PATH: .env
run: yarn ycai build

- name: Deploy YCAI Dashboard
uses: burnett01/[email protected]
with:
switches: -avzr --delete
path: ./platforms/ycai/studio/build/dashboard/
remote_path: ~/studio-website/
remote_host: ${{ secrets.YCAI_DEPLOY_HOST }}
remote_user: ${{ secrets.YCAI_DEPLOY_USER }}
remote_key: ${{ secrets.YCAI_DEPLOY_KEY }}
# - name: Build Dashboard
# env:
# DOTENV_CONFIG_PATH: .env
# run: yarn ycai build

# - name: Deploy YCAI Dashboard
# uses: burnett01/[email protected]
# with:
# switches: -avzr --delete
# path: ./platforms/ycai/studio/build/dashboard/
# remote_path: ~/studio-website/
# remote_host: ${{ secrets.YCAI_DEPLOY_HOST }}
# remote_user: ${{ secrets.YCAI_DEPLOY_USER }}
# remote_key: ${{ secrets.YCAI_DEPLOY_KEY }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ coverage

# let everyone use their own workspace config
*.code-workspace

# auto generated docs
typedoc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ services:
dockerfile: from-zip.Dockerfile
context: .
target: unzip
entrypoint: /bin/sh
container_name: build-from-zip
stdin_open: true # docker run -i
tty: true # docker run -t
Expand Down
12 changes: 0 additions & 12 deletions docs/blog/2019-05-28-first-blog-post.md

This file was deleted.

44 changes: 0 additions & 44 deletions docs/blog/2019-05-29-long-blog-post.md

This file was deleted.

20 changes: 0 additions & 20 deletions docs/blog/2021-08-01-mdx-blog-post.mdx

This file was deleted.

Binary file not shown.
25 changes: 0 additions & 25 deletions docs/blog/2021-08-26-welcome/index.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/blog/authors.yml

This file was deleted.

14 changes: 5 additions & 9 deletions docs/docs/partials/extension/_development.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@ import CodeBlock from '@theme/CodeBlock';


### Prerequisites

<ul>
<li>
<a href="backend">
@{props.platformPrefix}trex/backend
</a>{" "}up and running
</li>
</ul>
* <a href="backend">@{props.platformPrefix}trex/backend</a> up and running

### Run "watch" mode

Expand All @@ -23,4 +16,7 @@ To start developing the extension you need to compile the source code with `webp
yarn {props.platformPrefix}:ext watch
</CodeBlock>

<p>then, you can open your browser's development panel and load the extension from the output folder <i>{props.platformPrefix}</i>.</p>
### Load the extension

In your browser's development panel or in your extension manager, load the extension from the <i>{props.platformPrefix}</i> output folder. To do that, you will need to navigate to `platforms/yttrex/extension/build` and load the extension from that folder.

Loading