Skip to content

Commit

Permalink
issue ansible#206 reference to Ansible Test (ansible#209)
Browse files Browse the repository at this point in the history
- Update the ecosystem page so test is included with core
- Separate data fields for the core page from the ecosystem page
  • Loading branch information
oraNod authored Dec 14, 2023
1 parent 36f46f2 commit 5cd31db
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 16 deletions.
16 changes: 8 additions & 8 deletions data/ecosystem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,14 @@ compat:
home: "https://ansible.readthedocs.io/projects/compat/"
core:
name: Ansible Core
description: Ansible Core is the language and runtime that powers automation.
docs:
home: "https://docs.ansible.com/ansible-core/devel/index.html"
description: Ansible Core is the language and runtime that powers automation. It also provides command-line tools such as Ansible Test.
docs:
core:
link: "https://docs.ansible.com/ansible-core/devel/index.html"
button: Ansible Core documentation
test:
link: "https://docs.ansible.com/ansible-core/devel/dev_guide/testing_running_locally.html"
button: Ansible Test documentation
eda:
name: Event-Driven Ansible Server
description: Event-Driven Ansible Server offers scalable and flexible automation that can subscribe to a wide variety of event sources.
Expand Down Expand Up @@ -115,11 +120,6 @@ sign:
description: Ansible Sign is a utility for signing and verifying Ansible content.
docs:
home: "https://ansible.readthedocs.io/projects/sign/"
test:
name: Ansible Test
description: Ansible Test is a command-line tool for performing sanity, unit, and integration testing with Ansible Core and collections.
docs:
home: "https://docs.ansible.com/ansible-core/devel/dev_guide/testing_running_locally.html"
vscode:
name: Ansible VS Code Extension
description: The VS Code extention adds Ansible language support to Visual Studio Code and OpenVSX compatible editors.
Expand Down
8 changes: 8 additions & 0 deletions data/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ core:
core_ja:
title: 日本語ドキュメント (Japanese)
text: Access Japanese translations for Ansible Core documentation.
core:
name: Ansible Core
description: Ansible Core is the language and runtime that powers automation.
docs: "https://docs.ansible.com/ansible-core/devel/index.html"
test:
name: Ansible Test
description: Ansible Test is a command-line tool for performing sanity, unit, and integration testing with Ansible Core and collections.
docs: "https://docs.ansible.com/ansible-core/devel/dev_guide/testing_running_locally.html"
### ecosystem.html
ecosystem:
title: Ansible Ecosystem
Expand Down
16 changes: 8 additions & 8 deletions templates/core.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ <h2>{{ pages.core.title }}</h2>
</div>
</div>
<div class="width-6-12 width-12-12-m">
<h5>{{ ecosystem.core.name }}</h5>
<p>{{ ecosystem.core.description }}</p>
<a class="btn" href="{{ ecosystem.core.docs.home }}" role="button">
{{ ecosystem.core.name }} documentation
<h5>{{ pages.core.core.name }}</h5>
<p>{{ pages.core.core.description }}</p>
<a class="btn" href="{{ pages.core.core.docs }}" role="button">
{{ pages.core.core.name }} documentation
</a>
</div>
<div class="width-6-12 width-12-12-m">
<h5>{{ ecosystem.test.name }}</h5>
<p>{{ ecosystem.test.description }}</p>
<a class="btn" href="{{ ecosystem.test.docs.home }}" role="button">
{{ ecosystem.test.name }} documentation
<h5>{{ pages.core.test.name }}</h5>
<p>{{ pages.core.test.description }}</p>
<a class="btn" href="{{ pages.core.test.docs }}" role="button">
{{ pages.core.test.name }} documentation
</a>
</div>
<div class="width-6-12 width-12-12-m">
Expand Down

0 comments on commit 5cd31db

Please sign in to comment.