Skip to content

chore: rename files to kebab-case - #1375

Merged
AlexAndBear merged 2 commits into
mainfrom
chore/kebab-case-file-names
Nov 16, 2026
Merged

AlexAndBear merged 2 commits into
mainfrom
chore/kebab-case-file-names

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

The README asks for "lowercase, descriptive, kebab-case filenames without spaces". This PR renames the files in docs/, versioned_docs/ and i18n/ that don't follow it.

Images (203 files, 34 distinct names)

Issue Files Example
spaces 114 acknowledgements button.png → acknowledgements-button.png
underscores 71 admin_apps.png → admin-apps.png
uppercase 15 Search-menue.png → search-menue.png
uppercase and spaces 3 Release Cycle OpenCloud.png → release-cycle-opencloud.png
apostrophe 3 subordinate-ca's.png → subordinate-cas.png

All 239 references are updated. Only the paths change, alt texts stay as they are. Images are served under hashed asset URLs, so there are no public URLs to keep.

English image names (second commit)

Some images had German names. They're renamed as well (79 files):

Before After Files
three-dot-menue.png three-dot-menu.png 24
search-menue.png search-menu.png 12
invite-menue.png invite-menu.png 12
shortcut-menue.png shortcut-menu.png 12
plus-menue.png plus-menu.png 6
spaces-plus-symbol-menue.png spaces-plus-symbol-menu.png 6
three-point-menue.png three-dot-menu.png 6
zip-datei.png zip-file.png 1

"menue" is the German spelling of "Menü". three-point-menue.png shows the same three-dot menu as three-dot-menue.png, so it gets the same name. There are no name clashes. Apart from zip-datei.png, the German translation uses the same image names as the English docs.

Pages

  • tus_upload.md → tus-upload.md (next, 7.2, 4.0). The URL changes, so redirects.ts gets a redirect from each old URL. The redirects also work for /de/.
  • verify-SSL-certification.md → verify-ssl-certification.md (4.0 only), and its id is lowercased too. The URL stays the same with slug: verify-SSL-certification. A redirect is not possible here: the old and new URL only differ in case, and on case-insensitive file systems like macOS they're the same folder, so the redirect plugin fails the build with "Redirect file creation error". The two links to this page in docker-compose-base.md are updated.

Not changed

  • upgrade-4.0.0.md, upgrade-7.x.x.md etc. The dots are part of the version number in the name and URL, and these pages are probably linked from release notes.
  • _static/ (generated) and static/.

Tested

  • pnpm build passes, also after the second commit. The broken-anchor warnings are the same 50 as on main. Every image referenced in the built HTML exists in the build.
  • The old tus_upload URLs (en and de, all three versions) redirect to tus-upload.
  • /docs/4.0/admin/getting-started/container/docker-compose/verify-SSL-certification still serves the page.
  • Compared with the live sitemap, the only URL changes are the three tus_upload → tus-upload pages.
  • pnpm lint:md, pnpm format:check and pnpm typecheck pass.

The README asks for lowercase kebab-case file names. Rename 203 images
with spaces, underscores, uppercase letters or apostrophes and update
their references.

Rename tus_upload.md to tus-upload.md in all versions and add redirects
from the old URLs. Rename the 4.0 verify-SSL-certification.md to
verify-ssl-certification.md, but keep its URL with a slug: a redirect
that only differs in case can't be created on case-insensitive file
systems (macOS), where it fails the build.
Copilot AI balanced review requested due to automatic review settings November 16, 2026 11:44
@AlexAndBear
AlexAndBear requested a review from Svanvith November 16, 2026 11:45

@Svanvith Svanvith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Rename the images with German names: 'menue' (German for menu) becomes
'menu', zip-datei.png becomes zip-file.png, and three-point-menue.png
becomes three-dot-menu.png like the other three-dot menu screenshots.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the documentation filename-standardization changes.

No open issues 🎉

What changed in this PR

This PR aligns OpenCloud documentation filenames with the repository’s lowercase kebab-case convention across current docs, versioned docs, and German translations.

Changes:

  • Renames image assets and updates their references without changing alt text.
  • Renames the resumable-upload pages and adds redirects from their previous URLs.
  • Lowercases the 4.0 SSL-verification filename and ID while preserving its public URL through an explicit slug.
File Description
versioned_docs/​version-7.2/​user/​ios-app/​spaces.md Updates search-menu image path.
versioned_docs/​version-7.2/​user/​ios-app/​general/​settings/​terms-of-use.md Updates terms-of-use image paths.
versioned_docs/​version-7.2/​user/​ios-app/​general/​settings/​search-settings.md Updates search-settings image paths.
versioned_docs/​version-7.2/​user/​ios-app/​general/​settings/​recommend-to-a-friend.md Updates recommendation image paths.
versioned_docs/​version-7.2/​user/​ios-app/​general/​settings/​privacy-policy.md Updates privacy-policy image paths.
versioned_docs/​version-7.2/​user/​ios-app/​general/​settings/​help-and-contact.md Updates help-and-contact image paths.
versioned_docs/​version-7.2/​user/​ios-app/​general/​settings/​delete-unused-local-copies.md Updates local-copy settings image paths.
versioned_docs/​version-7.2/​user/​ios-app/​general/​settings/​cellular-data-usage.md Updates cellular-data image path.
versioned_docs/​version-7.2/​user/​ios-app/​general/​settings/​app-version.md Updates app-version image paths.
versioned_docs/​version-7.2/​user/​ios-app/​general/​settings/​acknowledgements.md Updates acknowledgements image paths.
versioned_docs/​version-7.2/​user/​desktop-client/​img/​common-functionality/​desktop-client-states/​ocl-ui-logo-petrol.png Renames ready-state icon to kebab-case.
versioned_docs/​version-7.2/​user/​desktop-client/​common-functionality/​desktop-client-states.md Updates desktop-state icon references.
versioned_docs/​version-7.2/​user/​android-app/​spaces.md Updates search-menu image path.
versioned_docs/​version-7.2/​user/​admin/​settings.md Updates admin-settings image paths.
versioned_docs/​version-7.2/​dev/​server/​apis/​http/​tus-upload.md Renames resumable-upload page to kebab-case.
versioned_docs/​version-7.2/​admin/​resources/​lifecycle.md Updates release-cycle image path.
versioned_docs/​version-7.2/​admin/​getting-started/​other/​raspberry-pi.md Lowercases deployment image reference.
versioned_docs/​version-7.2/​admin/​getting-started/​container/​docker-compose/​docker-compose-base.md Updates subordinate-CA image path.
versioned_docs/​version-4.0/​user/​ios-app/​spaces.md Updates search-menu image path.
versioned_docs/​version-4.0/​user/​ios-app/​general/​settings/​terms-of-use.md Updates terms-of-use image paths.
versioned_docs/​version-4.0/​user/​ios-app/​general/​settings/​search-settings.md Updates search-settings image paths.
versioned_docs/​version-4.0/​user/​ios-app/​general/​settings/​recommend-to-a-friend.md Updates recommendation image paths.
versioned_docs/​version-4.0/​user/​ios-app/​general/​settings/​privacy-policy.md Updates privacy-policy image paths.
versioned_docs/​version-4.0/​user/​ios-app/​general/​settings/​help-and-contact.md Updates help-and-contact image paths.
versioned_docs/​version-4.0/​user/​ios-app/​general/​settings/​delete-unused-local-copies.md Updates local-copy settings image paths.
versioned_docs/​version-4.0/​user/​ios-app/​general/​settings/​cellular-data-usage.md Updates cellular-data image path.
versioned_docs/​version-4.0/​user/​ios-app/​general/​settings/​app-version.md Updates app-version image paths.
versioned_docs/​version-4.0/​user/​ios-app/​general/​settings/​acknowledgements.md Updates acknowledgements image paths.
versioned_docs/​version-4.0/​user/​desktop-client/​img/​desktop-client-states/​ocl-ui-logo-petrol.png Renames ready-state icon to kebab-case.
versioned_docs/​version-4.0/​user/​desktop-client/​common-functionality/​desktop-client-states.md Updates desktop-state icon references.
versioned_docs/​version-4.0/​user/​android-app/​spaces.md Updates search-menu image path.
versioned_docs/​version-4.0/​user/​admin/​settings.md Updates admin-settings image paths.
versioned_docs/​version-4.0/​dev/​server/​apis/​http/​tus-upload.md Renames resumable-upload page to kebab-case.
versioned_docs/​version-4.0/​admin/​resources/​lifecycle.md Updates release-cycle image path.
versioned_docs/​version-4.0/​admin/​getting-started/​other/​raspberry-pi.md Lowercases deployment image reference.
versioned_docs/​version-4.0/​admin/​getting-started/​container/​docker-compose/​verify-ssl-certification.md Lowercases filename and ID; preserves URL and updates image path.
versioned_docs/​version-4.0/​admin/​getting-started/​container/​docker-compose/​docker-compose-base.md Updates links to renamed SSL-verification file.
redirects.ts Adds three legacy resumable-upload URL redirects.
i18n/​de/​docusaurus-plugin-content-docs/​version-7.2/​user/​ios-app/​spaces.md Updates search-menu image path.
i18n/​de/​docusaurus-plugin-content-docs/​version-7.2/​user/​ios-app/​general/​settings/​terms-of-use.md Updates terms-of-use image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-7.2/​user/​ios-app/​general/​settings/​search-settings.md Updates search-settings image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-7.2/​user/​ios-app/​general/​settings/​recommend-to-a-friend.md Updates recommendation image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-7.2/​user/​ios-app/​general/​settings/​privacy-policy.md Updates privacy-policy image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-7.2/​user/​ios-app/​general/​settings/​help-and-contact.md Updates help-and-contact image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-7.2/​user/​ios-app/​general/​settings/​delete-unused-local-copies.md Updates local-copy settings image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-7.2/​user/​ios-app/​general/​settings/​cellular-data-usage.md Updates cellular-data image path.
i18n/​de/​docusaurus-plugin-content-docs/​version-7.2/​user/​ios-app/​general/​settings/​app-version.md Updates app-version image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-7.2/​user/​ios-app/​general/​settings/​acknowledgements.md Updates acknowledgements image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-7.2/​user/​desktop-client/​img/​common-functionality/​desktop-client-states/​ocl-ui-logo-petrol.png Renames ready-state icon to kebab-case.
i18n/​de/​docusaurus-plugin-content-docs/​version-7.2/​user/​desktop-client/​common-functionality/​desktop-client-states.md Updates desktop-state icon references.
i18n/​de/​docusaurus-plugin-content-docs/​version-7.2/​user/​android-app/​spaces.md Updates search-menu image path.
i18n/​de/​docusaurus-plugin-content-docs/​version-7.2/​user/​admin/​settings.md Updates admin-settings image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-4.0/​user/​ios-app/​spaces.md Updates search-menu image path.
i18n/​de/​docusaurus-plugin-content-docs/​version-4.0/​user/​ios-app/​general/​settings/​terms-of-use.md Updates terms-of-use image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-4.0/​user/​ios-app/​general/​settings/​search-settings.md Updates search-settings image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-4.0/​user/​ios-app/​general/​settings/​recommend-to-a-friend.md Updates recommendation image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-4.0/​user/​ios-app/​general/​settings/​privacy-policy.md Updates privacy-policy image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-4.0/​user/​ios-app/​general/​settings/​help-and-contact.md Updates help-and-contact image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-4.0/​user/​ios-app/​general/​settings/​delete-unused-local-copies.md Updates local-copy settings image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-4.0/​user/​ios-app/​general/​settings/​cellular-data-usage.md Updates cellular-data image path.
i18n/​de/​docusaurus-plugin-content-docs/​version-4.0/​user/​ios-app/​general/​settings/​app-version.md Updates app-version image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-4.0/​user/​ios-app/​general/​settings/​acknowledgements.md Updates acknowledgements image paths.
i18n/​de/​docusaurus-plugin-content-docs/​version-4.0/​user/​desktop-client/​img/​desktop-client-states/​ocl-ui-logo-petrol.png Renames ready-state icon to kebab-case.
i18n/​de/​docusaurus-plugin-content-docs/​version-4.0/​user/​desktop-client/​common-functionality/​desktop-client-states.md Updates desktop-state icon references.
i18n/​de/​docusaurus-plugin-content-docs/​version-4.0/​user/​android-app/​spaces.md Updates search-menu image path.
i18n/​de/​docusaurus-plugin-content-docs/​version-4.0/​user/​admin/​settings.md Updates admin-settings image paths.
i18n/​de/​docusaurus-plugin-content-docs/​current/​user/​ios-app/​spaces.md Updates search-menu image path.
i18n/​de/​docusaurus-plugin-content-docs/​current/​user/​ios-app/​general/​settings/​terms-of-use.md Updates terms-of-use image paths.
i18n/​de/​docusaurus-plugin-content-docs/​current/​user/​ios-app/​general/​settings/​search-settings.md Updates search-settings image paths.
i18n/​de/​docusaurus-plugin-content-docs/​current/​user/​ios-app/​general/​settings/​recommend-to-a-friend.md Updates recommendation image paths.
i18n/​de/​docusaurus-plugin-content-docs/​current/​user/​ios-app/​general/​settings/​privacy-policy.md Updates privacy-policy image paths.
i18n/​de/​docusaurus-plugin-content-docs/​current/​user/​ios-app/​general/​settings/​help-and-contact.md Updates help-and-contact image paths.
i18n/​de/​docusaurus-plugin-content-docs/​current/​user/​ios-app/​general/​settings/​delete-unused-local-copies.md Updates local-copy settings image paths.
i18n/​de/​docusaurus-plugin-content-docs/​current/​user/​ios-app/​general/​settings/​cellular-data-usage.md Updates cellular-data image path.
i18n/​de/​docusaurus-plugin-content-docs/​current/​user/​ios-app/​general/​settings/​app-version.md Updates app-version image paths.
i18n/​de/​docusaurus-plugin-content-docs/​current/​user/​ios-app/​general/​settings/​acknowledgements.md Updates acknowledgements image paths.
i18n/​de/​docusaurus-plugin-content-docs/​current/​user/​desktop-client/​img/​common-functionality/​desktop-client-states/​ocl-ui-logo-petrol.png Renames ready-state icon to kebab-case.
i18n/​de/​docusaurus-plugin-content-docs/​current/​user/​desktop-client/​common-functionality/​desktop-client-states.md Updates desktop-state icon references.
i18n/​de/​docusaurus-plugin-content-docs/​current/​user/​android-app/​spaces.md Updates search-menu image path.
i18n/​de/​docusaurus-plugin-content-docs/​current/​user/​admin/​settings.md Updates admin-settings image paths.
docs/​user/​ios-app/​spaces.md Updates search-menu image path.
docs/​user/​ios-app/​general/​settings/​terms-of-use.md Updates terms-of-use image paths.
docs/​user/​ios-app/​general/​settings/​search-settings.md Updates search-settings image paths.
docs/​user/​ios-app/​general/​settings/​recommend-to-a-friend.md Updates recommendation image paths.
docs/​user/​ios-app/​general/​settings/​privacy-policy.md Updates privacy-policy image paths.
docs/​user/​ios-app/​general/​settings/​help-and-contact.md Updates help-and-contact image paths.
docs/​user/​ios-app/​general/​settings/​delete-unused-local-copies.md Updates local-copy settings image paths.
docs/​user/​ios-app/​general/​settings/​cellular-data-usage.md Updates cellular-data image path.
docs/​user/​ios-app/​general/​settings/​app-version.md Updates app-version image paths.
docs/​user/​ios-app/​general/​settings/​acknowledgements.md Updates acknowledgements image paths.
docs/​user/​desktop-client/​img/​common-functionality/​desktop-client-states/​ocl-ui-offline-petrol-colour.png Renames offline-state icon to kebab-case.
docs/​user/​desktop-client/​img/​common-functionality/​desktop-client-states/​ocl-ui-logo-petrol.png Renames ready-state icon to kebab-case.
docs/​user/​desktop-client/​common-functionality/​desktop-client-states.md Updates desktop-state icon references.
docs/​user/​android-app/​spaces.md Updates search-menu image path.
docs/​user/​admin/​settings.md Updates admin-settings image paths.
docs/​dev/​server/​apis/​http/​tus-upload.md Renames resumable-upload page to kebab-case.
docs/​admin/​resources/​lifecycle.md Updates release-cycle image path.
docs/​admin/​getting-started/​other/​raspberry-pi.md Lowercases deployment image reference.
docs/​admin/​getting-started/​container/​docker-compose/​docker-compose-base.md Updates subordinate-CA image path.

Review effort: Balanced

@AlexAndBear
AlexAndBear merged commit 573af0a into main Nov 16, 2026
5 checks passed
@AlexAndBear
AlexAndBear deleted the chore/kebab-case-file-names branch November 16, 2026 11:53
@openclouders openclouders mentioned this pull request Nov 16, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

⌂ Proxy