Skip to content

Commit 3ef67bb

Browse files
nbhansenclaude
andcommitted
Fix navigation config for new wiki structure
- Update docs/.pages to reference Onboarding, Process, Archive - Remove references to deleted Getting_Started and Legacy - Add .pages files for new Onboarding/ and Process/ sections Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 5c6bb22 commit 3ef67bb

File tree

12 files changed

+60
-204
lines changed

12 files changed

+60
-204
lines changed

docs/.pages

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
arrange:
22
- index.md
33
- ...
4-
- Getting_Started
4+
- Onboarding
5+
- Process
56
- Development
67
- Legal
78
- About
8-
- Legacy
9+
- Archive

docs/Archive/Handover/2020E/Sprint_Events/release_preparation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ repositories:
5656
containers are only restarted every second week. This means that the docker
5757
container has to be restarted manually in order to get the server to use
5858
the newly released **web-api** immediately. It is done by logging onto Portainer (Credentials
59-
can be found [here](../../../Getting_Started/ownership_transfer.md#portainer-access))
59+
can be found in [Accounts & Access](../../../../Onboarding/accounts_and_access.md))
6060
where you need to restart all the containers that have a name that starts
6161
with **Giraf_API_PROD**.

docs/Archive/index.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# Overview
1+
# Archive
22

3-
This section contains legacy content related to GIRAF development between 2018 and 2020.
4-
The files were meant to inspire and guide future GIRAF developers, and although the weekplanner project has been retired, they still provide usefull insights.
3+
> **Note:** This section contains historical content from GIRAF development between 2018 and 2020. While the weekplanner project has been retired, these materials may provide useful context and inspiration.
4+
5+
For current process documentation, see [Process](../Process/index.md).
6+
7+
## Contents
8+
9+
- [Handover](./Handover/index.md) — Semester handover documents and guides
10+
- [Releases](./Releases/index.md) — Historical release notes
11+
- [Weekplanner](./weekplanner/Apps/index.md) — Archived weekplanner documentation

docs/Archive/weekplanner/Web_API/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Information about the endpoints and controllers in the Web API can be found
4747

4848
## Run the Web API Locally
4949

50-
A guide on how to build and run the Web API locally can be found in the [Setup Guide](../../Getting_Started/setup.md).
50+
*Note: The weekplanner project has been retired. Setup guides for current projects can be found in [Development](../../../Development/index.md).*
5151

5252
## Settings
5353

docs/Development/VTA/Setup/AppSettings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The files created in this guide, has been added to `.gitignore` to avoid committ
1010

1111
## Prerequisites
1212

13-
All nessecary secrets and connection strings can be found in the project's KeePass. See the [GIRAF Passwords](../../../Getting_Started/ownership_transfer.md#giraf-passwords) for more information.
13+
All necessary secrets and connection strings can be found in the project's KeePass. See [Accounts & Access](../../../Onboarding/accounts_and_access.md) for more information.
1414

1515
## Backend Configuration
1616

docs/Development/github.md

Lines changed: 3 additions & 169 deletions
Original file line numberDiff line numberDiff line change
@@ -1,171 +1,5 @@
1-
# Use of GitHub in GIRAF
1+
# GitHub Guide
22

3-
This article explains how GitHub is used as a version control tool and more in the development of GIRAF applications.
3+
> **This page has moved.** See [Code Workflow](../Process/code_workflow.md) for the current Git and GitHub workflow documentation.
44
5-
## Issues
6-
7-
Issues are created by the development teams as well as the PO group.
8-
An issue can be a bug report or a task creation request.
9-
10-
The PO group prioritises, assigns and adds milestones to issues.
11-
12-
The list of issues can be seen at each repository, by navigating to the "Issues" tab in the header of the repository.
13-
Alternatively a [complete list](https://github.com/issues?q=is%3Aopen+is%3Aissue+archived%3Afalse+user%3Aaau-giraf)
14-
for the whole organization can be viewed.
15-
If the application has GitHub Projects set up, it is also possible to view the Issues by navigating to the [Projects](https://github.com/orgs/aau-giraf/projects/) tab. Here, issues can be assigned to sub teams and set up in Trello boards of readability.
16-
17-
### Getting an Issue to Work on
18-
19-
If you have time to work on a new issue, you can get a new one by following
20-
these steps:
21-
22-
1. Find an issue you want to work on
23-
1. Ask the PO group if you can work on that issue
24-
- The PO group might say no for various reasons and they have the final say,
25-
as they have a better overview.
26-
- There is usually a greater chance of getting a yes if the issue you've
27-
picked is either _highest_ or _high_ priority.
28-
29-
If you don't have a preferred issue you can ask the PO group to be assigned the
30-
most pressing issue, as they have a good overview of the project and they will
31-
most likely have some issues that they would like you to work with.
32-
33-
### Creating an Issue
34-
35-
If you find a bug, or have a task creation request you can create an issue:
36-
37-
1. Go the the "Issues" tab of the relevant repository (E.g. <https://github.com/aau-giraf/foodplanner/issues>).
38-
1. Press the green "New issue" button.
39-
1. Choose whether to submit a bug report or task creation request, and press
40-
"Get started".
41-
1. Create a title and description for the issue. Please follow the template, and
42-
don't delete the headers!
43-
- The title for the *Task Creation Request* should tell what functionality
44-
you would like added using the shown form "As a developer I would like the
45-
docker config file to automatically update so that I don´t have to manually
46-
update the config file".
47-
Instead of the task being for the developer, guardian or user is also
48-
frequently used.
49-
1. Label the issue with appropriate labels.
50-
1. It can be a good idea to inform the PO group when you are done, so they can
51-
assign and refine the issue.
52-
53-
54-
The same can be achieved by accessing the GitHub Projects (E.g. https://github.com/orgs/aau-giraf/projects/42) and adding the issue there.
55-
56-
## Branches and Pull Requests
57-
58-
We follow the [GitFlow Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow)
59-
as explained in [the process manual of 2019](../Legacy/Handover/2019/process_group_information.md#our-adaptation-of-gitflow).
60-
61-
During the sprints, all development is done in feature branches, branching out
62-
from the `develop` branch.
63-
64-
![GitFlow diagram](./images/gitflow.png "Gitflow diagram")
65-
66-
The **naming convention** for feature branches is `feature/xx` where `xx` is
67-
replaced by the issue number.
68-
69-
When the [Release Preparation](../Legacy/Handover/2020F/giraf_events.md#release-preparation) phase
70-
begins, a release branch is created from the `develop` branch.
71-
This branch is now used **instead** of `develop` until the sprint is over.
72-
73-
The **naming convention** for release branches is `release/YYYYsXrZ` where `YYYY`
74-
is replaced by year, `X` with the sprint number and `Z` with the release number.
75-
76-
E.g. `release/2020s1r1` for 2020, sprint 1, release 1.
77-
78-
### Creating a Branch
79-
80-
#### During Sprints
81-
82-
When you start working on an issue, you create a branch from `develop` called
83-
`feature/xx` where `xx` is the issue number.
84-
85-
From the terminal:
86-
87-
```bash
88-
git checkout develop
89-
git checkout -b feature/xx
90-
```
91-
92-
Or from GitHub:
93-
94-
1. Make sure `develop` is selected.
95-
96-
![Selecting develop branch](./images/github-branch-develop-selected.png)
97-
98-
1. Input the name of the branch (e.g. for feature 400).
99-
100-
![Create new branch](./images/github-create-branch.png)
101-
102-
1. Press "Create branch: feature/xx from 'develop'"
103-
104-
#### During Release Preparation
105-
106-
When you start working on a release fix, you create a branch from `release/*`
107-
called `releasefix/xx` where `xx` is the issue number.
108-
109-
```bash
110-
git checkout release/*
111-
git checkout -b releasefix/xx
112-
```
113-
114-
Or from GitHub using the same procedure as above, **but** with the release
115-
branch as base instead, and with the release fix naming convention.
116-
117-
### Creating a Pull Request
118-
119-
When you have finished your issue, it is time to create a pull request.
120-
A pull request is a request to merge your branch into another branch.
121-
122-
Before making the pull request, make sure that the code:
123-
124-
- Only relates to a single issue. (One PR per user story)
125-
- Is fully tested.
126-
- Is reachable when opening the application.
127-
128-
**Fully tested means that if any piece of the functionality is removed, a test
129-
should fail.**
130-
131-
**Creating a pull request on GitHub:**
132-
133-
1. Open the "Pull requests" tab in the repository (e.g. <https://github.com/aau-giraf/foodplanner/pulls>)
134-
1. Press "New pull request"
135-
1. Select the appropriate branch as base.
136-
- `develop` if during sprint
137-
- `release/*` if during release preparation
138-
1. Select your branch for as compare
139-
1. Press "Create pull request"
140-
1. Name the pull request `Feature xx` or `Feature xx: A title describing changes`
141-
1. Write a description
142-
- If you write `closes #xx` or `fixes #xx`, issue xx will be linked to the PR
143-
and will close when the PR is merged. ([All keywords](https://help.github.com/en/enterprise/2.16/user/github/managing-your-work-on-github/closing-issues-using-keywords#about-issue-references))
144-
145-
## Code Review
146-
147-
After being assigned a pull request, the group should review the code under the
148-
_Files changed_ tab. Look for code that may be deprecated, unnecessary,
149-
non-optimized or has weird formatting.
150-
151-
Start at <https://github.com/aau-giraf/>
152-
153-
1. Choose repository eg. weekplanner.
154-
1. Click on the **Pull Request** tab.
155-
1. Choose an open pull request from the list.
156-
1. Click on the **Files Changed Tab**. All the changes can be seen in these files.
157-
![Files changed tab!](./images/files-changed.png "The code you should review is here")
158-
1. Make a comment or suggestion on a single line or multiple lines by pressing
159-
the blue + icon (move the cursor to a line).
160-
The red square marks the selection icon which can be used to suggest code
161-
that replaces the line(s).
162-
![Write suggestions!](./images/write-suggestion.png "Try dragging the blue icon across multiple lines")
163-
You can view what the author will see by clicking **Preview**.
164-
![Preview suggestions!](./images/preview_example.PNG "Comment and suggestion")
165-
1. Having looked over all the files, click **Review changes**.
166-
1. If you made comments, make sure the author looks them through by choosing
167-
**Request changes** before clicking **Submit review**. If changes are made,
168-
you have to re-review the pull request!
169-
![Request changes!](./images/request-changes.png "Request changes. The author cannot merge yet!")
170-
2. If the changes makes sense, click **Approve**.
171-
![Approve changes!](./images/approve-changes.png "Approve changes. The author can merge")
5+
For historical GitHub practices from 2018-2020, see [Archive → Handover](../Archive/Handover/index.md).

docs/Development/index.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
# Overview
1+
# Development
22

3-
This section contains information for developing on GIRAF projects.
3+
This section contains technical information for developing GIRAF applications.
44

5-
- [Architecture Overview](./architecture.md)
6-
How the GIRAF ecosystem fits together - repositories, tech stack, and data flow.
7-
- [GitHub Guide](./github.md)
8-
Git workflow, branching strategy, and PR process.
5+
## Contents
96

10-
For historical information from prior semesters, see [Legacy](../Legacy/index.md).
7+
- [Architecture Overview](./architecture.md) — How the GIRAF ecosystem fits together
8+
- [Foodplanner Setup](./Food%20Planner/Setup/Development%20Database.md) — Database and environment setup
9+
- [VTA Setup](./VTA/index.md) — Visual Tangible Artefacts development
10+
11+
## Related
12+
13+
- [Code Workflow](../Process/code_workflow.md) — Git workflow, branching, and PR process
14+
- [Archive](../Archive/index.md) — Historical technical documentation from 2018-2020

docs/Getting_Started/.DS_Store

-6 KB
Binary file not shown.

docs/Getting_Started/.pages

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/Onboarding/.pages

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
arrange:
2+
- index.md
3+
- accounts_and_access.md
4+
- tools.md

0 commit comments

Comments
 (0)