Skip to content

Commit

Permalink
Restructure docs
Browse files Browse the repository at this point in the history
  • Loading branch information
samccann committed Dec 1, 2023
1 parent fdab679 commit ea11a5f
Show file tree
Hide file tree
Showing 39 changed files with 44 additions and 89 deletions.
25 changes: 8 additions & 17 deletions docs/contributing.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
# Contributing

- To see what's discussed see the [discussions
](https://github.com/ansible-community/molecule/discussions).
- Join the Molecule [community working
group](https://github.com/ansible/community/wiki/molecule) if you
would like to influence the direction of the project.
- Join us in `#ansible-devtools` on
[libera.chat](https://web.libera.chat/?channel=#ansible-molecule) matrix/irc,
or [molecule discussions](https://github.com/ansible-community/molecule/discussions).
- The full list of Ansible email lists and IRC channels can be found in
the [communication
page](https://docs.ansible.com/ansible/latest/community/communication.html).
# Contributor Guide

## Code Of Conduct

Please see our [Code of
Conduct](https://github.com/ansible-community/molecule/blob/main/.github/CODE_OF_CONDUCT.md)
document.


## Guidelines

Expand All @@ -29,11 +24,7 @@
- Reformat the code by following the formatting section below.
- Submit a pull request.

## Code Of Conduct

Please see our [Code of
Conduct](https://github.com/ansible-community/molecule/blob/main/.github/CODE_OF_CONDUCT.md)
document.

## Pull Request and Governance

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,24 +114,24 @@ The `molecule.yml` is for configuring Molecule. It is a
[YAML](https://yaml.org/) file whose keys represent the high-level
components that Molecule provides. These are:

- The [dependency](configuration.md#dependency) manager. Molecule
- The [dependency](references/configuration.md#dependency) manager. Molecule
uses [galaxy development guide]
by default to resolve your role dependencies.
- The [driver](configuration.md#driver) provider. Molecule uses
the [Delegated](configuration.md#delegated) driver by default.
- The [driver](references/configuration.md#driver) provider. Molecule uses
the [Delegated](references/configuration.md#delegated) driver by default.
Molecule uses the driver to delegate the task of creating instances.
- The [platforms](configuration.md#platforms) definitions. Molecule
- The [platforms](references/configuration.md#platforms) definitions. Molecule
relies on this to know which instances to create, name and to which
group each instance belongs. If you need to test your role against
multiple popular distributions (CentOS, Fedora, Debian), you can
specify that in this section.
- The [provisioner](configuration.md#provisioner). Molecule only
- The [provisioner](references/configuration.md#provisioner). Molecule only
provides an Ansible provisioner. Ansible manages the life cycle of
the instance based on this configuration.
- The [scenario][] definition.
Molecule relies on this configuration to control the scenario
sequence order.
- The [verifier](configuration.md#verifier) framework. Molecule
- The [verifier](references/configuration.md#verifier) framework. Molecule
uses Ansible by default to provide a way to write specific state
checking tests (such as deployment smoke tests) on the target
instance.
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/faq.md → docs/references/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ the scenario's molecule.yml.

## Can I run Molecule processes in parallel?

Please see [parallel-usage-example](examples.md#docker-with-non-privileged-user) for
Please see [parallel-usage-example](../user_guide/examples.md#docker-with-non-privileged-user) for
usage.

## Can I specify random instance IDs in my molecule.yml?
Expand Down Expand Up @@ -95,7 +95,7 @@ Yes, roles contained in a
[monorepo](https://en.wikipedia.org/wiki/Monorepo) with other roles are
automatically picked up and `ANSIBLE_ROLES_PATH` is set accordingly. See
[this
page](examples.md#monolith-repo)
page](../user_guide/examples.md#monolith-repo)
for more information.

## How can I add development/testing-only dependencies?
Expand Down
1 change: 1 addition & 0 deletions docs/references/porting_guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Porting Guide
4 changes: 2 additions & 2 deletions docs/next.md → docs/references/roadmap.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Molecule Next
# Molecule Roadmap

Molecule "next" is the future major version of molecule, one that is currently
The Molecule roadmap is the future major version of molecule, one that is currently
available from the main branch. One of the main goals of the new version is to
reduce the amount of magic and just rely on ansible core features.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions docs/user_guide/testing_collections.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Testing roles in a collection
1 change: 1 addition & 0 deletions docs/user_guide/testing_roles.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Testing standalone roles
1 change: 1 addition & 0 deletions docs/user_guide/understanding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Understanding Ansible Molecule
1 change: 1 addition & 0 deletions docs/user_guide/using_tox_ansible.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Using Molecule with tox-ansible
1 change: 0 additions & 1 deletion docs/working/contributor_guide/code_of_conduct.md

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/contributor_guide/developer_contact.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/contributor_guide/environment_setup.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/examples/example_1.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/examples/example_2.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/examples/example_3.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/faq/faq.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/getting_started/getting_started.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/installation/install.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/introduction/introduction.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/references/cli.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/references/configuration.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/references/porting_change_log.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/references/road_map.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/user_guide/ci_integration.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/user_guide/creating_testing_collection.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/user_guide/testing_existing_collection.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/user_guide/testing_existing_roles.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/user_guide/understanding.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/working/user_guide/using_tox-ansible.md

This file was deleted.

62 changes: 21 additions & 41 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,49 +35,29 @@ extra:
link: https://github.com/ansible-community/molecule

nav:
- Home: index.md
- installation.md
- Using:
- getting-started.md
- usage.md
- next.md
- configuration.md
- ci.md
- Introduction: index.md
- Installation:
- installation.md
- upgrade.md
- Getting Started Guide: getting-started.md
- User Guide:
- user_guide/understanding.md
- user_guide/testing_collections.md
- user_guide/testing_roles.md
- user_guide/ci.md
- user_guide/using_tox_ansible.md
- user_guide/examples.md
- Examples:
- docker.md
- podman.md
- kubevirt.md
- examples.md
- faq.md
- examples/docker.md
- examples/podman.md
- examples/kubevirt.md
- contributing.md
- Future documentation (WIP):
- Introduction: working/introduction/introduction.md
- Installation:
- working/installation/install.md
- working/installation/upgrade.md
- Getting Started: working/getting_started/getting_started.md
- User Guide:
- working/user_guide/understanding.md
- working/user_guide/creating_testing_collection.md
- working/user_guide/testing_existing_collection.md
- working/user_guide/testing_existing_roles.md
- working/user_guide/ci_integration.md
- working/user_guide/using_tox-ansible.md
- References:
- working/references/cli.md
- working/references/configuration.md
- working/references/porting_change_log.md
- working/references/road_map.md
- Examples:
- working/examples/example_1.md
- working/examples/example_2.md
- working/examples/example_3.md
- Frequently asked questions: working/faq/faq.md
- Contributor Guide:
- working/contributor_guide/code_of_conduct.md
- working/contributor_guide/developer_contact.md
- working/contributor_guide/environment_setup.md
- working/contributor_guide/contribution_requirements.md
- References:
- references/usage.md
- references/configuration.md
- references/faq.md
- references/porting_guide.md
- references/roadmap.md

plugins:
- autorefs
Expand Down

0 comments on commit ea11a5f

Please sign in to comment.