Skip to content

Commit

Permalink
Merge pull request #4190 from systeminit/keeb/fix-logo
Browse files Browse the repository at this point in the history
Docs: Fix logo, add posthog, add favicon, update changelog
  • Loading branch information
keeb authored Jul 22, 2024
2 parents 36535c7 + ed503b6 commit ab8f3a2
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 8 deletions.
2 changes: 2 additions & 0 deletions app/docs/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
DEV_HOST=localhost
DEV_PORT=5173
VITE_POSTHOG_PUBLIC_KEY=phc_KpehlXOqtU44B2MeW6WjqR09NxRJCYEiUReA58QcAYK
VITE_POSTHOG_API_HOST=https://e.systeminit.com
7 changes: 4 additions & 3 deletions app/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
"@si/tsconfig": "workspace:*",
"@types/node": "^18.15.11",
"eslint": "^8.36.0",
"vitepress": "~1.0.2",
"typescript": "^4.9.5"
"typescript": "^4.9.5",
"vitepress": "~1.0.2"
},
"volta": {
"extends": "../../package.json"
},
"dependencies": {
"dotenv": "^16.0.3"
"dotenv": "^16.0.3",
"posthog-js": "^1.148.2"
}
}
9 changes: 8 additions & 1 deletion app/docs/src/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,20 @@ export default defineConfig({
dark: "github-dark",
},
},
head: [
['script', {}, `
!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host.replace(".i.posthog.com","-assets.i.posthog.com")+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys getNextSurveyStep onSessionId setPersonProperties".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
posthog.init('${process.env.VITE_POSTHOG_PUBLIC_KEY}',{api_host:'${process.env.VITE_POSTHOG_API_HOST}',});
`],
['link', { rel: "icon", href: "/favicon.png" }],
],
lastUpdated: true,
outDir: path.join(__dirname, "../../dist"),
ignoreDeadLinks: false,
cleanUrls: true,
themeConfig: {
logo: {
dark: "/si-logo-symbol-dark-mode.svg",
dark: "/si-logo-symbol-dark-mode.svg",
light: "/si-logo-symbol.svg",
alt: "System Initiative",
},
Expand Down
20 changes: 17 additions & 3 deletions app/docs/src/changelog/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,29 @@ All notable changes to System Initiative will be documented in this file.
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

---
## 2024-07-22

New demo's this week:

- Workspace Updates
- Rebaser Service Demo
- New User Signup Process
- Documentation and Future Plans

<iframe width="560" height="315" src="https://www.youtube.com/embed/weCe6kVAHnw?si=qsyicN0NFyIEW4qp" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

## 2024-07-15

### Demo
New demo's this week:

- Introduction and Overview
- Asset Versioning and Editing
- Asset Updates and Contributions
- Chainsaw Work and System Improvements

<iframe width="560" height="315" src="https://www.youtube.com/embed/nWkDj8J2tfw?si=8E4OhKUEsBzzGbBA" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

### Added

- Improved Asset authoring with versioning and editing
- Groundwork for improved asset updating and contribution
- Groundwork for improved asset updating and contribution
Binary file added app/docs/src/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
12 changes: 11 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ab8f3a2

Please sign in to comment.