Skip to content

Commit

Permalink
update nav and move index
Browse files Browse the repository at this point in the history
  • Loading branch information
andie787 committed Sep 25, 2023
1 parent 8ace151 commit d5d3b59
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 20 deletions.
7 changes: 3 additions & 4 deletions apps/volume-manage.html.markerb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Manage volume storage
layout: docs
layout: framework_docs
nav: firecracker
order: 30
order: 40
---

How to manage volumes using the [`fly volumes`](/docs/flyctl/volumes/) command.
Expand Down Expand Up @@ -156,7 +156,6 @@ For options, refer to the [`fly vol destroy` docs](/docs/flyctl/volumes-destroy/

## Related topics

- [How Fly Volumes work](/docs/reference/volumes/)
- [Volumes overview](/docs/reference/volumes/)
- [Add volume storage](/docs/apps/volume-storage/)
- [`mounts` section](/docs/reference/configuration/#the-mounts-section) in the `fly.toml` Fly Launch configuration file
- [Scale an app with volumes](/docs/apps/scale-count/#scale-an-app-with-volumes)
4 changes: 2 additions & 2 deletions apps/volume-storage.html.markerb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Add volume storage
layout: docs
nav: firecracker
order: 20
order: 30
---

Fly Volumes are local persistent storage for [Fly Machines](/docs/machines/). Learn [how Fly Volumes work](/docs/reference/volumes/).
Expand Down Expand Up @@ -187,7 +187,7 @@ The volume is mounted in the directory specified by the `destination` field in t

## Related topics

- [How Fly Volumes work](/docs/reference/volumes/)
- [Volumes overview](/docs/reference/volumes/)
- [Manage volume storage](/docs/apps/volume-manage/)
- [`mounts` section](/docs/reference/configuration/#the-mounts-section) in the `fly.toml` Fly Launch configuration file
- [Scale an app with volumes](/docs/apps/scale-count/#scale-an-app-with-volumes)
9 changes: 1 addition & 8 deletions partials/_firecracker_nav.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@
<li>
<%= nav_link "Get Information about an App", "/docs/apps/info/" %>
</li>
<li>
<%= nav_link "Add Volume Storage", "/docs/apps/volume-storage/" %>
</li>
<li>
<%= nav_link "Manage Volume Storage", "/docs/apps/volume-manage/" %>
</li>
<li>
<%= nav_link "Scale Machine CPU and RAM", "/docs/apps/scale-machine/" %>
</li>
Expand Down Expand Up @@ -102,8 +96,7 @@
<%= nav_link "Databases & Storage", "/docs/database-storage-guides/" %>
<ul role="region" aria-label="Databases & Storage">
<li>
<%= nav_link "Volumes", "/docs/apps/volume-index" %>
</li>
<%= nav_link "Volumes", "/docs/volumes" %>
<li>
<%= nav_link "Fly Postgres", "/docs/postgres/" %>
</li>
Expand Down
6 changes: 3 additions & 3 deletions reference/volumes.html.markerb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: How Fly Volumes work
layout: docs
title: Volumes overview
layout: framework_docs
nav: firecracker
order: 10
order: 20
---

Apps can store only ephemeral data on the root file systems of their Machines, because a Machine’s file system gets rebuilt from scratch each time you deploy your app, or when the Machine is restarted.
Expand Down
7 changes: 4 additions & 3 deletions apps/volume-index.html.markerb → volumes/index.html.markerb
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
---
title: "Fly Volumes"
layout: docs
toc: false
nav: firecracker
toc: false
order: 10
---

Volumes are local persistent storage for [Fly Machines](/docs/machines/).

## Learn

Get the details and concepts behind volumes.
Understand how volumes work and whether they're right for your use case.

[How Fly Volumes work](/docs/reference/volumes/)
[Volumes overview](/docs/reference/volumes/)

## How-Tos

Expand Down

0 comments on commit d5d3b59

Please sign in to comment.