diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-10 18:55:55 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-10 18:55:55 +0300 |
| commit | 863640ef172929f003d53d41087005485887e29c (patch) | |
| tree | f2192534db7bf24d5cc88fafd03d3e7ef8b1f285 /docs | |
| parent | 266acf2829fdcf809fe851203d8e34167075dd3f (diff) | |
| download | vyos-documentation-863640ef172929f003d53d41087005485887e29c.tar.gz vyos-documentation-863640ef172929f003d53d41087005485887e29c.zip | |
docs: drop stray terraformvyos.rst and remove .rst from source_suffix
The .md equivalent already exists alongside it; with both present and
`source_suffix = ['.rst', '.md']`, Sphinx silently preferred the .rst.
Deletion removes the shadowing and the only active .rst left in tree
(legacy is archived under docs/_rst_legacy/).
Restricting source_suffix to ['.md'] prevents future stray .rst files
from being picked up, and is what external indexers (e.g. context7)
look at when classifying the source format of the docs.
🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/automation/terraform/terraformvyos.rst | 43 | ||||
| -rw-r--r-- | docs/conf.py | 5 |
2 files changed, 1 insertions, 47 deletions
diff --git a/docs/automation/terraform/terraformvyos.rst b/docs/automation/terraform/terraformvyos.rst deleted file mode 100644 index a4d54f8a..00000000 --- a/docs/automation/terraform/terraformvyos.rst +++ /dev/null @@ -1,43 +0,0 @@ -:lastproofread: 2024-03-03 - -.. _terraformvyos: - -Terraform for VyOS -================== - -VyOS supports development infrastructure via Terraform and -provisioning via Ansible. Terraform allows you to automate the -process of deploying instances on many cloud and virtual -platforms. In this article, we will look at using Terraform to -deploy VyOS on platforms - AWS, Azure, and vSphere. For more -details about Terraform please have a look at link_. - -You will need to install_ Terraform before proceeding. - -Structure of files in the standard Terraform project: - -.. code-block:: none - - . - ├── main.tf # The main script - ├── version.tf # File for the changing version of Terraform. - ├── variables.tf # The file of all variables in "main.tf" - └── terraform.tfvars # The value of all variables (passwords, login, IP addresses and so on) - - -General commands that we will use for running Terraform scripts - - -.. code-block:: none - - cd /<your folder> # go to the Terraform project - terraform init # install all add-ons and providers (AWS, Azure, and so on) - terraform plan # show what is changing - terraform apply # run script - yes # apply running - - -.. stop_vyoslinter -.. _link: https://developer.hashicorp.com/terraform/intro -.. _install: https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli -.. start_vyoslinter diff --git a/docs/conf.py b/docs/conf.py index 8c76c43c..3a3a8522 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -70,10 +70,7 @@ autosectionlabel_prefix_document = True # The suffix(es) of source filenames. -# You can specify multiple suffix as a list of string: -# -# source_suffix = ['.rst', '.md'] -source_suffix = ['.rst', '.md'] +source_suffix = ['.md'] myst_enable_extensions = ["colon_fence", "deflist", "fieldlist", "substitution"] myst_fence_as_directive = ["cfgcmd", "opcmd", "cmdincludemd"] |
