Skip to content

Commit

Permalink
Revert "Fill sections to individual content files (#532)"
Browse files Browse the repository at this point in the history
This reverts commit 3650563.
  • Loading branch information
jackorp committed Mar 25, 2024
1 parent 3650563 commit 79d28a1
Show file tree
Hide file tree
Showing 85 changed files with 295 additions and 360 deletions.
1 change: 0 additions & 1 deletion deployment/copr/copr-cli.md
@@ -1,6 +1,5 @@
---
title: Copr command line interface
section: deployment
subsection: copr
---

Expand Down
1 change: 0 additions & 1 deletion deployment/flatpak/flatpak-install.md
@@ -1,7 +1,6 @@
---
title: Installing Flatpak
subsection: flatpak
section: deployment
order: 2
---

Expand Down
1 change: 0 additions & 1 deletion deployment/flatpak/flatpak-usage.md
@@ -1,7 +1,6 @@
---
title: Flatpak Usage
subsection: flatpak
section: deployment
order: 4
---

Expand Down
6 changes: 3 additions & 3 deletions deployment/maintain/rebase-helper-integration.md
@@ -1,20 +1,19 @@
---
title: Rebase helper integration
subsection: maintain
section: deployment
order: 3
---

# Integrating rebase-helper with an upstream monitoring service

This chapter demonstrates how to include rebase-helper in your upstream monitoring service.
This chapter demonstrates how to include rebase-helper in your upstream monitoring service.
If you would like to integrate rebase-helper into your upstream monitoring services, this chapter is for you.
Rebase-helper provides an API which you can use either directly from Python, or directly from the command line.

## Patch new upstream version and start scratch builds
Example of patching new sources and starting scratch builds with fedpkg.
This returns task_ids. The bash equivalents are included for comparison:

### Python API

```python3
Expand Down Expand Up @@ -46,3 +45,4 @@ rh.get_rebasehelper_data() # Get all information about the results
```sh
rebase-helper --non-interactive --builds-nowait --buildtool fedpkg --build-tasks old_id,new_id
```

4 changes: 2 additions & 2 deletions deployment/maintain/rebase-helper.md
@@ -1,7 +1,6 @@
---
title: Rebase helper
subsection: maintain
section: deployment
order: 2
---

Expand Down Expand Up @@ -42,6 +41,7 @@ $ cd $HOME/rpmbuild/REPOS/foobar
$ rebase-helper 1.2.1
```

If you do not want to be bothered, add the ``--non-interactive`` option to rebase-helper's command line
If you do not want to be bothered, add the ``--non-interactive`` option to rebase-helper's command line

After rebase-helper finishes, check the output.

1 change: 0 additions & 1 deletion deployment/maintain/static-analysis.md
@@ -1,7 +1,6 @@
---
title: Static Analysis
subsection: maintain
section: deployment
order: 4
---

Expand Down
5 changes: 4 additions & 1 deletion deployment/secondary_architectures/powerpc.md
@@ -1,7 +1,7 @@
---
title: PowerPC
subsection: secondary_architectures
section: deployment

order: 2
---

Expand Down Expand Up @@ -63,3 +63,6 @@ If you face any difficulty reach out to us for help:
## More documentation

- More Fedora PowerPC specific details cane be found at [fedoraproject wiki](https://fedoraproject.org/wiki/Architectures/PowerPC)



7 changes: 5 additions & 2 deletions deployment/secondary_architectures/s390.md
@@ -1,7 +1,7 @@
---
title: s390(x)
subsection: secondary_architectures
section: deployment

order: 3
---

Expand Down Expand Up @@ -39,7 +39,7 @@ The following example will demonstrate how to build an application for s390(x) a

```
# Initiate iprutils package build for s390(x) architecture
$ s390-koji build --scratch rawhide iprutils-2.4.11.1-1.fc25.src.rpm
$ s390-koji build --scratch rawhide iprutils-2.4.11.1-1.fc25.src.rpm
Created task: 2183374
Task info: http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2183374
....
Expand All @@ -63,3 +63,6 @@ If you face any difficulty reach out to us for help:
## More documentation

More Fedora s390(x) specific details can be found at [Fedora Project wiki](https://fedoraproject.org/wiki/Architectures/s390x)



9 changes: 4 additions & 5 deletions start/sw/web-app/apache.md
@@ -1,6 +1,5 @@
---
title: Apache HTTP Server
section: start-sw
subsection: web-app
order: 2
---
Expand Down Expand Up @@ -28,17 +27,17 @@ To run the Apache server immediately, type:
sudo systemctl start httpd.service
```

To try if your Apache server is running, visit your localhost page at [http://localhost](http://localhost).
To try if your Apache server is running, visit your localhost page at [http://localhost](http://localhost).

If everything goes as expected, you will see the Fedora Test Page:

![](./images/screenshot.png?raw=true)

# How to run your own web presentation

The root directory of your web server is now situated at ```/var/www/html/```.
The root directory of your web server is now situated at ```/var/www/html/```.

**WARNING: The owner of this directory is the root user!**
**WARNING: The owner of this directory is the root user!**

To disable rendering the Fedora Test Page, comment out all the lines in ```/etc/httpd/conf.d/welcome.conf```.
After that, create an ```index.html``` file with your customized content in the ```/var/www/html/``` directory, for example:
Expand Down Expand Up @@ -71,5 +70,5 @@ sudo systemctl restart httpd.service

# More information

For more information about the Apache HTTP Server in Fedora you can visit [Fedora Wiki page](https://fedoraproject.org/wiki/Apache_HTTP_Server).
For more information about the Apache HTTP Server in Fedora you can visit [Fedora Wiki page](https://fedoraproject.org/wiki/Apache_HTTP_Server).
For general information about the Apache HTTP Server you can visit [Apache HTTP Server documentation page](https://httpd.apache.org/docs/current/).
18 changes: 9 additions & 9 deletions start/sw/web-app/django.md
@@ -1,14 +1,13 @@
---
title: Python Django
title: Python Django
subsection: web-app
section: start-sw
order: 3
---

# What's Django?

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Django is one of the most popular Python Web Frameworks. It has very useful web page. Visit it by clicking on [this link](https://www.djangoproject.com/).
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Django is one of the most popular Python Web Frameworks. It has very useful web page. Visit it by clicking on [this link](https://www.djangoproject.com/).
Because you will need to work with Python packages, write this command to your command line.

```
Expand All @@ -19,7 +18,7 @@ $ sudo dnf install python3-pip

### How to install virtualenv

It's recommended to keep your project inside virtual environment. But you can skip this step if you want.
It's recommended to keep your project inside virtual environment. But you can skip this step if you want.
Enter this command to your command line for installation:

```
Expand Down Expand Up @@ -47,7 +46,7 @@ $ cd venv
$ source bin/activate
```

When it's activated we will see indicator of same name as our virtualenv.
When it's activated we will see indicator of same name as our virtualenv.
Now we will check if we really have empty environment:

```
Expand All @@ -58,7 +57,7 @@ It will return nothing.

### How to install Django

Now if you installed `virtualenv` do not leave it, we will install Django now. If you installed `virtualenv` use this command
Now if you installed `virtualenv` do not leave it, we will install Django now. If you installed `virtualenv` use this command
inside your working directory with activated `virtualenv`:

```
Expand All @@ -84,15 +83,15 @@ and when it's finished use following command to start your first project called
$ django-admin startproject mysite
```

Now if you will check your directory using ls you will see new directory called mysite. We
Now if you will check your directory using ls you will see new directory called mysite. We
will go inside that directory and we will run our project by following commands:

```
$ cd mysite/
$ python3 manage.py runserver
```

You will see message with information about your development server. When you insert URL into your browser,
You will see message with information about your development server. When you insert URL into your browser,
you will see welcome page (default URL for development server is http://127.0.0.1:8000/).
And you successfully started your first Django project.

Expand All @@ -110,3 +109,4 @@ $ mkvirtualenv env2
$ workon env1
$ workon env2
```

1 change: 0 additions & 1 deletion start/sw/web-app/hugo.md
@@ -1,7 +1,6 @@
---
title: Hugo
subsection: web-app
section: start-sw
order: 8
---

Expand Down
1 change: 0 additions & 1 deletion start/sw/web-app/jekyll.md
@@ -1,7 +1,6 @@
---
title: Jekyll
subsection: web-app
section: start-sw
order: 5
---

Expand Down
13 changes: 6 additions & 7 deletions start/sw/web-app/laravel5.md
@@ -1,14 +1,13 @@
---
title: PHP Laravel 5
subsection: web-app
section: start-sw
order: 4
---

## Laravel 5
> The PHP Framework For Web Artisans
Laravel is a high-level PHP MVC framework. It is also the most used PHP framework today. For more information, [click here](https://laravel.com/).
Laravel is a high-level PHP MVC framework. It is also the most used PHP framework today. For more information, [click here](https://laravel.com/).

This guide will help you setup your local development environment for Laravel, and it applies to setting up Lumen as well.

Expand All @@ -34,17 +33,17 @@ $ sudo dnf install composer
Your web server needs to be restarted after installing PHP package.

#### Install Valet Linux
We will need to set it up for easier development. Valet is original designed for MacOS by the Laravel Team; Valet Linux is a port to that. It setups up the neccesary environments for PHP Development, including a test domain. Please do not run valet as root.
For More Information, you can check them out here:
We will need to set it up for easier development. Valet is original designed for MacOS by the Laravel Team; Valet Linux is a port to that. It setups up the neccesary environments for PHP Development, including a test domain. Please do not run valet as root.
For More Information, you can check them out here:
[Valet Linux](https://cpriego.github.io/valet-linux/) and [Laravel Valet](https://laravel.com/docs/5.7/valet)

You can also setup Laravel using [Vagrant](/tools/vagrant/about.html), [Docker](/tools/docker/about.html).

```bash
# Place the ~/.config/composer/vendor/bin directory in your PATH so the composer
# Place the ~/.config/composer/vendor/bin directory in your PATH so the composer
# global executable can be located by your system.
$ echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> ~/.bashrc
# Install valet
# Install valet
$ composer global require cpriego/valet-linux
# Initialize valet
$ valet install
Expand All @@ -66,7 +65,7 @@ $ laravel new ProjectName
$ cd ProjectName
$ cp .env.example .env
#Editing your environment file
$ gedit .env
$ gedit .env
```

Edit the .env file with DB_* lines with the correct info
Expand Down
1 change: 0 additions & 1 deletion start/sw/web-app/nginx.md
@@ -1,7 +1,6 @@
---
title: NGINX HTTP Server
subsection: web-app
section: start-sw
order: 7
---

Expand Down
2 changes: 1 addition & 1 deletion start/sw/web-app/php-symfony.md
@@ -1,7 +1,6 @@
---
title: PHP Symfony
subsection: web-app
section: start-sw
order: 8
---

Expand All @@ -12,3 +11,4 @@ To install the latest upstream version of Symfony, type:
```
$ sudo dnf install php-symfony
```

2 changes: 1 addition & 1 deletion start/sw/web-app/php-zend.md
@@ -1,7 +1,6 @@
---
title: PHP Zend Framework 2
subsection: web-app
section: start-sw
order: 9
---

Expand All @@ -12,3 +11,4 @@ To install the latest upstream version of Zend Framework 2, type:
```
$ sudo dnf install php-ZendFramework2
```

1 change: 0 additions & 1 deletion start/sw/web-app/rails.md
@@ -1,7 +1,6 @@
---
title: Ruby on Rails
subsection: web-app
section: start-sw
order: 6
---

Expand Down
1 change: 0 additions & 1 deletion tech/languages/c/autotools.md
@@ -1,7 +1,6 @@
---
title: Autotools
subsection: c
section: tech-languages
order: 3
---

Expand Down
3 changes: 1 addition & 2 deletions tech/languages/c/cmake.md
@@ -1,7 +1,6 @@
---
title: CMake
subsection: c
section: tech-languages
order: 4
---

Expand Down Expand Up @@ -40,7 +39,7 @@ The beauty of CMake is that after you create a simple CMakeLists.txt file you on

This command should be used in a directory where you want to have the Makefile for your project.
It will create all necessary Makefiles and configuration files needed to compile your project.
It is considered good practice to build outside of the source tree (i.e. do not execute the above command from within your source code directory). This will help to keep your source code free from any build artifacts and it also makes it easier to clean up if things go wrong.
It is considered good practice to build outside of the source tree (i.e. do not execute the above command from within your source code directory). This will help to keep your source code free from any build artifacts and it also makes it easier to clean up if things go wrong.


Than after using the command `make` your project is built and ready for use.
Expand Down
1 change: 0 additions & 1 deletion tech/languages/c/cpp_installation.md
@@ -1,7 +1,6 @@
---
title: C++
subsection: c
section: tech-languages
order: 2
---

Expand Down
11 changes: 5 additions & 6 deletions tech/languages/c/gtk.md
@@ -1,7 +1,6 @@
---
title: Gtk+
subsection: c
section: tech-languages
order: 7
---

Expand All @@ -28,20 +27,20 @@ To begin our introduction to Gtk+, we will start with the simplest program possi
```c
#include <gtk/gtk.h>

int
int
main(int argc,
char *argv[])
{
GtkWidget *window;

gtk_init (&argc, &argv);

window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window), "Hello World");
gtk_widget_show (window);

gtk_main ();

return 0;
}
```
Expand Down
1 change: 0 additions & 1 deletion tech/languages/c/static-analysis.md
@@ -1,7 +1,6 @@
---
title: Static Analysis
subsection: c
section: tech-languages
order: 6
---

Expand Down

0 comments on commit 79d28a1

Please sign in to comment.