Skip to content

Conversation

TC-MO
Copy link
Contributor

@TC-MO TC-MO commented Sep 16, 2025

rework Capitalization rules
turn it back on

rework Capitalization rules
turn it back on
turn back Apify-specific rules
fix all errors within sources/platform
@TC-MO TC-MO self-assigned this Sep 16, 2025
@TC-MO TC-MO added documentation Improvements or additions to documentation. t-docs Issues owned by technical writing team. labels Sep 16, 2025
@apify-service-account
Copy link

Preview for this PR was built for commit cbbc894 and is ready at https://pr-1930.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit 5938e02 and is ready at https://pr-1930.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit 7250fdf and is ready at https://pr-1930.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit e909c6c and is ready at https://pr-1930.preview.docs.apify.com!

@TC-MO TC-MO requested a review from tomnosek September 18, 2025 15:33
@TC-MO TC-MO marked this pull request as ready for review September 18, 2025 15:44
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on September 24

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment @cursor review or bugbot run to trigger another review on this PR

- [Set up environment variables in Apify Console](#set-up-environment-variables-in-apify-console)
- [Access environment variables](#access-environment-variables)
- [Use the `Configuration` class](#use-the-configuration-class)
- [Build-time environment variables](#build-time-environment-variables)
Copy link

Choose a reason for hiding this comment

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

Bug: Misplaced Navigation List Causes Confusion

The navigation list under "How to use environment variables in an Actor" is misplaced within the section. It contains a self-referential link to the current section and its seven items contradict the introductory text about "two ways."

Fix in Cursor Fix in Web

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Huh, something (perhaps an extension to Cursor autogenerated full ToC, I'll fix it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Found the culprit and pushing fix for this

@apify-service-account
Copy link

Preview for this PR was built for commit cc6c41f6 and is ready at https://pr-1930.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit 93a8e003 and is ready at https://pr-1930.preview.docs.apify.com!

# Product name changes
'apify dashboard': Apify Console
'apify console': Apify Console
'Apify console': Apify Console
Copy link
Contributor

Choose a reason for hiding this comment

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

If there's ignorecase: true, is there a reason to have both cases mentioned?

Also, similar to the apify proxy below, we could have the apify console and the apify store swapped for just Apify Console/Store.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess that's true, I was trying to be a little extra, will remove i, and add your suggestion

This is the default option when your Actor's source code is hosted on the Apify platform. It offers quick previews and updates to your source code, easy file and directory browsing, and direct testing of the [`INPUT_SCHEMA.json`](/platform/actors/development/actor-definition/input-schema) on the Apify platform.

A `Dockerfile` is mandatory for all Actors. When using the default NodeJS Dockerfile, you'll typically need `main.js` for your source code and `package.json` for [NPM](https://www.npmjs.com/) package configurations.
A `Dockerfile` is mandatory for all Actors. When using the default NodeJS Dockerfile, you'll typically need `main.js` for your source code and `package.json` for [npm](https://www.npmjs.com/) package configurations.
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it make sense to add NPM to npm also to the swap rules?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I want to try one more package once I deal with those rules and another PR with fixes to almost everything except H1's in Academy called Openly. I think it deals with a lot of those tech terms, might even lead to simplifying accept.txt

Let's explore the Actor structure.
<!-- vale Apify.Capitalization = NO -->
Copy link
Contributor

Choose a reason for hiding this comment

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

I imagine there are multiple occurrences (or multiple occurrences can happen) of the .actors folder. Would it make sense to define the swap rule as:
actor/ actors Actor/Actors
.actor.actor
I.e., with the leading space. Because I cannot see a situation where Actor would be used without a space before itself.

But it's true that it doesn't solve actor.json.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

technically Vale should ignore prose in inline code done with backticks and for the 95% it does... until it doesn't thus this ugly hack

Copy link
Contributor Author

Choose a reason for hiding this comment

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

and even more so, it should ignore things in headings... but for some god forsaken reason it didn't here

@apify-service-account
Copy link

Preview for this PR was built for commit 82f3e5bd and is ready at https://pr-1930.preview.docs.apify.com!

@TC-MO TC-MO requested a review from tomnosek October 1, 2025 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation. t-docs Issues owned by technical writing team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants