Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/JustAMatt/BloomDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAMatt committed Dec 25, 2023
2 parents 9312b30 + a45ea87 commit 1bea88d
Show file tree
Hide file tree
Showing 496 changed files with 17,410 additions and 6,563 deletions.
Binary file added .github/workflows/embeds.jar
Binary file not shown.
18 changes: 18 additions & 0 deletions .github/workflows/embeds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Validate-YAML

on:
pull_request:
paths:
- 'embeds.yml'
types:
- opened
- reopened
- synchronize

jobs:
validate-yaml:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Validate YAML file
run: yamllint -c .yamllint embeds.yml
37 changes: 0 additions & 37 deletions .github/workflows/tomlchecker.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
.env.development.local
.env.test.local
.env.production.local
.idea/

npm-debug.log*
yarn-debug.log*
Expand Down
9 changes: 9 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
extends: default

rules:
document-start: disable
line-length: disable
trailing-spaces: disable
brackets: disable
new-lines:
type: unix
85 changes: 0 additions & 85 deletions CONTRIBUTING.md

This file was deleted.

202 changes: 192 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,207 @@
# Document Format:
# 👋 Welcome!
This is the community-maintained documentation for [Bloom.host](https://bloom.host)!

# 🌿 Contributing

<details>

<summary>

## 📚 To The Documentation

</summary>

You can help contribute to the Bloom.host documentation in one of two ways:

### Option #1:

You can also contribute to the docs directly by doing the following:

This method makes it easier to import the document(s) and to make sure that the formatting is correct and to make it
look the way you want it when it is imported.

1. Create a fork of the [GitHub Repository](https://github.com/Bloom-host/BloomDocs)
2. Optionally, create a new branch, such as `feature/my-changes` to make it easier to merge upstream changes.
3. Make edits to your fork of this repository.
Note that there is a document format when creating new pages, see below for details.
4. Create a pull request to have the changes added into the repository.

**Note:** If you are adding new pages, be sure to add it into [`sidebars.js`](/sidebars.js) (located in the root of the
repo).

---

### Option #2:

You can write an article in a format you prefer and create a support ticket in
our [Discord server](https://discord.gg/bloom), and it will be converted over for you.
Note that documents in Markdown are preferred, however, Microsoft Word and Google Docs files can be accepted,
and they can be uploaded to the documentation.

---

### Document format:

When adding new pages to the documentation, be sure to use the document format.
The document format is listed below, and also listed in [`README.md`](/README.md) in the root of the repo.

```yaml

---
id: <id>
title: <title>
slug: <id>
hide_title: true
hide_table_of_contents: true
sidebar_label: <sidebar title>
description: <short description>
image: https://bloom.host/assets/images/logo.png
---
```
```html
<div class="text--center">
<img src="https://bloom.host/logo-white.svg" alt="logo" height="50%" width="50%"/>
<h1>[sidebar title]</h1>
</div>

... rest of the document ...
```

---

### Templates and formatting help:

There is a [Markdown template](https://raw.githubusercontent.com/Bloom-host/BloomDocs/master/docs/extras/template.md)
which has some examples of markdown-formatting elements (and how to use them) such as bold text, strikethrough, headings
and links.

You can also see [a formatted version of the template](https://docs.bloom.host/extras/template/) to see what the
formatted elements will look like when imported into the documentation website.

### Internationalisation (i18n)

You can also help translate the wiki into another language that you’re fluent in. Please see
the [guide on how to do this](https://docs.bloom.host/extras/contributing#adding-a-language).

You may also find the [Docusaurus documentation about i18n](https://docusaurus.io/docs/i18n/introduction) useful.

---

### Note

When contributing information, make sure that the information is useful and that you know what you are talking about. Do
not ramble or write useless information into articles as this is not helpful to users who may look at the wiki for
information about the user panel or information about running Minecraft servers.

---

</details>

<details>

<summary>

## 🤖 To BloomBot's Embeds

</summary>

You can also contribute to the embeds used by BloomBot in the [Discord](https://discord.gg/bloom) where a command is used, and it can provide
troubleshooting information or quick information to users such as those who are requesting support.

You can edit [`embeds.yml`](/embeds.yml) and this can be contributed along with documentation changes and can be
contributed in the same PR.

Here is the format of the embeds:
![img](https://raw.githubusercontent.com/Bloom-host/BloomDocs/master/static/discord/embed-help.png)

```yml
embed_name:
# A list of aliases that can be used to call the command
# You can also do the short format: aliases: ['embed_name_alias', 'another_alias']
aliases:
- 'embed_name_alias'
- 'another_alias'
# The text of the message
text: 'Suspendisse vitae sem imperdiet suspicit magna sed'
# The title of the embed
title: 'Vestibulum luctus fermentum nisl'
# The icon next to the title
title-icon: '%guildicon%'
# The thumbnail of the embed
thumbnail: '%guildicon%'
# The description of the embed. |+ keeps new lines, > does not
description: |+
Lorem [ipsum dolor](https://example.tld) `consectetur adpicing elit`. **Morbi id lorem turpis fascillisis**
veneantis eget dapibus est. _Prasent sed_ est et ~~lectus secleisque~~ lacina.
```yaml
natoque: "Vivamus dapibus ex id"
tortor:
- porta
- gravida
```
# A list of fields. Each can have a title, a description and whether they are inline
fields:
- title: 'Etiam magna nulla, sollicitudin necleo at'
description: |+
Etiam maximus augue at velit cornmcxio, eu suscipit
nisl consequat. Aliquam sollicitudin metus quis justo
aliquet, eu convallis sem porta. Praesent leo
nunc, id sodales rugna placerat sed. Mauris
dignissim pretium cma.
inline: false
- title: ''
description: ''
inline: false
- title: 'Mauris dignissim pretium porta.'
description: 'Etiam magna nulla, sollicitudn nec leo at.'
inline: true
- title: 'Etiam maximum augue'
description: 'In hac habitssa platea'
inline: true
- title: 'Nulla molestie sapien sit'
description: 'Prasend sed est et'
inline: true
# The image of the embed
image: 'https://bloom.host/favicon/favicon-og.png'
# The footer of the embed
footer: 'Phasellus effictur dictum sem egel pretium'
# A list of buttons. [ <display name>, <link>, <emoji>, <order> ]
buttons:
- [ 'Label', 'https://example.tld', '1️⃣' ]
- [ 'Label', 'https://example.tld', '2️⃣' ]
- [ 'Label', 'https://example.tld', '3️⃣' ]
```
There is also embeds.toml which is used for BloomBot's embeds. Feel free to PR any additions/changes.
Users with the `@Gardener` role can use the `!et` (embed test) command with YAML code to quickly test commands.

You can use these global placeholders anywhere: `%useravatar%`, `%guildicon%`

If you have any questions or concerns, please ask in our Discord!

Please note that changes are not instant and may take up to 24 hours to apply.

---

</details>

## 🦆 Wall Of Gardeners
These are the awesome people who have contributed at least three guides to our documentation so far!
If your name is missing, please let us know on [Discord](https://bloom.host/discord)!

- Razboy20 (`razboy20`)
- Evident (`evident._.`)
- Zax71 (`zax71`)
- Eagle (`legaleagality`)
- Euan (`Euan#7980`)
- Kieran (`krnbrz`)
- Southpaw (`southpaw1496`)
- just a random person (`just.a.random.person`)
- Technofied (`technofied`)
- LGLOVER (`lglover`)
- Clumsy (`clumsy`)
- RelativeSure (`relativesure`)
- robot (`robot`)
- Billy (`billydanoob`)
- LoJoSho (`lojosho`)
- si (`himitsucakes`)
- alau740 (`alau740`)
- water (`waterswimmer`)
- Geri (`bloom.geri.dev`)
- Roan (`roanv`)
- lk2107 (`lk2107`)
- Artic (`artic_.`)
- Kurumi78 (`kurumitokisaki`)
- Amgelo (`amgelo563`)
Loading

0 comments on commit 1bea88d

Please sign in to comment.