From f1e289b88dd4e2ec199417f58fb186db5377849f Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 25 Jul 2024 13:05:45 +0200 Subject: [PATCH] Add version label --- docs/external-sti-services.md | 6 ++++++ docs/external-sti-services/_category_.json | 7 ------- docs/external-sti-services/sti-api.md | 1 - docs/getting-started/configuration.md | 22 +++++++++++----------- docs/getting-started/installation.md | 2 +- docusaurus.config.ts | 7 +++++++ 6 files changed, 25 insertions(+), 20 deletions(-) create mode 100644 docs/external-sti-services.md delete mode 100644 docs/external-sti-services/_category_.json delete mode 100644 docs/external-sti-services/sti-api.md diff --git a/docs/external-sti-services.md b/docs/external-sti-services.md new file mode 100644 index 0000000..572c3e6 --- /dev/null +++ b/docs/external-sti-services.md @@ -0,0 +1,6 @@ +--- +sidebar_position: 3 +--- + +# External STI Services + diff --git a/docs/external-sti-services/_category_.json b/docs/external-sti-services/_category_.json deleted file mode 100644 index 04b6ab1..0000000 --- a/docs/external-sti-services/_category_.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "label": "External STI services", - "position": 3, - "link": { - "type": "generated-index" - } -} diff --git a/docs/external-sti-services/sti-api.md b/docs/external-sti-services/sti-api.md deleted file mode 100644 index af4abbf..0000000 --- a/docs/external-sti-services/sti-api.md +++ /dev/null @@ -1 +0,0 @@ -# Configuration \ No newline at end of file diff --git a/docs/getting-started/configuration.md b/docs/getting-started/configuration.md index 1cd56b2..bde0be5 100644 --- a/docs/getting-started/configuration.md +++ b/docs/getting-started/configuration.md @@ -56,7 +56,7 @@ This document describes the configuration file parameters for MantisTable UI. Th ### PostgreSQL -- **POSTGRESQL_URL** +- **`POSTGRESQL_URL`** ```plaintext DATABASE_URL="postgresql://postgres:password@localhost:port/mantistableui" @@ -64,7 +64,7 @@ This document describes the configuration file parameters for MantisTable UI. Th Specifies the URL for connecting to the PostgreSQL database. -- **POSTGRESQL_PASS** +- **`POSTGRESQL_PASS`** ```plaintext POSTGRESQL_PASS="password!" @@ -72,7 +72,7 @@ This document describes the configuration file parameters for MantisTable UI. Th The password for the PostgreSQL database user. This should match the password specified in the `DATABASE_URL`. -- **POSTGRES_HOST** +- **`POSTGRES_HOST`** ```plaintext POSTGRES_HOST="localhost" @@ -80,7 +80,7 @@ This document describes the configuration file parameters for MantisTable UI. Th The hostname or IP address of the PostgreSQL server. -- **POSTGRES_PORT** +- **`POSTGRES_POR`** ```plaintext POSTGRES_PORT="5432" @@ -88,7 +88,7 @@ This document describes the configuration file parameters for MantisTable UI. Th The port on which the PostgreSQL server is running. -- **POSTGRES_DB** +- **`POSTGRES_DB`** ```plaintext POSTGRES_DB="mantistableui" @@ -96,7 +96,7 @@ This document describes the configuration file parameters for MantisTable UI. Th The name of the PostgreSQL database to connect to. -- **POSTGRES_USER** +- **`POSTGRES_USER`** ```plaintext POSTGRES_USER="user" @@ -106,7 +106,7 @@ This document describes the configuration file parameters for MantisTable UI. Th ### MongoDB -- **MONGO_INITDB_ROOT_USERNAME** +- **`MONGO_INITDB_ROOT_USERNAME`** ```plaintext MONGO_INITDB_ROOT_USERNAME="root" @@ -114,7 +114,7 @@ This document describes the configuration file parameters for MantisTable UI. Th The root username for the MongoDB instance. -- **MONGO_INITDB_ROOT_PASSWORD** +- **`MONGO_INITDB_ROOT_PASSWORD`** ```plaintext MONGO_INITDB_ROOT_PASSWORD="password!" @@ -124,7 +124,7 @@ This document describes the configuration file parameters for MantisTable UI. Th ### External STI Services -- **STI_HOST** +- **`STI_HOST`** ```plaintext STI_HOST="http://local:5042" @@ -133,12 +133,12 @@ This document describes the configuration file parameters for MantisTable UI. Th Specifies the hostname, URL or IP address for an STI service. Replace this with the appropriate URL for your setup. :::warning - The external Semantic Table Interpretation service must expose APIs as indicated in [sti-api](/docs/external-sti-services/sti-api.md) page. + The external Semantic Table Interpretation service must expose APIs as indicated in [External STI Services](/docs/external-sti-services) page. ::: ### Plugins -- **PLUGINS_PORT** +- **`PLUGINS_PORT`** ```plaintext PLUGINS_PORT="port" diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 064ac5a..84f8b15 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -73,7 +73,7 @@ Before you begin, ensure you have the following installed on your system: This command will start the MantisTable UI service in detached mode. :::warning - For a correct start of MantisTable UI it is necessary to modify the configuration file as indicated in [configuration](configuration.md) page. + For a correct start of MantisTable UI it is necessary to modify the configuration file as indicated in [Configuration](configuration.md) page. ::: 3. **Access the Application** diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 520d134..1a4e93f 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -39,6 +39,13 @@ const config: Config = { // Remove this to remove the "edit this page" links. editUrl: 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', + lastVersion: 'current', + versions: { + current: { + label: '1.0.0', + badge :true, + }, + }, }, blog: false, theme: {