Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 2 additions & 35 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,9 @@ title: Academy

<!-- this page is only used in local dev setup , this wont be used or rendered in production -->


{{% blocks/lead color="primary" %}}

[LearningPaths](https://cloud.layer5.io/academy/learning-paths)

[Challenge](https://cloud.layer5.io/academy/challenges)
[Learning Paths](/academy/learning-paths)


---
*Below this line, this reminder won't appear when published.*

### Welcome to dev environment for your Academy
> This is just a development page that shows during the build process. The development process is extraordinarily simple - you can start building it out bit by bit or dive right in.



{{% /blocks/lead %}}

#### What Your Academy Will Look Like

> When published, your Academy will feature two main sections ([This Page looks like](https://cloud.layer5.io/academy/)
)

> - **[Learning Paths](/academy/learning-paths/)** - Structured courses combining theoretical knowledge with hands-on labs
>
> - **[Challenges](/academy/challenges/)** - Time-based, practical labs to test and validate skills


#### Build Process

> Here's the simple workflow:
>> 1. **Develop locally** - Make your changes and test them here

>> 2. **Merge when ready** - Your Academy stays private until you decide to publish

>> 3. **Publish when ready** - Release it to your organization


**Need help?** [Documentation](https://github.com/layer5io/layer5-academy/blob/master/README.md) | [Contact Us](https://mesheryio.slack.com/ssb/redirect)
{{< org/info >}}
119 changes: 119 additions & 0 deletions layouts/shortcodes/org/info.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
<div class="academy-summary">
<h3>Welcome to dev environment for your Academy</h3>
<p>
The Layer5 Cloud Academy is a modular learning management system (LMS) designed for building learning paths and
interactive, hands-on challenges. This integration allows you to embed live visualizations, interactive
designs, and contextual experiences directly into your courses.
</p>
<div>
<h4>Things to Keep in Mind</h4>
<ul>
<li>The content will be published to <a href="https://cloud.layer5.io/academy/"
target="_blank">cloud.layer5.io/academy</a> only after a release is made in the Academy Repository.
</li>
<li>The preview you see here uses default theme colors. On <a href="https://cloud.layer5.io/academy"
target="_blank">cloud.layer5.io/academy</a>, styles will match your organisation's selected theme.
</li>
<li>
It’s a good practice to update the theme before creating a new release or when you notice that your
local preview is missing recent design changes.
</li>
</ul>
</div>
<div class="example">
<h4>Academy Example</h4>
<p>
The
<a href="https://github.com/layer5io/academy-example">academy-example</a>
is a starter template for creating custom learning paths and courses on the Layer5 Academy. It provides the
necessary file structure and a working example to help you get started quickly.
</p>
</div>
<div class="theme">
<h4>Academy Theme</h4>
The
<a href="https://github.com/layer5io/academy-theme">academy-theme</a>
provides the core layout, style, and features for your learning path. Regularly updating it ensures you benefit
from
the latest improvements and bug fixes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we hardcode the latest version?

<p>
Latest Academy Theme Version: <span id="theme-version">Loading...</span>
</p>
<p>
To upgrade to the latest theme version, run: <code>make theme-update</code>
</p>
</div>

<div class="structure">
<h4>Academy Structure</h4>
<h5>Core Directories</h5>
Now, inside your academy-example project, you should see the following top-level folders.
<ul>
<li>
<strong>content/learning-paths/your-organization-uid/</strong> This content directory is where all your
written
material lives.
The
folder hierarchy you create here directly defines the navigation and organization of your learning
paths.
</li>
<li>
<strong>layouts/shortcodes/your-organization-uid/</strong> This layouts directory is for advanced use.
You can
place custom
Hugo
Shortcodes here if you need special reusable components.
Comment on lines +62 to +65

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems they are listed on one line in your screenshot?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which is good. They shouldn't be on multiple lines here, though.... at least not in terms of cleanliness. They render on a the same line, which makes this acceptable.

</li>
</ul>
<h5>Content Hierarchy</h5>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incomplete.

Either the rest of the content types need to be represented or a note needs to be included to say that this is only part of what is supported and a hyperlink included to Layer5 Docs with the full list.

<pre><code>
learning-paths/
└── mastering-kubernetes/ // <-- Learning Path
├── _index.md
├── advanced-networking/ // <-- Course 1
│ └── _index.md
└── core-concepts/ // <-- Course 2
├── _index.md
├── course-exam.md // <-- Course Exam (Test)
└── 01-pods-and-services/ // <-- Module
├── _index.md
├── 01-pods.md // <-- Page 1
├── 02-services.md // <-- Page 2
├── 03-knowledge-check.md // <-- Test
├── 04-hands-on-lab.md // <-- Lab
└── arch.png // <-- Image
</code></pre>
<p>The _index.md file within a folder is crucial as it defines the metadata for that level.</p>
<h5>Front matter</h5>
<p>
Front matter is the configuration block at the top of every content file that defines its metadata. The most
critical field is type, which tells the Academy how to render the content.
</p>

</div>
<p>
<strong>Need help?
<a href="https://docs.layer5.io/cloud/academy/" target="_blank">
Documentation
</a>|
<a href="https://layer5.io/company/contact" target="_blank">
Contact Us
</a>
</strong>
</p>
</div>

<script>
async function fetchThemeVersion() {
const res = await fetch("https://api.github.com/repos/layer5io/academy-theme/releases/latest");
const data = await res.json();

if (res.ok) {
document.getElementById("theme-version").textContent = data.tag_name || data.name;
} else {
document.getElementById("theme-version").textContent = "Could not fetch version";
}
}

fetchThemeVersion();
</script>