Skip to content

Commit fd7d4e2

Browse files
authored
Merge pull request #42 from gitroomhq/bugfix-v2-v3-migration
bugfix: v2 to v3 migration
2 parents 5dd84aa + d897222 commit fd7d4e2

File tree

10 files changed

+32
-29
lines changed

10 files changed

+32
-29
lines changed
File renamed without changes.
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
{
1+
export default {
22
"introduction": "Introduction",
33
"howitworks": "How it works",
44
"quickstart": "Quickstart",
55
"installation": "Installation",
66
"reverse-proxies": "Reverse Proxies",
77
"configuration": "Configuration",
88
"providers": "Providers Configuration",
9-
"support": "Support"
10-
}
9+
"support": "Support",
10+
"developer-guide": "Developer Guide"
11+
};
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
{
1+
export default {
22
"docker-compose": "Docker Compose",
33
"docker": "Docker (standalone)",
44
"kubernetes-helm": "Kubernetes with Helm",
55
"development": "Development Environment",
66
"devcontainer": "Devcontainer"
7-
}
7+
};

pages/installation/development.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Development Environment
33
---
44

5-
import { Cards, Card, Steps } from 'nextra/components';
5+
import { Cards, Steps } from 'nextra/components';
66
import Prereqs from '../../components/snippets/installation-pre-reqs.mdx';
77

88
This is currently the recommended option to install Postiz in a supportable configuration. The docker images are in active and heavy development for now.
@@ -146,8 +146,8 @@ If everything is not running - you had errors in the steps above, please head ov
146146
## Next Steps
147147

148148
<Cards>
149-
<Card title="Configure uploads" href="/configuration/r2" />
150-
<Card title="Learn the architecture of the project" href="/howitworks" />
151-
<Card title="Set up email for notifications" href="/emails" />
152-
<Card title="Set up providers such as Linkedin, X and Reddit" href="/providers" />
149+
<Cards.Card title="Configure uploads" href="/configuration/r2" />
150+
<Cards.Card title="Learn the architecture of the project" href="/howitworks" />
151+
<Cards.Card title="Set up email for notifications" href="/emails" />
152+
<Cards.Card title="Set up providers such as Linkedin, X and Reddit" href="/providers" />
153153
</Cards>

pages/installation/docker-compose.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Docker Compose
44

55
import { Callout } from "nextra/components";
66
import DockerEnvvarApps from '../../components/snippets/docker-envvar-apps.mdx';
7-
import { Cards, Card } from 'nextra/components';
7+
import { Cards } from 'nextra/components';
88
import Prereqs from '../../components/snippets/installation-pre-reqs.mdx';
99

1010
## Docker Compose
@@ -138,8 +138,8 @@ If everything looks good, then you can access the Postiz web interface at https:
138138
## Next Steps
139139

140140
<Cards>
141-
<Card title="Learn the architecture of the project" href="/howitworks" />
142-
<Card
141+
<Cards.Card title="Learn the architecture of the project" href="/howitworks" />
142+
<Cards.Card
143143
title="Set up providers such as Linkedin, X and Reddit"
144144
href="/providers"
145145
/>

pages/installation/docker.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Docker
33
---
44

55
import DockerEnvvarApps from "../../components/snippets/docker-envvar-apps.mdx";
6-
import { Cards, Card, Steps } from 'nextra/components';
6+
import { Cards, Steps } from 'nextra/components';
77
import InstallationRecommendedOptions from "../../components/snippets/installation-recommended-options.mdx";
88
import Prereqs from '../../components/snippets/installation-pre-reqs.mdx';
99

@@ -36,8 +36,8 @@ docker create --name postiz -v ./config:/config -p 4200:4200 -p 3000:3000 ghcr.i
3636
## Next Steps
3737

3838
<Cards>
39-
<Card title="Configure uploads" href="/configuration/r2" />
40-
<Card title="Learn the architecture of the project" href="/howitworks" />
41-
<Card title="Set up email for notifications" href="/emails" />
42-
<Card title="Set up providers such as Linkedin, X and Reddit" href="/providers" />
39+
<Cards.Card title="Configure uploads" href="/configuration/r2" />
40+
<Cards.Card title="Learn the architecture of the project" href="/howitworks" />
41+
<Cards.Card title="Set up email for notifications" href="/emails" />
42+
<Cards.Card title="Set up providers such as Linkedin, X and Reddit" href="/providers" />
4343
</Cards>

pages/installation/kubernetes-helm.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Helm
33
---
44

55
import EarlyDoc from '../../components/snippets/earlydoc.mdx';
6-
import { Cards, Card, Steps } from 'nextra/components';
6+
import { Cards, Steps } from 'nextra/components';
77
import InstallationRecommendedOptions from "../../components/snippets/installation-recommended-options.mdx";
88
import Prereqs from '../../components/snippets/installation-pre-reqs.mdx';
99

@@ -24,6 +24,6 @@ The `values.yml` file can be found in the repository, or a direct link to it is:
2424
## Next Steps
2525

2626
<Cards>
27-
<Card title="Set up providers such as Linkedin, X and Reddit" href="/providers" />
28-
<Card title="Learn the architecture of the project" href="/howitworks" />
27+
<Cards.Card title="Set up providers such as Linkedin, X and Reddit" href="/providers" />
28+
<Cards.Card title="Learn the architecture of the project" href="/howitworks" />
2929
</Cards>

pages/introduction.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: 'Welcome to Postiz documentation'
55

66
---
77

8-
import { Cards, Card } from "nextra/components";
8+
import { Cards } from "nextra/components";
99

1010
<div className="nx-mt-5 w-full flex justify-center rounded-full">
1111
<img className="hidden nx-dark:block" style={{maxWidth: 150}} src="/logo/dark.png" alt="Hero Dark" />
@@ -20,12 +20,12 @@ Postiz helps you to manage all your social media accounts.
2020
* Exchange or buy posts from other members on the marketplace.
2121

2222
<Cards>
23-
<Card
23+
<Cards.Card
2424
icon={<></>}
2525
title="Learn how to install the project and start using it"
2626
href="/quickstart"
2727
/>
28-
<Card
28+
<Cards.Card
2929
icon={<></>}
3030
title="Learn the architecture of the project"
3131
href="/howitworks"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
{
1+
export default {
22
"facebook": "Facebook",
33
"instagram": "Instagram",
44
"linkedin": "Linkedin",
55
"reddit": "Reddit",
66
"mastodon": "Mastodon",
77
"x": "X",
88
"youtube": "YouTube"
9-
}
9+
};

theme.config.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,17 @@ const themeConfig: DocsThemeConfig = {
6565
},
6666
docsRepositoryBase: "https://github.com/gitroomhq/postiz-docs/blob/main",
6767
footer: {
68-
text: "Gitroom Limited. All rights reserved.",
68+
content: "Gitroom Limited. All rights reserved.",
6969
},
7070
darkMode: false,
7171
nextThemes: {
7272
defaultTheme: "dark",
7373
forcedTheme: "dark",
7474
},
75-
primaryHue: 280,
76-
primarySaturation: 100,
75+
color: {
76+
hue: 280,
77+
saturation: 100,
78+
}
7779
};
7880

7981
export default themeConfig;

0 commit comments

Comments
 (0)