Skip to content

Commit

Permalink
chore: prepare nanocl stable v0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
leon3s committed May 3, 2024
1 parent e60e496 commit fb81561
Show file tree
Hide file tree
Showing 32 changed files with 8,396 additions and 1,380 deletions.
2 changes: 1 addition & 1 deletion docs/guides/nanocl/advanced-usage/secret_env.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Secret Env | Nanocl
title: Secret Env - Nanocl
description: Use secret in your .
keywords: [documentation, nanocl, guides, get started, configuration, state, file, config, yaml, yml, statefile, ssl, tls, certificate]
image: /img/logo.webp
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/nanocl/advanced-usage/secret_tls.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Secret TLS | Nanocl
title: Secret TLS - Nanocl
description: Use TLS to protect your services.
keywords: [documentation, nanocl, guides, get started, configuration, state, file, config, yaml, yml, statefile, ssl, tls, certificate]
image: /img/logo.webp
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/nanocl/advanced-usage/state-args.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Statefile Args | Nanocl
title: Statefile Args - Nanocl
description: Use Statefile Args to customize your Nanocl configuration.
keywords: [documentation, nanocl, guides, get started, configuration, state, file, config, yaml, yml, statefile]
image: /img/logo.webp
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/nanocl/advanced-usage/virtual-machine.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Virtual Machine | Nanocl
title: Virtual Machine - Nanocl
description: Create virtual machine with Nanocl
keywords: [documentation, nanocl, guides, get started, configuration, virtual machines, vm, virtual, machine, statefile, state, file]
image: /img/logo.webp
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/nanocl/advanced-usage/vpn.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Vpn | Nanocl
title: Vpn - Nanocl
description: Use a vpn inside nanocl
keywords: [documentation, nanocl, guides, get started, configuration, state, file, config, yaml, yml, statefile, vpn, private network]
image: /img/logo.webp
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/nanocl/get-started/configure-your-proxy.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Configure your proxy | Nanocl
title: Configure your proxy - Nanocl
description: Configure your proxy to expose your cargo
keywords: [documentation, nanocl, guides, get started, proxy, configuration]
image: /img/logo.webp
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/nanocl/get-started/orientation-and-setup.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Orientation and Setup | Nanocl
title: Orientation and Setup - Nanocl
description: This page contains step-by-step instructions on how to get started with Nanocl.
keywords: [documentation, guides, nanocl, get started, orientation and setup]
image: /img/logo.webp
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/nanocl/get-started/patch-a-cargo.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Patch a cargo | Nanocl
title: Patch a cargo - Nanocl
description: Patch a cargo to update his image or his environnements variables and redeploy them instantly.
keywords: [documentation, guides. nanocl, get started, cargo, patch, update]
image: /img/logo.webp
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/nanocl/get-started/statefile.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Statefile | Nanocl
title: Statefile - Nanocl
description: Use Statefile to manage your state
keywords: [documentation, nanocl, guides, get started, proxy, configuration, state, file, config, yaml, yml, statefile]
image: /img/logo.webp
Expand Down
3 changes: 2 additions & 1 deletion docs/guides/nanocl/overview.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
title: Overview
title: Overview - Nanocl
keywords: [documentation, nanocl, guides, get started, overview]
image: /img/logo.webp
sidebar_position: 1
sidebar_label: Overview
---

# Nanocl overview
Expand Down
2 changes: 1 addition & 1 deletion docs/manuals/nanocl/install/crates-io.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Install from crates.io | Nanocl
title: Install from crates.io - Nanocl
description: This section describes how to install from source using crates.io.
keywords: [documentation, nanocl , setup, installation, ubuntu, install, debian, linux, macos, windows, crates.io, cargo]
image: /img/logo.webp
Expand Down
2 changes: 1 addition & 1 deletion docs/manuals/nanocl/install/debian.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Install on Debian / Ubuntu | Nanocl
title: Install on Debian / Ubuntu - Nanocl
description: This section contains required procedures for installaling Nanocl on Debian / Ubuntu.
keywords: [documentation, nanocl , setup, installation, ubuntu, install, debian, ubuntu, linux]
image: /img/logo.webp
Expand Down
2 changes: 1 addition & 1 deletion docs/manuals/nanocl/install/overview.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Install | Nanocl
title: Install - Nanocl
description: This section describes how to install Nanocl. Nanocl is available for Windows, macOS, and Linux, through Docker Desktop.
keywords: [documentation, nanocl , setup, installation, ubuntu, install, debian, linux, macos, windows]
image: /img/logo.webp
Expand Down
2 changes: 1 addition & 1 deletion docs/manuals/nanocl/install/post-installation.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Post install | Nanocl
title: Post install - Nanocl
description: This section contains required procedures for configuring Nanocl after installation.
keywords: [documentation, nanocl , setup, installation, post installation]
image: /img/logo.webp
Expand Down
2 changes: 1 addition & 1 deletion docs/references/nanocl/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ For more information about installing Nanocl or `sudo` configuration, refer to t

| Name, shorthand | Default | Description
| -------------------- | ------- | -----------
| **-H**, **\--host**=*HOST* | unix://run/nanocl/nanocl.sock | Nanocld host
| **-H**, **\--host**=*HOST* | unix://run/nanocl/nanocl.sock - Nanocld host
| **-h**, **\--help** | | Print help information
| **-V**, **\--version** | | Print version information

Expand Down
2 changes: 1 addition & 1 deletion docs/references/nanocl/objects/virtual-machine.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Virtual Machine References | Nanocl
title: Virtual Machine References - Nanocl
keywords: [documentation, references, nanocl, nanocld, virtual machine, vm, vms, specification, spec]
image: /img/logo.webp
sidebar_label: Virtual Machine
Expand Down
4 changes: 2 additions & 2 deletions docs/references/summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ This section include the summary of references for Next Hat based product and to

| Title | Description |
| ----------- | ----------- |
| [nanocl][nanocl] | Nanocl CLI reference |
| [nanocld][nanocld] | Nanocl DAEMON reference |
| [nanocl][nanocl] - Nanocl CLI reference |
| [nanocld][nanocld] - Nanocl DAEMON reference |
| [c2ncl][c2ncl] | A tool to convert `docker-compose.yml` to nanocl [statefile][statefile]

[nanocl]: /docs/references/nanocl/cli.md
Expand Down
2 changes: 1 addition & 1 deletion docs/samples/databases/mariadb.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: MariaDB | Nanocl
title: MariaDB - Nanocl
sidebar_label: MariaDB
image: /img/logo.webp
description: Easily deploy a MariaDB instance with Nanocl !
Expand Down
2 changes: 1 addition & 1 deletion docs/samples/databases/mongodb.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: MongoDB | Nanocl
title: MongoDB - Nanocl
sidebar_label: MongoDB
image: /img/logo.webp
description: Easily deploy a MongoDB instance with Nanocl !
Expand Down
2 changes: 1 addition & 1 deletion docs/samples/databases/mysql.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Mysql | Nanocl
title: Mysql - Nanocl
sidebar_label: Mysql
image: /img/logo.webp
description: Easily deploy a Mysql instance with Nanocl !
Expand Down
2 changes: 1 addition & 1 deletion docs/samples/databases/postgresql.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Postgresql | Nanocl
title: Postgresql - Nanocl
sidebar_label: Postgresql
image: /img/logo.webp
description: Easily deploy a Postgresql instance with Nanocl !
Expand Down
2 changes: 1 addition & 1 deletion docs/samples/databases/redis.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Redis | Nanocl
title: Redis - Nanocl
sidebar_label: Redis
image: /img/logo.webp
description: Easily deploy a Redis instance with Nanocl !
Expand Down
2 changes: 1 addition & 1 deletion docs/samples/overview.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Samples | Nanocl
title: Samples - Nanocl
sidebar_label: Samples
image: /img/logo.webp
description: Learn how to deploy different types of services by walking through Official Nanocl samples.
Expand Down
2 changes: 1 addition & 1 deletion docs/samples/webapps/adminer.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Adminer | Nanocl
title: Adminer - Nanocl
sidebar_label: Adminer
image: /img/logo.webp
description: Easily deploy a Adminer instance with Nanocl !
Expand Down
2 changes: 1 addition & 1 deletion docs/samples/webapps/gitlab.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Gitlab | Nanocl
title: Gitlab - Nanocl
sidebar_label: Gitlab
image: /img/logo.webp
description: Easily deploy a Gitlab instance with Nanocl !
Expand Down
2 changes: 1 addition & 1 deletion docs/samples/webapps/mongo-express.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Mongo Express | Nanocl
title: Mongo Express - Nanocl
sidebar_label: Mongo Express
image: /img/logo.webp
description: Easily deploy a Mongo Express instance with Nanocl !
Expand Down
7 changes: 4 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Note: type annotations allow type checking and IDEs autocompletion

const path = require('path');
const vars = require('./vars');

const lightCodeTheme = require('prism-react-renderer').themes.github;
const darkCodeTheme = require('prism-react-renderer').themes.oceanicNext;
Expand Down Expand Up @@ -55,8 +56,8 @@ const config = {
/// Add version reference to the sidebar for the daemon
subItem.items.push({
type: 'link',
label: 'v0.13 reference (latest)',
href: '/references/nanocl/daemon/v0.13',
label: `v${vars.nanoclMajorVersion} reference (latest)`,
href: `/references/nanocl/daemon/v${vars.nanoclMajorVersion}`,
})
}
return subItem;
Expand Down Expand Up @@ -92,7 +93,7 @@ const config = {
config: path.join(__dirname, 'redocly.yaml'),
specs: [{
id: 'nanocld-latest',
spec: 'static/specs/nanocld/0.13.yaml',
spec: `static/specs/nanocld/${vars.nanoclMajorVersion}.yaml`,
}],
// See https://redocly.com/docs/api-reference-docs/configuration/theming/
theme: {
Expand Down
Loading

0 comments on commit fb81561

Please sign in to comment.