Skip to content

add hub

bmen edited this page Mar 30, 2023 · 1 revision

For each hub there is a file in the "_hubs" directory. To change a hub, you must make the change in the corresponding file. To create a new hub, another file must be created in the "_hubs" directory. For this purpose the already created files can be used as a template. As soon as a new file is created, a new hub is automatically displayed on the website: https://asknet.community/#hubs

1. switch to the Content Branch

Before you can make changes you have to switch to the content branch. You can find out how to do this here: Select Content Branch

2. navigate to the "_hubs" directory

To see the files from the hubs, you need to navigate to the "_hubs" directory.

navigate-to-folder-hubs navigate-to-folder-hubs

3. create new hub

To create a new hub, one of the files can be copied and then the content can be customized.

4. copy hub

To copy a file via the web interface, the content of a file must be copied manually.

copy-content-of-file_1

5. open file in raw format

The content must be copied in the so-called raw format to get the correct formatting of the content.

see-raw-content

6. copy content

Now copy the content to the clipboard.

copy-raw-content

7. create new file

Now you can create a new empty file

create-new-file

8. give the file a title, insert the content and customize it

The first thing to do is to give the file a title. Important: The name of a file must end with .md! Then the content in the clipboard can be inserted and adjusted.

paste-content-in-new-file

9. commit changes

When all changes have been made, they can be saved with a commit.

commit-changes

10. publish changes on website

In order to publish the change to the website, a pull request from the "Content" branch to the "Main" branch must be made. You can learn how to do this here Create Pull Request.