Prep for Vercel OSS

This commit is contained in:
Sacha Weatherstone 2021-11-10 10:48:00 +11:00
parent 5414633539
commit 9c652a7e4f
4 changed files with 1223 additions and 2361 deletions

View file

@ -24,10 +24,4 @@ yarn build
This command generates static content into the `build` directory and can be served using any static contents hosting service. This command generates static content into the `build` directory and can be served using any static contents hosting service.
## Deployment [![Powered by Vercel](https://raw.githubusercontent.com/abumalick/powered-by-vercel/master/powered-by-vercel.svg)](https://vercel.com?utm_source=meshtastic&utm_campaign=oss)
```console
GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
```
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.

View file

@ -16,11 +16,11 @@ const config = {
respectPrefersColorScheme: true, respectPrefersColorScheme: true,
}, },
announcementBar: { announcementBar: {
id: 'play_store_workaround', id: "play_store_workaround",
content: content:
'Android app unavailable in the Google Play Store store. Install by <a href="/docs/software/android/android-installation">side-loading</a> from <a href="https://github.com/meshtastic/Meshtastic-Android/releases">GitHub</a> or from <a href="https://www.amazon.com/Geeksville-Industries-Meshtastic/dp/B08CY9394Q">Amazon</a>.', 'Android app unavailable in the Google Play Store store. Install by <a href="/docs/software/android/android-installation">side-loading</a> from <a href="https://github.com/meshtastic/Meshtastic-Android/releases">GitHub</a> or <a href="https://www.amazon.com/Geeksville-Industries-Meshtastic/dp/B08CY9394Q">Amazon</a>.',
backgroundColor: '#ff9999', backgroundColor: "#ff9999",
textColor: '#091E42', textColor: "#091E42",
isCloseable: true, isCloseable: true,
}, },
navbar: { navbar: {
@ -119,7 +119,7 @@ const config = {
], ],
}, },
], ],
copyright: `Meshtastic® trademark is a registered trademark belonging to Geeksville Industries LLC`, copyright: `Powered by ▲ Vercel | Meshtastic® trademark is a registered trademark belonging to Geeksville Industries LLC`,
}, },
algolia: { algolia: {
apiKey: "01ad7e13d3fe392d2ad26da3c69dbc21", apiKey: "01ad7e13d3fe392d2ad26da3c69dbc21",
@ -135,7 +135,6 @@ const config = {
{ {
docs: { docs: {
sidebarPath: require.resolve("./sidebars.js"), sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl: editUrl:
"https://github.com/meshtastic/meshtastic/edit/master/website/", "https://github.com/meshtastic/meshtastic/edit/master/website/",
}, },

View file

@ -33,6 +33,7 @@
"devDependencies": { "devDependencies": {
"@docusaurus/module-type-aliases": "^2.0.0-beta.8", "@docusaurus/module-type-aliases": "^2.0.0-beta.8",
"@tsconfig/docusaurus": "^1.0.4", "@tsconfig/docusaurus": "^1.0.4",
"@types/node": "^16.11.7",
"typescript": "^4.4.4" "typescript": "^4.4.4"
} }
} }

File diff suppressed because it is too large Load diff