Skip to content

Docs site restructure #735

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

Draft
wants to merge 60 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
aadaf57
Initial changes
RG-conduktor May 1, 2025
85c8086
Footer updated; showing sub-folders in 'Guides' and renaming manage/m…
RG-conduktor May 1, 2025
a9ccf10
Link to concepts working and index file changes
RG-conduktor May 1, 2025
ec3d99a
Logo linking to marketing site, moving tutorials and support folders …
RG-conduktor May 1, 2025
51c9eb3
Fixed links to support policy, changed redirects and added a drop-dow…
RG-conduktor May 2, 2025
f16ee85
Added search bar to the top
RG-conduktor May 2, 2025
7ede0f8
Hiding some sections from menu
RG-conduktor May 2, 2025
c7612b2
Hiding categories and moving sections
RG-conduktor May 2, 2025
6bece06
Added reference items to menu, tidied up support and tutorial sections
RG-conduktor May 3, 2025
3c4758b
Added re-usable alerts for preview and products
RG-conduktor May 3, 2025
daa2dcb
Made get started a button, version matrix and upgrade page edits
RG-conduktor May 4, 2025
909fc32
Tidying up reference folder; button styling and rename
RG-conduktor May 5, 2025
174edec
Re-style of product alert, changed tip to note
RG-conduktor May 6, 2025
179e22c
Re-org of sections to show support last
RG-conduktor May 6, 2025
5c1273e
Get started button not cut off, GW config content added
RG-conduktor May 7, 2025
16f685a
Workshop feedback: Added non-expandable sections to the left menu; re…
RG-conduktor May 8, 2025
259bcfb
Fixing some of the menu items, left-align section divider headings
RG-conduktor May 8, 2025
3ab83ff
Some structure updates
RG-conduktor May 9, 2025
f58b6ce
Migrating content, moved all images to static/guides and removing use…
RG-conduktor May 10, 2025
b55fa40
SQL sections added, moved images to main folder
RG-conduktor May 10, 2025
335dd86
Service accounts, ACLs
RG-conduktor May 10, 2025
d1045b1
API and CLI first drafts
RG-conduktor May 10, 2025
f596ccc
Some resource reference, monitoring
RG-conduktor May 10, 2025
1eeb9f0
Reference and source docs changes
RG-conduktor May 11, 2025
6b907f7
Added labels for easier re-use and styling to src/components; resourc…
RG-conduktor May 11, 2025
fab6c35
Removed unused label
RG-conduktor May 12, 2025
07cec2a
Readme update
RG-conduktor May 12, 2025
25db68b
Caution alert replaced with 'warning'
RG-conduktor May 12, 2025
d24f353
Added a test glossary functionality
RG-conduktor May 15, 2025
b709b46
Improving glossary adding test terms; renaming monitor brokers and mo…
RG-conduktor May 15, 2025
0f35a6e
Glossary is now on a separate page without the 'quick nav' and clicki…
RG-conduktor May 15, 2025
ac7b2c7
In glossary, you can now copy the link to a specific term, format the…
RG-conduktor May 15, 2025
7e46243
More glossary terms added
RG-conduktor May 15, 2025
7d02f13
Glossary updates, fixing link to it
RG-conduktor May 16, 2025
4893f33
Finished glossary for now; logo shortened; renamed to resource reference
RG-conduktor May 16, 2025
c12763c
Glossary fixed; added flexibility in defined words; updated readme an…
RG-conduktor May 18, 2025
c70a71c
Added a light/dark mode toggle, needs styling
RG-conduktor May 18, 2025
aa4f383
Tidied up glossary tooltips
RG-conduktor May 19, 2025
0a58c32
Support sections and other Gateway section migration
RG-conduktor May 20, 2025
851b9b8
Support overview
RG-conduktor May 20, 2025
b7deeb2
Get start GW content added
RG-conduktor May 21, 2025
851b249
Updating indexing and brokers topics
RG-conduktor May 22, 2025
c9e1fc8
Chargeback, alerts, PZ
RG-conduktor May 22, 2025
0ed7497
Moving SQL to tutorials, adding links in tutorial overview
RG-conduktor May 22, 2025
d49ee9e
Added logical topics to glossary; updated content
RG-conduktor May 22, 2025
b8f2bdd
ksqlDB, logical topics and RBAC sections. Removed links to Confluent …
RG-conduktor May 23, 2025
7b54b85
Tutorials completed for now
RG-conduktor May 25, 2025
5d71d8f
Various section updates and re-writes: audit logs, integrations, aler…
RG-conduktor May 28, 2025
4752213
Automation sections updated. Added a snippet for API key instructions
RG-conduktor May 28, 2025
88664ee
Update to intro sentence and fixed copyable code in dropdowns/accordi…
RG-conduktor May 29, 2025
5f6ed50
Monitor section with new screenshot, better readme example for code b…
RG-conduktor May 29, 2025
f6be794
Deploy artifacts content: console, cortex. Merging sections from logg…
RG-conduktor May 30, 2025
aadac58
Kafka connect, topics, data policies, reqs
RG-conduktor May 31, 2025
c0f6e67
AWS marketplace info added to overview temporarily
RG-conduktor May 31, 2025
9c37c0b
Chargeback rewrite and tutorial images cleared up
RG-conduktor Jun 2, 2025
7cdcb46
Created a new cache data use case, tody up other sections
RG-conduktor Jun 2, 2025
5458590
Traffic control policies
RG-conduktor Jun 2, 2025
a981163
Gateway and interceptors sections, incorporating env variables
RG-conduktor Jun 2, 2025
855b4e3
Postgres section add and console updates
RG-conduktor Jun 4, 2025
682f228
User auth sections added
RG-conduktor Jun 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
175 changes: 139 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
- [Conduktor technical docs](#conduktor-technical-docs)
- [Deployment and structure](#deployment-notes)
- [Docs best practice](#docs-best-practice)
# Conduktor technical docs

- [Deployment and structure](#deployment-and-structure)
- [Docs guidelines](#best-practice-guidelines)
- [Structure](#structure)
- [Images](#images)
- [Links](#links)
- [Tabs](#tabs)
- [Tags](#tags)
- [Dropdowns](#dropdowns)
- [Labels](#labels)
- [Glossary](#glossary)
- [Re-use of content](#re-use-of-content)
- [Preview functionality](#preview-functionality)
- [Product availability](#available-in-product-name)
- [Update release notes](#update-release-notes)
- [Update public API docs](#update-public-api-docs)

# Conduktor technical docs
## Deployment and structure

Production is on `main`: [https://docs.conduktor.io](https://docs.conduktor.io).

# Deployment and structure
In most cases, you'll be editing Markdown files in the **docs** directory, for either Console (**docs/platform**) or Gateway (**docs/gateway**).
In most cases, you'll be editing Markdown files in the **docs** directory, for either Console (**docs/platform**) or Gateway (**docs/gateway**).

For a local preview (on *localhost:3000*), run `yarn start`.
For a local preview (on *localhost:3000*), run `yarn start`.

If you're editing many files or making significant changes, run `yarn build` to check for any failures before merging:

Expand All @@ -28,10 +34,12 @@ $ yarn start

We're using [Vercel](https://vercel.com/) for hosting and the build will try to deploy to this platform.

# Docs best practice
## Best practice guidelines

### Structure

## Structure
When creating a new page, use this layout:

- Overview. Introduce the concept and highlight main benefits.
- Prerequisites. List things that have to be done/set up before using.
- Use {feature}. Be clear, succinct and use task-oriented headings.
Expand All @@ -40,7 +48,8 @@ When creating a new page, use this layout:
- Related resources. Include links to topics related to the feature. Add this link at the end:
[Give us feedback/request a feature](https://conduktor.io/roadmap)

When adding a tutorial, use this layout:
When adding a tutorial (step-by-step guide), use this layout:

- Overview/goal. Introduce the concept and the purpose/goal.
- Context or requirements. Set the scene/list pre-requisites.
- List numbered steps. Use action-oriented headings.
Expand All @@ -50,32 +59,55 @@ When adding a tutorial, use this layout:
- [Learn Apache Kafka](https://learn.conduktor.io/kafka/)
- [Give us feedback/request a feature](https://conduktor.io/roadmap)

### Images

## Images
Add images to the **assets** folder under the same directory as the Markdown file you're editing. Use `![Image description](assets/image.png)`.
All images are stored in `src/static/guides`. Embed all images like this:

All images will be auto-sized to fit the width of the content pane.
```md
![Internal load balancing diagram](/guides/internal-lb.png)
```

Note that all images will have a defined styling applied but you can override this when required.

To resize an image:

```md
import MyImage from './assets/my-image.png';
Make it smaller
<img src="/guides/slack-invite.png" alt="Slack" style={{maxWidth: '30%'}} />

Make it larger
<img src="/guides/slack-invite.png" alt="Slack" style={{maxWidth: '90%'}} />

Set a specific pixel width
<img src="/guides/slack-invite.png" alt="Slack" style={{maxWidth: '400px'}} />

<img src={MyImage} alt="My Image" style={{ width: 400, display: 'block', margin: 'auto' }} />
Make it full width:
<img src="/guides/slack-invite.png" alt="Slack" style={{maxWidth: '100%'}} />
```

## Links
Use absolute links when linking to Conduktor docs, e.g. */platform/get-started/installation/hardware/*.
You can also make an image clickable (and open in another tab) - useful for detailed diagrams:

```md
<a href="/guides/internal-lb.png" target="_blank" rel="noopener">
<img src="/guides/internal-lb.png" alt="Internal load balancing diagram" />
</a>
```

You can also link to a specific section on a page, e.g. */platform/get-started/installation/hardware/#hardware-requirements*.
### Links

Use absolute links when linking to Conduktor docs, e.g. */guides/get-started/hardware/*.

You can also link to a specific section on a page, e.g. */guides/get-started/hardware/#hardware-requirements*.

### Tabs

## Tabs
Use tabs to break-up long paragraphs or provide options, [like this](https://docs.conduktor.io/platform/navigation/partner-zones/#create-a-partner-zone).

To add tabs:
To add tabs, add the following:

````md
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

<Tabs>
<TabItem value="First Tab" label="First Tab">
Expand All @@ -98,32 +130,100 @@ mySecondTab: "content"
</Tabs>
````

## Tags
Use tags to visualize available options, [like this](https://docs.conduktor.io/platform/reference/resource-reference/kafka/).
### Dropdowns

Use these collapsible dropdowns for troubleshooting sections or other Q&A type content.

<details>
<summary>Question?</summary>
<d>Answer has to be in the same block of text due to HTML limitations in Markdown.</p>
</details>

#### Make code copyable

import CopyableCode from '@site/src/components/CopyableCode';

To add tags:
<details>
<summary>How do I handle headers with dashes?</summary>
<p>
Use bracket notation instead of dot notation. For example: <CopyableCode language="bash">{`headers['Content-Type']`}</CopyableCode>
</p>
</details>

### Labels

Use labels to visualize available options, [like these resources](https://docs.conduktor.io/platform/reference/resource-reference/kafka/).

To add labels:

```md
import Admonition from '@theme/Admonition';
import Label from '@site/src/components/Labels';

This resource can be managed using <Label type="UI" />, <Label type="CLI" /> and <Label type="API" />.
```

To see all the available labels, go to `/src/components/Labels.js`.

### Glossary

export const Highlight = ({children, color, text}) => (
<span style={{ backgroundColor: color, borderRadius: '4px', color: text, padding: '0.2rem 0.5rem', fontWeight: '500' }}> {children} </span>
);
#### Add a tooltip

export const Tag1 = () => (
<Highlight color="#F8F1EE" text="#7D5E54">Tag 1</Highlight>
);
When first introducing Conduktor terminology (e.g. Chargeback), make that word into a glossary term (will display a tooltip when hovered over and formatted) like this:

<Tag1/>
```md
Use <GlossaryTerm>Chargeback</GlossaryTerm> to visualize your Kafka costs.
```

#### Add new terms to glossary

If the term isn't defined, you can add it to **src/data/glossary.js**.

❗️ Check that the term doesn't exist first. Duplicate entries will break the build. Add the **singular version of the word**:

```md
{
term: "New term",
tooltip: "This is the concise text that will appear as a tooltip. Limit to max of two sentences and avoid formatting.",
definition: "This is the full definition of the term. Feel free to format with links etc.",
slug: "new-term"
},
```

Note that glossary should pick up all the spelling variations (like capitalization).

### Re-use of content

#### Preview functionality

To add:

```md
import AlertPreview from '@site/src/components/shared/alert-preview.md';

<AlertPreview />
```

#### Available in {product name}

To add:

```md

import ProductTrust from '@site/src/components/shared/product-trust.md';

<ProductTrust />
```

# Update release notes
## Update release notes

Every new version of Gateway and Console has to have release notes.

To update release notes:

1. Go to **src/pages/changelog**.
1. Create a new file or copy an existing one and rename it. The name has to be in this format: `<productName>-<versionNumber>.md`.
1. Make sure your file has the following header:

```
---
date: 2025-11-25
Expand All @@ -135,6 +235,7 @@ tags: features,fix

*Release date: {frontMatter.date.toISOString().slice(0, 10)}*
```

1. Document all the changes in the release. If it's a major release, consider adding an index/table of contents to make it easier to read.
1. Open `src/pages/changelog.mdx` and import your new file, e.g.:
```
Expand All @@ -147,13 +248,15 @@ import Console1310 from './changelog/Console-1.31.0.md';
---
```

# Update public API docs
## Update public API docs

API docs live on *host:8888* of the deployed Gateway/Console and are also published to: [Gateway API docs](https://developers.conduktor.io/?product=gateway) and [Console API docs](https://developers.conduktor.io/?product=console).

To update the public docs:

1. Copy the latest open API yaml files from the `conduktor-proxy` repo based on the version:
- [Gateway v1](https://github.com/conduktor/conduktor-proxy/blob/main/proxy/src/main/resources/gateway-API.yaml)
- [Gateway v2](https://github.com/conduktor/conduktor-proxy/blob/main/api-definition/src/main/resources/openapi.yaml)
- [Console](https://github.com/conduktor/console-plus/blob/main/modules/consoleplus/app/src/main/resources/public-api-doc.yaml)
1. Paste the yaml files to [/static/developers](./static/developers/openapi/gateway) and rename as required.
1. Add the new version to `static/developers/openapi/manifest.json`.
1. Add the new version to `static/developers/openapi/manifest.json`.
8 changes: 8 additions & 0 deletions concepts_sidebars.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// @ts-check

/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
conceptsSidebar: [{ type: 'autogenerated', dirName: '.' }],
};

module.exports = sidebars;
4 changes: 0 additions & 4 deletions docs/desktop/account-management/_category_.json

This file was deleted.

43 changes: 0 additions & 43 deletions docs/desktop/account-management/index.md

This file was deleted.

Loading