Skip to content

Fix 'GitLab' brand name #540

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hsnabszhdn
Copy link

The actual brand is "GitLab" as opposed to "Gitlab":

@hsnabszhdn hsnabszhdn requested review from a team as code owners July 3, 2025 03:35
Copy link

github-actions bot commented Jul 3, 2025

Vercel Previews Deployed

Name Status Preview Updated (UTC)
Dev Portal ✅ Ready (Inspect) Visit Preview Fri Jul 11 22:36:29 UTC 2025
Unified Docs API ✅ Ready (Inspect) Visit Preview Fri Jul 11 22:31:29 UTC 2025

Copy link

github-actions bot commented Jul 3, 2025

Broken Link Checker

Summary

Status Count
🔍 Total 1347
✅ Successful 1080
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 106
❓ Unknown 0
🚫 Errors 161

Errors per input

Errors in content/terraform-enterprise/v202209-1/docs/enterprise/vcs/troubleshooting.mdx

Errors in content/terraform-enterprise/v202210-1/docs/enterprise/vcs/gitlab-eece.mdx

Errors in content/terraform/v1.6.x/docs/language/style.mdx

Errors in content/terraform-enterprise/v202212-2/docs/enterprise/vcs/troubleshooting.mdx

Errors in content/terraform/v1.7.x/docs/language/style.mdx

Errors in content/terraform-enterprise/v202301-1/docs/enterprise/vcs/gitlab-eece.mdx

Errors in content/terraform-enterprise/v202207-1/docs/enterprise/vcs/troubleshooting.mdx

Errors in content/terraform-enterprise/v202206-1/docs/enterprise/vcs/troubleshooting.mdx

Errors in content/terraform-enterprise/v202209-2/docs/enterprise/vcs/troubleshooting.mdx

Errors in content/terraform/v1.11.x/docs/language/style.mdx

Errors in content/terraform/v1.3.x/docs/language/style.mdx

Errors in content/terraform-enterprise/v202302-1/docs/enterprise/vcs/gitlab-eece.mdx

Errors in content/terraform-enterprise/v202301-2/docs/enterprise/vcs/troubleshooting.mdx

Errors in content/terraform-enterprise/v202212-1/docs/enterprise/vcs/gitlab-eece.mdx

Errors in content/terraform-enterprise/v202208-2/docs/enterprise/vcs/troubleshooting.mdx

Errors in content/terraform-enterprise/v202208-1/docs/enterprise/vcs/troubleshooting.mdx

Errors in content/terraform-enterprise/v202211-1/docs/enterprise/vcs/gitlab-eece.mdx

Errors in content/terraform/v1.2.x/docs/language/style.mdx

Errors in content/terraform-enterprise/v202209-2/docs/enterprise/vcs/gitlab-eece.mdx

Errors in content/terraform/v1.8.x/docs/language/style.mdx

Errors in content/terraform-enterprise/v202207-2/docs/enterprise/vcs/troubleshooting.mdx

Errors in content/terraform-enterprise/v202208-2/docs/enterprise/vcs/gitlab-eece.mdx

Errors in content/terraform-enterprise/v202208-3/docs/enterprise/vcs/gitlab-eece.mdx

Errors in content/terraform-enterprise/v202212-2/docs/enterprise/vcs/gitlab-eece.mdx

Errors in content/terraform/v1.9.x/docs/language/style.mdx

Errors in content/terraform-enterprise/v202208-3/docs/enterprise/vcs/troubleshooting.mdx

Errors in content/terraform-enterprise/v202212-1/docs/enterprise/vcs/troubleshooting.mdx

Errors in content/terraform-enterprise/v202301-2/docs/enterprise/vcs/gitlab-eece.mdx

Errors in content/terraform/v1.4.x/docs/language/style.mdx

Errors in content/terraform-enterprise/v202210-1/docs/enterprise/vcs/troubleshooting.mdx

Errors in content/terraform-enterprise/v202211-1/docs/enterprise/vcs/troubleshooting.mdx

Errors in content/terraform/v1.10.x/docs/language/style.mdx

Errors in content/terraform-enterprise/v202302-1/docs/enterprise/vcs/troubleshooting.mdx

Errors in content/terraform-enterprise/v202301-1/docs/enterprise/vcs/troubleshooting.mdx

@nikolasrieble
Copy link
Contributor

This is great, @hsnabszhdn, thank you. I would like to encourage going one step further: How do we ensure that this is not repeated in new documentation?

Is there a way to lint our documentation? Without such an automated step, I am worried this one off effort might need to be repeated over and over.

Importantly, I am not blocking change, but suggest to add another (possibly in a separate PR)

@hsnabszhdn
Copy link
Author

hsnabszhdn commented Jul 4, 2025

Good point @nikolasrieble!

To be honest, this is the first time I open this repo, and I wasn't able to run the code locally. The README file doesn't seem to be publicly usable. It needs logging in to Vercel to generate a .env file. So, I can't really address your concern based on the existing tools and patterns.

However, there is this Code Spell Checker VS Code extension that works locally. It doesn't seem to have a CLI to integrate with CI, so might not be the silver bullet solution.

I installed it locally with this cspell.json:

{
    "caseSensitive": true,
    "words": [
        "GitLab",
        "gitlab"
    ],
    "flagWords": [
        "Gitlab"
    ]
}

...and this is how it highlights in my IDE:

image

There is also this markdown-spellcheck npm package that might help with CI.

Regardless, it's worth discussing. Do you want me to create an issue and continue the discussion there or do you want to take the discussion internally first?

@hsnabszhdn
Copy link
Author

To add to my previous comment...

Although not as much, using "Gitlab" instead of "GitLab" is just as silly as these:

  • "MicroSoft" instead of "Microsoft"
  • "MacOS" instead of "macOS"
  • "terraform" instead of "Terraform"
  • "usd" instead of "USD"
  • "100 %" instead of "100%"
  • ...

We are engineers; of course we can write tools and linters to catch all different types of mistakes in all different file types, but would it be worth the effort and cost?

Maybe just a "style guide" would suffice? Not as comprehensive, but something similar to these in a Markdown file:

Contributors and, more importantly, code reviewers would have a reference for common mistakes/inconsistencies:

  • "Terraform registry" vs "Terraform Registry"
  • "e.g." vs "e.g.," vs "eg," vs "eg:"
  • "v.1.6" vs "v1.6"
  • Headings:
    • "Example Usage" vs "Example usage"
    • "Write-Only Arguments" vs "Write-only Arguments" vs "Write-only arguments"
  • ...

Although I have a feeling that even a style guide wouldn't be the right place for wrong brand names... What would we put there? "Use brand names as they are; don't butcher them"? Isn't that inherent/obvious?

@rkoron007
Copy link
Contributor

Maybe just a "style guide" would suffice? Not as comprehensive, but something similar to these in a Markdown file:

We actually have an existing style guide, but are on the cusp of replacing it with a better and more cohesive style guide right now! We will be publishing our new style guide soon, so please hold tight in the meantime!

Contributors and, more importantly, code reviewers would have a reference for common mistakes/inconsistencies:

  • "Terraform registry" vs "Terraform Registry"

  • "e.g." vs "e.g.," vs "eg," vs "eg:"

  • "v.1.6" vs "v1.6"

  • Headings:

    • "Example Usage" vs "Example usage"
    • "Write-Only Arguments" vs "Write-only Arguments" vs "Write-only arguments"

The examples you listed actually all have related rules that we have established in our existing style guide:

  • Only capitalize product names, not feature names.
  • Use sentence case for all heading (this is a semi-recent rule, so it is taking a while to go back and fix all these).
  • Write in English and don't use foreign abbreviations, such as the latin ones you listed above.

I don't believe we have a clear cut rule for brand names, but I agree that by default folks should use the capitalization the company themselves use. However, everyone makes mistakes, and I myself have been guilty of writing "Github" instead of "GitHub". The most important thing in documentation is clarity, not being perfectly right all the time. And I say that as a technical writer! 😂

@hsnabszhdn hsnabszhdn force-pushed the fix-gitlab-brand-name branch from 89a0cd0 to 9785a11 Compare July 11, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants