Skip to content

Commit be15ad5

Browse files
authored
Merge pull request #94 from ghostbsd/improve-dev-docs
Revise contributor documentation for clarity and cohesion
2 parents 7f55512 + ce397aa commit be15ad5

File tree

4 files changed

+59
-32
lines changed

4 files changed

+59
-32
lines changed

contributor/code/development-setup.md

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,10 @@
1-
Getting Started
2-
===============
1+
# Development Environment Setup
32

4-
## Requirements
3+
This guide will help you set up your development machine for contributing code to GhostBSD. Whether you want to work on Python applications, C system tools, or shell scripts, follow these steps to get started.
54

6-
### Communication in English
7-
Our developers hail from all over the globe, and English is the common language we use to collaborate. You don’t need to be fluent, but you should be comfortable enough to understand and communicate ideas effectively.
5+
## Prerequisites
86

9-
If you're reading this, you're likely good to go!
10-
11-
### Familiarity with Git
12-
We use Git as our version control system to manage changes across all projects. It’s a cornerstone of our workflow, so understanding the basics is essential.
13-
14-
If you're new to Git, take a moment to learn it before diving in. Check out the [GitHub Docs](https://docs.github.com/en/get-started/start-your-journey) for a solid introduction. Focus on concepts like commits, branches, remotes, and pull requests.
15-
16-
### A GitHub Account
17-
We host our repositories on GitHub, so you’ll need an account to browse code, fork projects, and submit pull requests. If you don’t have one yet, sign up at [GitHub](https://github.com/) and explore the [GitHub Docs](https://docs.github.com/) to get familiar with the platform.
18-
19-
### Running GhostBSD
20-
For the best experience, run the latest stable version of GhostBSD on your development machine. While older versions or FreeBSD might work, the latest GhostBSD ensures compatibility with our tools and libraries.
21-
22-
You can download the latest ISO from the [GhostBSD website](https://www.ghostbsd.org/download) and install it on a physical machine or a virtual environment.
7+
Before setting up your development environment, make sure you've covered the [general contributor requirements](../getting-started/index#requirements-for-all-contributors) including Git, GitHub account, and preferably running GhostBSD.
238

249
## Technologies We Use
2510
Here’s a quick rundown of the tools and languages you’ll encounter in GhostBSD development.
@@ -53,14 +38,21 @@ sudo pkg install dconf-editor
5338

5439
Let's get your machine ready for GhostBSD development.
5540

56-
### Install GhostBSD Base System Development Tools
41+
### Install Development Tools
5742

58-
GhostBSD doesn’t come with base system development tools preinstalled. To enable compiling code and ports, install the `GhostBSD*-dev` packages. These include essential build tools, compilers, and libraries:
43+
#### Essential Development Packages
44+
Install the development toolkit and OS development packages:
5945

6046
```shell
47+
# Install development tools and utilities
48+
sudo pkg install ghostbsd-devel-tools
49+
50+
# Install OS development packages (compilers, libraries, build tools)
6151
sudo pkg install -g 'GhostBSD*-dev'
6252
```
6353

54+
The `ghostbsd-devel-tools` package provides commonly used development tools and utilities, while the `GhostBSD*-dev` packages include essential build tools, compilers, and libraries needed for system-level development.
55+
6456
### Create a Development Directory
6557
Organize your work in a dedicated directory. A common spot is your home directory:
6658

contributor/code/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ Automation and system configuration:
2727

2828
## Getting Started with Code
2929

30-
- [Development Environment Setup](development-setup) – Set up your development machine and tools
30+
### First Steps
31+
**[Development Environment Setup](development-setup)****Start here!** Set up your development machine, install tools, and configure your environment for GhostBSD development.
32+
33+
### Development Guides
3134
- [Python Development Guide](python-guide) – Contributing to our GTK3 applications
3235
- [C Development Guide](c-guide) – Working with system components
3336
- [Shell Scripting Guide](shell-guide) – Build tools and configuration scripts

contributor/documentation/getting-started.md

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,47 @@ Ready to contribute to GhostBSD documentation? This guide will help you get star
44

55
Writing documentation is a great way to start improving GhostBSD user experience, and you will be helping a lot of GhostBSD users to better understand their desktop and applications. Anyone with reasonable English skills and good knowledge of FreeBSD, GhostBSD or MATE can help.
66

7-
## Communicating with the team
7+
## Prerequisites
8+
9+
Before contributing to documentation, make sure you've covered the [general contributor requirements](../getting-started/index#requirements-for-all-contributors) including Git, GitHub account, and familiarity with basic version control concepts.
810

9-
There are many ways to get in touch with the team:
10-
* [GhostBSD Dev](https://t.me/ghostbsd_dev) Group on Telegram
11-
* [#ghostbsd-dev:libera.chat](https://app.element.io/#/room/#ghostbsd-dev:libera.chat) channel on Matrix
12-
* #ghostbsd-dev on the Libera Chat IRC.
11+
## Communicating with the team
1312

14-
Those three messaging platform are connected together. So whatever you use IRC, Telegram or Matrix you will be connected to all the messaging platform.
13+
Get in touch with the team through our [GhostBSD Contributors](https://t.me/ghostbsd_dev) Group on Telegram.
1514

1615
## Getting the resources
1716

18-
To document GhostBSD projects, you will want to run a [recent GhostBSD build](https://www.ghostbsd.org/download#latest_builds), and to document third-party projects, you will also need a recent version of that program. We are use [Sphinx](https://www.sphinx-doc.org) with [MyST](https://myst-parser.readthedocs.io) to makes it easy to create our Documentation Hub. Any one that wants to help should start to be familiar with [Git](getting-started/getting-started.md#knowing-how-to-use-git), [GitHub](getting-started/getting-started.md#knowing-how-to-use-github) and [MyST Markdown syntax](https://myst-parser.readthedocs.io/en/latest/intro.html).
17+
To document GhostBSD projects, you will want to run a [recent GhostBSD release](https://www.ghostbsd.org/download), and to document third-party projects, you will also need a recent version of that program. We use [Sphinx](https://www.sphinx-doc.org) with [MyST](https://myst-parser.readthedocs.io) to make it easy to create our Documentation Hub. You should also get familiar with [MyST Markdown syntax](https://myst-parser.readthedocs.io/en/latest/intro.html).
18+
19+
## Setting up the Documentation Environment
20+
21+
1. **Clone the documentation repository:**
22+
```bash
23+
git clone https://github.com/ghostbsd/documentation.git
24+
cd documentation
25+
```
26+
27+
2. **Install Python dependencies:**
28+
```bash
29+
sudo pkg install -y py311-pip
30+
sudo pip install -r requirements.txt
31+
```
32+
33+
3. **Start the development server:**
34+
```bash
35+
sphinx-autobuild . build/html
36+
```
1937

20-
The instructions for install and setup can be found on the [GhostBSD Documentation GitHub](https://github.com/ghostbsd/documentation#local-development-server) repository.
38+
4. **View your work:** Open http://127.0.0.1:8000/index.html in your browser. It will automatically refresh when you save changes.
2139

2240
## Tasks
2341

24-
You can get your first contribution committed today! Here are some tasks for the beginner:
42+
You can get your first contribution committed today! Here are some tasks for beginners:
2543
* Read the documentation if there is a grammar issue, fix it
2644
* Improve the sentences and paragraphs
2745
* Update ScreenShots and Documentation
2846
* Create issues on our [GitHub Documentation Issues](https://github.com/ghostbsd/documentation/issues/new).
2947

3048
There are also tasks and issues that can be found at our [Documentation Management](https://github.com/orgs/ghostbsd/projects/5) on GitHub.
3149

32-
If you see any article from the [Wiki](https://wiki.ghostbsd.org/) that could be ported communicate the effort with the others in the GhostBSD dev chat.
50+
If you see any article from the [Wiki](https://wiki.ghostbsd.org/) that could be ported, communicate the effort with the others in the GhostBSD dev chat.

contributor/getting-started/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,27 @@ Welcome to the GhostBSD contributor community! Whether you're a developer, desig
66

77
### 🔧 Development & Technical
88
- **[Code Contribution](../code/index)** – Develop applications, system tools, and build scripts
9+
- Start with **[Development Setup](../code/development-setup)** to configure your environment
910
- **[Maintenance & Release](../maintenance-release/index)** – Help maintain ports, packages, and releases
1011

1112
### 📝 Content & Community
1213
- **[Documentation](../documentation/index)** – Write and improve user and developer documentation
1314
- **[Translations](../translations/index)** – Help translate GhostBSD into more languages
1415
- **[Community Support](../community/index)** – Help users and grow our community
1516

17+
## Requirements for All Contributors
18+
19+
### Communication in English
20+
Our contributors come from around the world, and English is our common language. You don't need to be fluent, but you should be comfortable understanding and communicating ideas effectively.
21+
22+
### Familiarity with Git and GitHub
23+
We use Git for version control and GitHub for collaboration. You'll need:
24+
- A **[GitHub account](https://github.com/)** to contribute
25+
- Basic **Git knowledge** (commits, branches, pull requests) - see [GitHub Docs](https://docs.github.com/en/get-started/start-your-journey) if you're new to Git
26+
27+
### Running GhostBSD (Recommended)
28+
For the best contribution experience, run the latest stable GhostBSD. Download from [ghostbsd.org/download](https://www.ghostbsd.org/download) - works on physical machines or virtual environments.
29+
1630
## Essential Information
1731

1832
- **[Contributors Guide](ghostbsd-contributors-guide)** – Essential information for all contributors

0 commit comments

Comments
 (0)