Skip to content

feat: use the Python course as a template for a new JavaScript course (groundworks) #1651

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

Merged
merged 2 commits into from
Jun 27, 2025

Conversation

honzajavorek
Copy link
Collaborator

See #1584 for more details. I carved out these two commits so that we can do incremental reviews of my changes in subsequent PRs instead of a huge PR with everything stuffed in it:

  • 8e6a303 is a copy-paste of the Python course to a new directory called javascript2 (nothing to review, really)
  • 9ccf0df makes it unlisted

There are, of course, more changes to come. This is just groundworks.

The unlisted trick was recommended by @TC-MO in a Slack convo, hopefully ensuring the duplicated course won't be visible on production. Apparently it behaves differently dev vs prod, so I couldn't really verify it properly locally.

I tried running npm run build hoping I'd get a prod build of the docs, but I only got errors. Using npm start I can see the pages in the navigation, but the warning is in place, so I think Docusaurus picks it up correctly:

Screenshot 2025-06-27 at 10 37 52

Hopefully in the prod build it won't be in the navigation. But in the case it's not gonna work properly on prod, I'm ready to revert this PR immediately.

@honzajavorek honzajavorek requested a review from TC-MO June 27, 2025 08:49
@apify-service-account
Copy link

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

@honzajavorek
Copy link
Collaborator Author

honzajavorek commented Jun 27, 2025

Ah, cool, I forgot we have the previews now 😄 It works! Only two courses in the navigation:

Screenshot 2025-06-27 at 11-32-00 Web Scraping Academy Academy Apify Documentation

And it appears if I know the URL:

Screenshot 2025-06-27 at 11-33-38 Extracting data from a web page with browser DevTools Academy Apify Documentation

@honzajavorek honzajavorek added the t-academy Issues related to Web Scraping and Apify academies. label Jun 27, 2025
Copy link
Contributor

@TC-MO TC-MO left a comment

Choose a reason for hiding this comment

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

LGTM

@honzajavorek honzajavorek merged commit e3e49b2 into master Jun 27, 2025
10 checks passed
@honzajavorek honzajavorek deleted the honzajavorek/js2-groundworks branch June 27, 2025 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t-academy Issues related to Web Scraping and Apify academies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants