SeleniumHQ / seleniumhq.github.io

Official Selenium website and documentation
https://selenium.dev
Apache License 2.0
1.09k stars 1.28k forks source link

[🐛 Bug]: "SELENIUM_CI_TOKEN not set" error when rendering examples #1891

Closed attila-fazekas closed 4 days ago

attila-fazekas commented 3 weeks ago

What happened?

I followed the contributing guide and ran hugo server.

After opening http://localhost:1313/ and checking examples, I faced the following error: Screenshot 2024-08-25 at 13 29 30

For local development, I believe I don't need to render content fetched from the GitHub API, so I'm not sure what steps I should take to solve this issue.

What browsers and operating systems are you seeing the problem on?

❯ hugo version
hugo v0.125.4-cc3574ef4f41fccbe88d9443ed066eb10867ada2+extended darwin/arm64 BuildDate=2024-04-25T13:27:26Z VendorInfo=gohugoio

❯ sw_vers
ProductName:        macOS
ProductVersion:     14.1
BuildVersion:       23B2073
github-actions[bot] commented 3 weeks ago

@attila-fazekas, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

harsha509 commented 1 week ago

HI @attila-fazekas ,

I don't believe this is an error or a warning. It is more like an informational message related to rendering code samples during local development.

We load code samples from GitHub to ensure that code line numbers are correctly linked to the documentation, which requires an API token to access the samples from GitHub.

For local development, you should be able to work on tasks that aren't directly related to the API.

Thanks, Sri

attila-fazekas commented 4 days ago

Hi Sri,

Thanks for looking into it.

I see, then I'm closing this issue.