Repository navigation
chore: rename files to kebab-case - #1375
Merged
Merged
Conversation
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.
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.
Contributor
There was a problem hiding this comment.
🟢 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The README asks for "lowercase, descriptive, kebab-case filenames without spaces". This PR renames the files in
docs/,versioned_docs/andi18n/that don't follow it.Images (203 files, 34 distinct names)
acknowledgements button.png→acknowledgements-button.pngadmin_apps.png→admin-apps.pngSearch-menue.png→search-menue.pngRelease Cycle OpenCloud.png→release-cycle-opencloud.pngsubordinate-ca's.png→subordinate-cas.pngAll 239 references are updated. Only the paths change,
alttexts 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):
three-dot-menue.pngthree-dot-menu.pngsearch-menue.pngsearch-menu.pnginvite-menue.pnginvite-menu.pngshortcut-menue.pngshortcut-menu.pngplus-menue.pngplus-menu.pngspaces-plus-symbol-menue.pngspaces-plus-symbol-menu.pngthree-point-menue.pngthree-dot-menu.pngzip-datei.pngzip-file.png"menue" is the German spelling of "Menü".
three-point-menue.pngshows the same three-dot menu asthree-dot-menue.png, so it gets the same name. There are no name clashes. Apart fromzip-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, soredirects.tsgets a redirect from each old URL. The redirects also work for/de/.verify-SSL-certification.md→verify-ssl-certification.md(4.0 only), and itsidis lowercased too. The URL stays the same withslug: 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 indocker-compose-base.mdare updated.Not changed
upgrade-4.0.0.md,upgrade-7.x.x.mdetc. The dots are part of the version number in the name and URL, and these pages are probably linked from release notes._static/(generated) andstatic/.Tested
pnpm buildpasses, also after the second commit. The broken-anchor warnings are the same 50 as onmain. Every image referenced in the built HTML exists in the build.tus_uploadURLs (en and de, all three versions) redirect totus-upload./docs/4.0/admin/getting-started/container/docker-compose/verify-SSL-certificationstill serves the page.tus_upload→tus-uploadpages.pnpm lint:md,pnpm format:checkandpnpm typecheckpass.