Demo card 1
Contribution Guidelines
About 1157 wordsAbout 4 min
Contributions
2025-06-09
This is a guideline for editing, styling, and formatting when editing Tuxie's Wiki. Please read and comply with these guidelines as it could jeopardize your opportunity in being a contributor.
Formatting choices
File naming convention
We'll be using kebab-case to name files within the working directory.
Examples
- kebab-case-is-the-best.txt
- tuxies-wiki.svg
- we-bare-bears.png
- become-a-contributor.md
Permalinks
Permalinks of articles should match the file name as well as possible.
Examples
Gnome Guide @ /docs/notes/linux-guides/gnome.md
--> /linux-guides/gnome/
Terminal Customization (Bash) @ /docs/guides/terminal-customization-bash.md
--> /guides/terminal-customization-bash/
Code formatting
We're not strict with our code formatting as long as the output of your code is clean (i.e. the generated content is pretty).
We'd appreciate it if you use the Prettier extension in VS Code or an equivalent to format your code, though.
Use relative links over permalinks when refering to internal pages to make the development smoother, when possible.
Icons
We'll follow the following hierarchy for icons:
Core website component
mdi
>> ic
Card
fluent-emoji
>> fluent-emojis
>> devicon
>> logos
Formatting
Adding an icon anywhere ::emoji:name =size /color::
size
refers to the px size
/color
refers to the rgb value
See code...
::devicon:linux =50 /rgb(255,255,255)::
Document components
Callout container
If the content you will be putting in the callout container
is relatively short, simply make it the title of the callout.
See code...
:::important This is an annoucement for everybody: I love Linux!
:::
:::tip Everybody loves some pro tips :\)
:::
This is an annoucement for everybody: I love Linux!
Everybody loves some pro tips :)
Card & card grid
You can use card
to serve as a decorative callout container. Use card-grid
to indicate the author(s), maintainer(s), and contributor(s) of an article.
For what icons to use, refer to icons section.
See code...
::::card-grid
:::card title="Demo card 1" icon="fluent-emoji-flat:card-index"
:::
:::card title="Demo card 2" icon="fluent-emoji-flat:card-index"
::::
Demo card 2
Code
Use code
to indicate files, programs, and directories. Simply surround the text you want to "codify" with backticks (`).
See code...
`fzf` is a program that allows for fuzzy searching in the cli.
fzf
is a program that allows for fuzzy searching in the cli.
Code block
Always wrap code around code block
for better legibility and styling consistency.
See code...
```bash
# this is some example bash code
sudo dnf udate
```
# this is some example bash code
sudo dnf udate
Code tabs
Use code tabs
to:
- Indicate changes are made in a specific file (indicated by the file name). Check Plume Theme Documentations for details on code highlighting.
- To not use unnecessary space when displaying multiple files.
See code...
::::code-tabs
@tab Hello.java
```java
public class Hello {
public static void main(string[] args) {
Public.out.println("Hello world");
}
}
```
@tab example.md
```md
---
author: aier
permalink: /testing/aier/
---
# Title text
Content text... Content text... Content text...
Content text...
```
::::
public class Hello {
public static void main(string[] args) {
Public.out.println("Hello world");
}
}
---
author: aier
permalink: /testing/aier/
---
# Title text
Content text... Content text... Content text...
Content text...
Demo wrapper
Use demo wrapper
to show the product of something.
See code...
:::demo-wrapper
Content text...
:::
Content text...
See code...
:::demo-wrapper img

:::
Details & collapse
Use details
to collapse content that you don't want taking up a large amount of screen space.
See code...
:::details
The following is a picture of Ice Bear from We Bare Bears.

:::
Details
The following is a picture of Ice Bear from We Bare Bears.
When you have to use multiple details
containers, use collapse
instead.
Always pair collapse
with a card unless the only content is a photo. If it has any text pair it with a card as such:
See code...
::::collapse accordion
- Use a card for mixed media and sole text.
:::card
The following is a picture of Ice Bear from We Bare Bears.

:::
- Card can be omitted in the case of a singular image.

::::
Use a card for mixed media and sole text.
The following is a picture of Ice Bear from We Bare Bears.
Card can be omitted in the case of a singular image.
Steps
Use "-" to auto-generate steps
instead of manually numbering them. It helps maintenance and editing much easier.
Keep the keywords of your step titles bold. If the step title is relatively short, make the entire title bold for better distinction from content text.
See code...
:::steps
- **This is a step**
Content...
- **This is another step**
This is even more content...
- **This is yet another step**
This is yet even more content...
:::
This is a step
Content...
This is another step
This is even more content...
This is yet another step
This is yet even more content...
Tabs
Use tabs
for showing multiple options to not use up unnecessary space.
See code...
:::tabs
@tab ::devicon:debian:: Debian/Ubuntu
```bash
sudo apt install timeshift
```
@tab ::devicon:fedora:: Fedora
```bash
sudo dnf install timeshift
```
@tab ::devicon:archlinux:: Arch
```bash
pacman -S timeshift
```
:::
sudo apt install timeshift
sudo dnf install timeshift
pacman -S timeshift
Code Tree
Use code tree
for specifying file structures and/or to specify the content of many files under the same directory.
See code...
::::code-tree title="Some Python Project" height="400px" entry="src/main.py"
```python title="src/visualization/some-files.py"
e = mc^2
# Some more python code...
```
```python title="src/algorithms/algorithms.py"
Some impressive algorithm
```
```python title="src/main.py"
Some python code
```
```json title="dataset.json"
{
"data1": "Hello world",
"data2": {
"data3": "My name is Lunear"
}
}
```
::::
src
visualization
some-files.py
algorithms
algorithms.py
main.py
dataset.json
e = mc^2
# Some more python code...
Some impressive algorithm
Some python code
{
"data1": "Hello world",
"data2": {
"data3": "My name is Lunear"
}
}
Changelog
57cf3
-Minor fixesonf1456
-Updated guidelines and fixed inconsistencyon3bf15
-Added linking guideline.on9537b
-Update terminal customization and guides to include devicons for Linux distributionson6e7b8
-Fix formatting for code tree sections in contribution guidelinesone3681
-Vuepress guide completed, Added code-tree to guidlines, arch guide modified.on603ab
-Remove redundant header sections from demo wrapper examples for improved clarityon2783c
-Add code section with usage examples for clarity and consistency in contribution guidelinesondaeb8
-Enhance documentation by adding missing line breaks, updating demo wrappers to include images, and refining contribution guidelines for clarity and consistency.on3daf8
-Add guidelines for callout containers and enhance code tabs section for clarityonf84c0
-Enhance contribution guidelines by adding 'details' containers for better code examples and readability; improve structure and consistency throughout the document.on1c174
-Revise contribution guidelines for clarity and structure; enhance file naming, permalink, and code formatting sections, and add examples for better understanding.on9c3a8
-Contributions under its own category under About.on9004c
-Guideline links.onf752b
-Added more details to guidelines.on9d94b
-maintainers tag added and guideline page addedon