Skip to content

Commit e198fc8

Browse files
authored
fix prettier + config.yml for issues (#58)
* chore: fix problems caused by prettier * Update .prettierrc * Create config.yml
1 parent ccc4c0e commit e198fc8

File tree

4 files changed

+25
-29
lines changed

4 files changed

+25
-29
lines changed

.github/ISSUE_TEMPLATE/config.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 💁 Support
4+
url: https://discord.gg/xxzmJSDKPT
5+
about: 'This issue tracker is not for support questions. Join us on Discord for assistance!'
6+
- name: 📘 Documentation
7+
url: https://github.com/zeropsio/docs
8+
about: File an issue or make an improvement to the docs website.
9+
- name: 💡 Share Your Thoughts with Us - New Features, Improvements, and Questions
10+
url: https://github.com/zeropsio/community/discussions
11+
about: Propose and discuss future improvements to Zerops
12+
- name: 💬 Chat
13+
url: https://discord.gg/xxzmJSDKPT
14+
about: Our Discord server is active, come join us!

.prettierrc

+6-4
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@
44
"trailingComma": "es5",
55
"printWidth": 80,
66
"tabWidth": 2,
7-
"useTabs": false,
87
"bracketSpacing": true,
9-
"jsxSingleQuote": false,
108
"overrides": [
119
{
12-
"files": "*.md",
10+
"files": [
11+
"*.md",
12+
"*.mdx"
13+
],
1314
"options": {
14-
"proseWrap": "preserve"
15+
"parser": "markdown"
1516
}
1617
}
1718
]
1819
}
20+

apps/docs/content/help/faq.mdx

+1-5
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@ Get quick answers to your related questions about Zerops from frequently asked q
2121
to explore the options that best suit your needs.
2222
</FAQItem>
2323
<FAQItem question="I have more questions. Where can I reach out to get help?">
24-
You can reach us on our{' '}
25-
<a href="https://discord.gg/xxzmJSDKPT" target="_blank">
26-
Discord server
27-
</a>{' '}
28-
for support. For additional contact options, please visit our{' '}
24+
You can reach us on our <a href="https://discord.gg/xxzmJSDKPT" target="_blank">Discord server</a> for support. For additional contact options, please visit our{' '}
2925
<a href="http://localhost:3001/help/contacts">contacts page</a>.
3026
</FAQItem>
3127
</FAQ>

apps/docs/content/homepage.mdx

+4-20
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,7 @@ User services (which consist of one or more containers) inside the project share
199199

200200
You get a fully managed, professional infrastructure setup that will scale no matter how much traffic you get and deals with all the networking, balancing and security stuff, so you can just focus on your actual applications.
201201

202-
<Button variant="secondary">
203-
<Link href="/features/infrastructure">
204-
Read more about the project infrastructure
205-
</Link>
206-
</Button>
202+
<Button variant="secondary"><Link href="/features/infrastructure">Read more about the project infrastructure</Link></Button>
207203

208204
:::
209205

@@ -218,11 +214,7 @@ Zerops has fully automatic horizontal and vertical scaling with configuration st
218214

219215
You won't ever overprovision or underprovision your resources and your services will always have the exact resources they need. There won't be any cutting corners like sharing too few CPU cores between too many services. You will be able to rely on professional, reliable and highly available database setups with auto-repairing abilities that will scale along with your applications.
220216

221-
<Button variant="secondary">
222-
<Link href="/features/scaling-ha">
223-
Read more about autoscaling and high availability
224-
</Link>
225-
</Button>
217+
<Button variant="secondary"><Link href="/features/scaling-ha">Read more about autoscaling and high availability</Link></Button>
226218

227219
:::
228220

@@ -237,11 +229,7 @@ Zerops uses Incus to create containers, which means that you get a full Linux OS
237229

238230
You get a built-in powerful and flexible pipeline to modify build and runtime images and deploy your code, without any downtime. It can be used standalone or easily plugged into any existing CI/CD process.
239231

240-
<Button variant="secondary">
241-
<Link href="/features/pipeline">
242-
Read more about the build and deploy pipeline
243-
</Link>
244-
</Button>
232+
<Button variant="secondary"><Link href="/features/pipeline">Read more about the build and deploy pipeline</Link></Button>
245233

246234
:::
247235

@@ -256,10 +244,6 @@ You get a built-in powerful and flexible pipeline to modify build and runtime im
256244

257245
You get a powerful managed platform with all the best features unlocked for a price that's nearly on par with VPS. You can create as many environments as you need, even one for each developer working on a project, all with the same infrastructure as production, so they can utilize Zerops for their local development. No more "but it works on my machine".
258246

259-
<Button variant="secondary">
260-
<Link href="/features/developer-first">
261-
Read more about our developer first approach
262-
</Link>
263-
</Button>
247+
<Button variant="secondary"><Link href="/features/developer-first">Read more about our developer first approach</Link></Button>
264248

265249
:::

0 commit comments

Comments
 (0)