-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #618 from ArmDeveloperEcosystem/main
Merge to production
- Loading branch information
Showing
8 changed files
with
105 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
docker build --platform linux/amd64 -t armswdev/learn-dev-container:amd64 . | ||
docker build --platform linux/arm64 -t armswdev/learn-dev-container:arm64 . | ||
|
||
docker push armswdev/learn-dev-container:amd64 | ||
docker push armswdev/learn-dev-container:arm64 | ||
|
||
docker manifest create armswdev/learn-dev-container:latest \ | ||
--amend armswdev/learn-dev-container:arm64 \ | ||
--amend armswdev/learn-dev-container:amd64 | ||
|
||
docker manifest push --purge armswdev/learn-dev-container:latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
{ | ||
"name": "Arm Learning Paths", | ||
|
||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"image": "docker.io/armswdev/learn-dev-container:latest", | ||
|
||
"forwardPorts": [1313], | ||
|
||
"remoteUser": "ubuntu", | ||
|
||
"postStartCommand": "nohup bash -c 'hugo server --baseUrl=/ --liveReloadPort=443 --appendPort=false --bind=0.0.0.0 &' " | ||
"postStartCommand": "nohup bash -c 'hugo ; bin/pagefind --site public --output-subdir ../static/pagefind ; hugo server --baseUrl=/ --liveReloadPort=443 --appendPort=false --bind=0.0.0.0 &' " | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
content/learning-paths/cross-platform/_example-learning-path/questions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: "Common questions" | ||
|
||
weight: 10 | ||
|
||
layout: "learningpathall" | ||
--- | ||
|
||
### Why is the search box missing on the home page? | ||
|
||
The search index is not automatically generated, but you can add it to enable the search box. | ||
|
||
Refer to the information about the search box in the [Learning Path setup](../setup/#search) section. | ||
|
||
### Why are my Learning Path pages in the wrong order? | ||
|
||
Each markdown file has a value called weight. | ||
|
||
The _index.md is always first (weight: 1). You should start your next page with weight: 2 and continue to increment the weight values on each new page. | ||
|
||
The weight values determine the page order. | ||
|
||
|
||
### Why do I have multiple Back and Next buttons on my page? | ||
|
||
If you see multiple buttons on a single page, it means you have 2 markdown files with the same weight. | ||
|
||
Modify the weight values to be unique and the extra buttons will disappear. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters