Skip to content

Commit

Permalink
Add TOC to configuration docs
Browse files Browse the repository at this point in the history
The configuration doc is structured, but it's too large to easily
understand that structure.  It can be difficult for users to find their
way around without losing the context of the documentation they
eventually find, especially for beginners.

This patch adds a hyperlinked table of contents to the configuration
doc, to clarify the document's structure and provide an index of each
option with context.

Fixes puppetlabs#1298
  • Loading branch information
op-ct committed Apr 25, 2022
1 parent e1d3385 commit e7fdbfc
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ CHANGELOG

Unreleased
----------
- Add TOC to configuration docs [#1298](https://github.com/puppetlabs/r10k/issues/1298)
- Fixes error when using install_path from environment module [#1288](https://github.com/puppetlabs/r10k/issues/1288)

- (RK-399) Do not warn about local modifications in the spec directory when `exclude_spec` is set [#1291](https://github.com/puppetlabs/r10k/pull/1291)

3.14.2
Expand Down
64 changes: 64 additions & 0 deletions doc/dynamic-environments/configuration.mkd
Original file line number Diff line number Diff line change
@@ -1,6 +1,70 @@
Dynamic Environment Configuration
=================================

<!-- vim-markdown-toc GFM -->

* [Config file location](#config-file-location)
* [Manual configuration](#manual-configuration)
* [Automatic configuration](#automatic-configuration)
* [General options](#general-options)
* [cachedir](#cachedir)
* [proxy](#proxy)
* [pool_size](#pool_size)
* [git](#git)
* [provider](#provider)
* [proxy](#proxy-1)
* [username](#username)
* [private_key](#private_key)
* [oauth_token](#oauth_token)
* [repositories](#repositories)
* [private_key](#private_key-1)
* [oauth_token](#oauth_token-1)
* [proxy](#proxy-2)
* [forge](#forge)
* [proxy](#proxy-3)
* [baseurl](#baseurl)
* [authorization_token](#authorization_token)
* [allow_puppetfile_override](#allow_puppetfile_override)
* [Deployment options](#deployment-options)
* [postrun](#postrun)
* [sources](#sources)
* [deploy](#deploy)
* [purge\_levels](#purge_levels)
* [deployment](#deployment)
* [environment](#environment)
* [puppetfile](#puppetfile)
* [purge\_allowlist](#purge_allowlist)
* [write\_lock](#write_lock)
* [generate\_types](#generate_types)
* [puppet\_path](#puppet_path)
* [puppet\_conf](#puppet_conf)
* [exclude_spec](#exclude_spec)
* [Source options](#source-options)
* [remote](#remote)
* [basedir](#basedir)
* [prefix](#prefix)
* [prefix behaviour](#prefix-behaviour)
* [strip\_component](#strip_component)
* [strip\_component behaviour](#strip_component-behaviour)
* [ignore_branch_prefixes](#ignore_branch_prefixes)
* [ignore_branch_prefixes behaviour](#ignore_branch_prefixes-behaviour)
* [filter_command](#filter_command)
* [Examples](#examples)
* [Minimal example](#minimal-example)
* [Separate hiera data](#separate-hiera-data)
* [Multiple tenancy](#multiple-tenancy)
* [Multiple tenancy with external hieradata](#multiple-tenancy-with-external-hieradata)
* [Experimental Features](#experimental-features)
* [YAML Environment Source](#yaml-environment-source)
* [YAMLdir Environment Source](#yamldir-environment-source)
* [Exec environment Source](#exec-environment-source)
* [Environment Modules](#environment-modules)
* [Puppetfile module conflicts](#puppetfile-module-conflicts)
* [Plain Environment Type](#plain-environment-type)
* [Tarball Environment Type](#tarball-environment-type)

<!-- vim-markdown-toc -->

R10k uses a configuration file to determine how dynamic environments should be
deployed.

Expand Down

0 comments on commit e7fdbfc

Please sign in to comment.