WindowsPerf Arm Learning Path Contribution HOWTO
Table of Contents
Introduction
In this short document we will describe how use can contribute to https://learn.arm.com/ - Learning Path for WindowsPerf.
Please see https://learn.arm.com/learning-paths/cross-platform/_example-learning-path/setup/ learning path to understand how to install and contribute to arm Learning Path in general. This document will explain how to contribute to existing WindowsPerf learning path.
Prerequisites
GitHub account that can be used to create pull requests on https://github.com/ArmDeveloperEcosystem/arm-learning-paths repository.
Linux or Windows system with installed:
Contribute
In order to contribute and send pull requests to Learning Path repo you must create https://github.com/ArmDeveloperEcosystem/arm-learning-paths fork. Go to
arm-learning-path
GitHub page and with your user account create fork.Clone your
arm-learning-path
fork locally.
git clone https://github.com/<your-github-account-name>/arm-learning-paths
Download Hugo and unzip it to directory where you usually store your binaries. Or add
hugo.exe
to system PATH. Note:Hugo
is distributed as standalone binary.Go to
arm-learning-paths
fork folder you’ve just cloned and runhugo.exe server
command in it:
cd arm-learning-paths/
hugo server
You will see:
Watching for changes in D:\repos\github_forks\arm-learning-paths\{archetypes,assets,content,data,themes}
Watching for config changes in D:\repos\github_forks\arm-learning-paths\config.toml
Start building sites …
hugo v0.120.3-a4892a07b41b7b3f1f143140ee4ec0a9a5cf3970 windows/amd64 BuildDate=2023-11-01T17:57:00Z VendorInfo=gohugoio
WARN .File.Dir on zero object. Wrap it in if or with: {{ with .File }}{{ .Dir }}{{ end }}
WARN .File.TranslationBaseName on zero object. Wrap it in if or with: {{ with .File }}{{ .TranslationBaseName }}{{ end }}
| EN
-------------------+-------
Pages | 1175
Paginator pages | 0
Non-page files | 412
Static files | 58
Processed images | 0
Aliases | 0
Sitemaps | 1
Cleaned | 0
Built in 6413 ms
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at //localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
You can now open http://localhost:1313 webpage with prerendered Learning Path:
Some of the WindowsPerf articles are under “Laptops & Desktops”. You can go directly to http://localhost:1313/learning-paths/laptops-and-desktops/ and search for
WindowsPerf
keyword:
Note: Hugo server will automatically refresh content of Learning Path page when you update content, especially markdown files.
You will find WindowsPerf content in
arm-learning-path
here:
WindowsPerf Learning Path articles |
---|
|
|
Sending pull request to arm-learning-paths
repo
Create new branch in your fork.
Update / add new content to Learning Path.
Commit your changes locally.
Git push your local branch to your remote fork.
You can use GitHub online interface to create pull request.
You can see some of the WindowsPerf pull requests here.