Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

Commit b21920b

Browse files
authored
Merge pull request #552 from homarr-labs/remove-docs-versioning
Remove Docusaurus docs versioning
2 parents 15fab83 + a68910c commit b21920b

7,209 files changed

Lines changed: 3 additions & 161685 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/argos.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/release.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,5 @@ jobs:
3030
node-version: ${{ matrix.node-version }}
3131
cache: 'pnpm'
3232
- run: pnpm install
33-
- run: |
34-
RAW_TAG="${{ github.event.client_payload.tag }}"
35-
CLEAN_TAG="${RAW_TAG#v}"
36-
pnpm run docusaurus docs:version $CLEAN_TAG
37-
- uses: EndBug/add-and-commit@v9
38-
with:
39-
message: 'docs: add version ${{ github.event.client_payload.tag }}'
40-
push: true
41-
author_name: "Docs Releases Homarr"
42-
author_email: "204403377+homarr-docs-releases[bot]@users.noreply.github.com"
43-
committer_name: "Docs Releases Homarr"
44-
committer_email: "204403377+homarr-docs-releases[bot]@users.noreply.github.com"
33+
- name: Acknowledge release
34+
run: echo "Homarr release ${{ github.event.client_payload.tag }} acknowledged"

docs/management/boards/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Change the radius of your items / categories.
142142
This is the field where you can enter custom CSS.
143143
The styling will only be applied on the respective board page.
144144

145-
[See this guide on how to work with custom CSS](/docs/next/advanced/styling/).
145+
[See this guide on how to work with custom CSS](/docs/advanced/styling/).
146146

147147
### Behaviour
148148

docusaurus.config.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,6 @@ const config: Config = {
7070
priority: 0.5,
7171
ignorePatterns: ['/tags/**'],
7272
filename: 'sitemap.xml',
73-
createSitemapItems: async (params) => {
74-
const { defaultCreateSitemapItems, ...rest } = params;
75-
const items = await defaultCreateSitemapItems(rest);
76-
const filteredItems = items.filter((item) => {
77-
// Remove all versions except the latest one (all the /docs/{numbers}/* and /docus/next/*)
78-
return !/\/docs\/(\d+(\.\d+)*|next)\//.test(new URL(item.url).pathname);
79-
});
80-
return filteredItems;
81-
},
8273
},
8374
} satisfies Preset.Options,
8475
],
@@ -92,12 +83,6 @@ const config: Config = {
9283
src: 'img/logo.png',
9384
},
9485
items: [
95-
{
96-
type: 'docsVersionDropdown',
97-
position: 'left',
98-
dropdownActiveClassDisabled: true,
99-
includeCurrentVersion: false,
100-
},
10186
{
10287
label: 'Documentation',
10388
type: 'doc',

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@
4444
"tailwindcss": "^3.4.19"
4545
},
4646
"devDependencies": {
47-
"@argos-ci/cli": "^4.1.1",
48-
"@argos-ci/playwright": "^6.4.2",
4947
"@docusaurus/module-type-aliases": "^3.9.2",
5048
"@docusaurus/tsconfig": "^3.9.2",
5149
"@docusaurus/types": "^3.9.2",

0 commit comments

Comments
 (0)