feat: add version to module docs (#122)

This commit is contained in:
Muhammad Atif Ali
2024-01-23 13:50:55 +03:00
committed by GitHub
parent 5b3edd9bbd
commit b968a2aa22
26 changed files with 271 additions and 207 deletions

View File

@@ -13,8 +13,9 @@ A file browser for your workspace.
```hcl
module "filebrowser" {
source = "https://registry.coder.com/modules/filebrowser"
agent_id = coder_agent.example.id
source = "registry.coder.com/modules/filebrowser/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
}
```
@@ -26,9 +27,10 @@ module "filebrowser" {
```hcl
module "filebrowser" {
source = "https://registry.coder.com/modules/filebrowser"
agent_id = coder_agent.example.id
folder = "/home/coder/project"
source = "registry.coder.com/modules/filebrowser/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
folder = "/home/coder/project"
}
```
@@ -36,8 +38,9 @@ module "filebrowser" {
```hcl
module "filebrowser" {
source = "https://registry.coder.com/modules/filebrowser"
agent_id = coder_agent.example.id
database_path = ".config/filebrowser.db"
source = "registry.coder.com/modules/filebrowser/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
database_path = ".config/filebrowser.db"
}
```