Skip to content

Commit

Permalink
fix(docs): move TOC to the right nav bar to free up vertical space (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jippi authored May 14, 2024
1 parent 5fafbb1 commit 4794bc0
Show file tree
Hide file tree
Showing 17 changed files with 4 additions and 16 deletions.
4 changes: 4 additions & 0 deletions runatlantis.io/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ export default defineConfig({
editLink: {
pattern: 'https://github.com/runatlantis/atlantis/edit/main/runatlantis.io/:path'
},
// headline "depth" the right nav will show for its TOC
//
// https://vitepress.dev/reference/frontmatter-config#outline
outline: [2, 3],
search: {
provider: 'algolia',
options: {
Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/access-credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
This page describes how to create credentials for your Git host (GitHub, GitLab, Gitea, Bitbucket, or Azure DevOps)

that Atlantis will use to make API calls.
[[toc]]

## Create an Atlantis user (optional)
We recommend creating a new user named **@atlantis** (or something close) or using a dedicated CI user.
Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/command-requirements.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Command Requirements
[[toc]]

## Intro
Atlantis requires certain conditions be satisfied **before** `atlantis apply` and `atlantis import`
Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/configuring-webhooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Atlantis needs to receive Webhooks from your Git host so that it can respond to
:::

See the instructions for your specific provider below.
[[toc]]

## GitHub/GitHub Enterprise
You can install your webhook at the [organization](https://docs.github.com/en/get-started/learning-about-github/types-of-github-accounts) level, or for each individual repository.
Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/custom-workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Custom workflows can be defined to override the default commands that Atlantis
runs.

[[toc]]

## Usage
Custom workflows can be specified in the Server-Side Repo Config or in the Repo-Level
Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ This page covers getting Atlantis up and running in your infrastructure.
* You have created a [webhook secret](webhook-secrets.md)
:::

[[toc]]

## Architecture Overview
### Runtime
Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/locking.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Which links them to the pull request that holds the lock.
Only the directory in the repo and Terraform workspace are locked, not the whole repo.
:::

[[toc]]

## Why
1. Because `atlantis apply` is being done before the pull request is merged, after
Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/post-workflow-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ workflows](custom-workflows.md#custom-run-command) in that they are run
outside of Atlantis commands. Which means they do not surface their output
back to the PR as a comment.

[[toc]]

## Usage

Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/pre-workflow-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ workflows](custom-workflows.md#custom-run-command) in several ways.
2. Pre workflow hooks are run outside of Atlantis commands. Which means
they do not surface their output back to the PR as a comment.

[[toc]]

## Usage

Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/repo-level-atlantis-yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
An `atlantis.yaml` file specified at the root of a Terraform repo allows you
to instruct Atlantis on the structure of your repo and set custom workflows.

[[toc]]

## Do I need an atlantis.yaml file?
`atlantis.yaml` files are only required if you wish to customize some aspect of Atlantis.
Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Atlantis works with most Git hosts and Terraform setups. Read on to confirm
it works with yours.

[[toc]]

## Git Host
Atlantis integrates with the following Git hosts:
Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/security.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Security
[[toc]]
## Exploits
Because you usually run Atlantis on a server with credentials that allow access to your infrastructure it's important that you deploy Atlantis securely.

Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/server-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ This page explains how to configure the `atlantis server` command.
Configuration to `atlantis server` can be specified via command line flags,
environment variables, a config file or a mix of the three.

[[toc]]

## Environment Variables
All flags can be specified as environment variables.
Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/server-side-repo-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ A Server-Side Config file is used for more groups of server config that can't re
One such usecase is to control per-repo behaviour
and what users can do in repo-level `atlantis.yaml` files.

[[toc]]

## Do I Need A Server-Side Config File?

Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/terraform-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Atlantis integrates seamlessly with Terraform Cloud and Terraform Enterprise, wh
* A Private Installation of Terraform Enterprise

Read the docs below :point_down: depending on your use-case.
[[toc]]

## Using Atlantis With Free Remote State Storage
To use Atlantis with Free Remote State Storage, you need to:
Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/docs/using-atlantis.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ You can use following executable names.
:::

Currently, Atlantis supports the following commands.
[[toc]]

---
## atlantis help
Expand Down
1 change: 0 additions & 1 deletion runatlantis.io/guide/testing-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ If you want to set up a production-ready Atlantis installation, read [Deployment

Steps:

[[toc]]

## Install Terraform
`terraform` needs to be in the `$PATH` for Atlantis.
Expand Down

0 comments on commit 4794bc0

Please sign in to comment.