Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc/reference: reorder pages and update the landing page #13180

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/explanation/instance_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ Instance devices
See {ref}`devices` for a reference of available devices and the corresponding instance device options, and {ref}`instances-configure-devices` for instructions on how to add and configure instance devices.

```{toctree}
:maxdepth: 1
:maxdepth: 2
:hidden:

../reference/devices.md
../reference/instance_options.md
../reference/instance_properties.md
../reference/instance_options.md
../reference/devices.md
../reference/instance_units.md
```

Expand Down
4 changes: 2 additions & 2 deletions doc/internals.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
```{filtered-toctree}
:titlesonly:

:diataxis:/daemon-behavior
:diataxis:/environment
:diataxis:/syscall-interception
:diataxis:/reference/uefi_variables
:diataxis:/daemon-behavior
:diataxis:/syscall-interception
:diataxis:User namespace setup </userns-idmap>
```

Expand Down
86 changes: 76 additions & 10 deletions doc/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,92 @@

The reference material in this section provides technical descriptions of LXD.

## General information

Before you start using LXD, you should check the system requirements.
You should also be aware of the supported architectures, the available image servers, the format for images, and the environment used for containers.

```{toctree}
:titlesonly:
:maxdepth: 2

/requirements
/architectures
/reference/cluster_member_config
Configuration option index </config-options>
Container environment </container-environment>
/reference/remote_image_servers
/reference/image_format
Container environment </container-environment>
```

## Configuration options

LXD is highly configurable.
Check the available configuration options for the LXD server and the different entities used in LXD.

```{toctree}
:titlesonly:
:maxdepth: 2
:includehidden:

Configuration option index </config-options>
/server
/explanation/instance_config
/internals
/reference/manpages
/reference/projects
/reference/storage_drivers
/reference/networks
Cluster configuration </reference/cluster_member_config>
```

## Production setup

Once you are ready for production, make sure your LXD server is configured to support the required load.
You should also regularly {ref}`monitor the server metrics <metrics>`.

```{toctree}
:titlesonly:
:maxdepth: 2

Production server settings </reference/server_settings>
/reference/projects
/reference/provided_metrics
/reference/remote_image_servers
/requirements
```

## REST API

All communication between LXD and its clients happens using a RESTful API over HTTP.
Check the list of API extensions to see if a feature is available in your version of the API.

```{toctree}
:titlesonly:
:maxdepth: 2

/restapi_landing
/server
/reference/storage_drivers
```

## Man pages

`lxc` is the command line client for LXD.
Its usage is documented in the help pages for the `lxc` commands and subcommands.

```{toctree}
:titlesonly:
:maxdepth: 2

/reference/manpages
```

## Implementation details

You don't need to be aware of the internal implementation details to use LXD.
However, advanced users might be interested in knowing what happens internally.

```{toctree}
:titlesonly:
:maxdepth: 2

/internals
```

```{toctree}
:hidden:

Project repository <https://github.com/canonical/lxd>
```
6 changes: 3 additions & 3 deletions doc/restapi_landing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ relatedlinks: '[Directly&#32;interacting&#32;with&#32;the&#32;LXD&#32;API](https
```{toctree}
:maxdepth: 1

Events API documentation <events>
Instance API <dev-lxd>
Main API documentation <rest-api>
Main API extensions <api-extensions>
api
Main API extensions <api-extensions>
Events API documentation <events>
Instance API <dev-lxd>
```

## Related topics
Expand Down
Loading