Skip to content
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

feat(na): add manual link checker scripts #1769

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

mrjones-plip
Copy link
Contributor

@mrjones-plip mrjones-plip commented Feb 7, 2025

Description

This PR add manual link checker scripts. While I'd wanted to do this in CI, I needed to review a recent PR which had 51 changes - this was too many to check by hand, so I resurrected the scripts I'd been using already, but just a veneer of polish on them and sent them off to live in this PR to be merged

Testing

Steps

  1. check out your test branch with lots of changes
  2. start hugo
  3. change dirs and run the check script: cd .github/scripts; ./check.urls.sh

You'll see output like this

$ ./check.urls.sh 

Are you on a test branch and is hugo running on http://localhost:1313 ?

"y" to proceed, "n" to cancel y

http://localhost:1313/building/integrations/custom/ 404
http://localhost:1313/building/integrations/android/ 404
http://localhost:1313/building/integrations/dhis2/ 404
http://localhost:1313/building/integrations/dhis2-aggregate/ Is redirected! Result is:
    -> http://localhost:1313/building/guides/integrations/dhis2-aggregate/ 200 
http://localhost:1313/building/integrations/openmrs/ 404
http://localhost:1313/building/integrations/rapidpro/ 404
http://localhost:1313/building/integrations/oppia/ 404
http://localhost:1313/building/integrations/ 404

Successfully checked 435 URLs!

cht-docs/.github/scripts on  add-manual-link-check-scripts [$!] took 1m15s 
$  

Demo video

(NB - this is ~4x faster than real-time)

linkcheck.F.webm

License

The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.

@andrablaj
Copy link
Member

When running steps 1-3 (main branch, hugo running), I got no URLs saved to urls.txt:

./get.urls.sh

Are you on 'main' branch and running hugo on http://localhost:1313?

"y" to proceed, "n" to cancel y
Saved URLs in urls.txt

In your video, it seems like you are on the 1465-integrations branch when you run the first script. Am I missing something?

@mrjones-plip
Copy link
Contributor Author

The branch is show wrong on the first CLI (see #1) because I changed in another terminal. After I run the command you can see it shows the correct branch (see #2):

image

More importantly, let's figure why it didn't work for you! What does it say after you run the script? For example, for me it says Saved 309 urls.txt URLs in urls.txt.

Also, I realize that it should just hit production to get the main list of URLs. This way you don't have to switch branches! I'll make that change now and then maybe you can give it another go? (I'm otherwise worried about macOS differences of curl or something 🤔 )

@andrablaj
Copy link
Member

Thanks @mrjones-plip. As in the logs I shared above, the script returns Saved URLs in urls.txt for me, with no URLs shaved in the urls.txt file.

@mrjones-plip
Copy link
Contributor Author

Aha - yes - you already put that log info in your earlier comment 😅 - thanks for the reminder.

I'll dig into this!

@mrjones-plip
Copy link
Contributor Author

Thanks again @andrablaj !

Ok - I didn't figure out what the issue is, but realized it will be MUCH faster to just scrape the prod URLs from the site map and then scrape the localhost:1313 versions of those to ensure they redirect correctly. This avoids the whole switching branches and such. As well, it finds more urls 🤔

I've updated the ticket body to be accurate on how to test!

@andrablaj
Copy link
Member

@mrjones-plip I won't be able to review this today, sorry. I will look into this PR tomorrow.

@andrablaj
Copy link
Member

andrablaj commented Feb 12, 2025

I ran the steps in the description locally (by using the branch associated with this PR), and after running the script, I get the following logs:

./check.urls.sh

Are you on a test branch and is hugo running on http://localhost:1313 ?

"y" to proceed, "n" to cancel y

http://localhost:1313/building/concepts/access/ 000
http://localhost:1313/building/reference/api/ 000
http://localhost:1313/building/forms/app/ 000
http://localhost:1313/building/contact-summary/contact-summary-overview/ 000
http://localhost:1313/core/overview/architecture/ 000
http://localhost:1313/contribute/code/core/dev-environment/ 000
http://localhost:1313/core/overview/watchdog/ 000
http://localhost:1313/design/personas/chw-janet/ 000
http://localhost:1313/contribute/code/ 000
http://localhost:1313/design/interface/colors/ 000
http://localhost:1313/building/contact-management/contacts/ 000
http://localhost:1313/building/integrations/custom/ 000
http://localhost:1313/ 000
http://localhost:1313/contribute/code/releasing/feature_releases/ 000
http://localhost:1313/design/interface/icons/forms_tasks_targets/ 000
http://localhost:1313/design/personas/partners/implementers/ 000
http://localhost:1313/exploring/anc/ 000
http://localhost:1313/contribute/medic/data-migration-3x-eks-to-4x-eks/ 000
http://localhost:1313/building/training/onboarding/ 000
http://localhost:1313/building/interoperability/overview/ 000
http://localhost:1313/building/targets/targets-overview/ 000
http://localhost:1313/building/tasks/tasks-overview/ 000
http://localhost:1313/building/translations/overview/ 000
http://localhost:1313/design/interface/icons/people_and_places/ 000
http://localhost:1313/design/personas/ 000
http://localhost:1313/building/prerequisites/ 000
http://localhost:1313/hosting/requirements/ 000
http://localhost:1313/design/user-experience-research/user-interviews/ 000
http://localhost:1313/why-the-cht/ 000
http://localhost:1313/contribute/code/workflow/ 000
http://localhost:1313/contribute/docs/workflow/ 000
http://localhost:1313/contribute/medic/onboarding/all-the-things/ 000
http://localhost:1313/building/integrations/android/ 000
http://localhost:1313/contribute/code/android/development-setup/ 000
http://localhost:1313/contribute/code/core/build-commands/ 000
http://localhost:1313/core/overview/cht-conf/ 000
http://localhost:1313/running-programs/ 000
http://localhost:1313/core/overview/cht-sync/ 000
http://localhost:1313/design/personas/chw-supervisor-ann/ 000
http://localhost:1313/building/forms/contact/ 000
http://localhost:1313/building/contact-summary/contact-summary-templated/ 000
http://localhost:1313/building/contact-management/contact-and-users-1/ 000
http://localhost:1313/core/overview/db-schema/ 000
http://localhost:1313/contribute/medic/deploy-on-eks/ 000
http://localhost:1313/building/guides/data/hydration/ 000
http://localhost:1313/contribute/docs/ 000
http://localhost:1313/design/user-experience-research/focus-group-discussions/ 000
http://localhost:1313/building/local-setup/ 000
http://localhost:1313/hosting/costs/ 000
http://localhost:1313/design/interface/icons/ 000
http://localhost:1313/design/interface/ 000
http://localhost:1313/hosting/4.x/production/kubernetes/ 000
http://localhost:1313/hosting/analytics/setup-kubernetes/ 000
http://localhost:1313/design/personas/partners/local-governments/ 000
http://localhost:1313/building/translations/localizing/ 000
http://localhost:1313/building/concepts/navigation/ 000
http://localhost:1313/core/overview/offline-first/ 000
http://localhost:1313/building/interoperability/openhim/ 000
http://localhost:1313/core/overview/ 000
http://localhost:1313/core/overview/pwa/ 000
http://localhost:1313/core/releases/ 000
http://localhost:1313/building/reference/resources/ 000
http://localhost:1313/building/tasks/simple-tasks/ 000
http://localhost:1313/contribute/code/style-guide/ 000
http://localhost:1313/building/targets/target-widgets/ 000
http://localhost:1313/core/overview/test-data-generator/ 000
http://localhost:1313/building/training/training-cards/ 000
http://localhost:1313/contribute/code/core/ 000
http://localhost:1313/core/ 000
http://localhost:1313/contribute/code-of-conduct/ 000
http://localhost:1313/building/forms/collect/ 000
http://localhost:1313/building/tasks/complex-tasks/ 000
http://localhost:1313/building/interoperability/cht-config/ 000
http://localhost:1313/building/contact-management/contact-and-users-2/ 000
http://localhost:1313/core/overview/data-flows-for-analytics/ 000
http://localhost:1313/building/integrations/dhis2/ 000
http://localhost:1313/hosting/analytics/setup-docker-compose/ 000
http://localhost:1313/building/translations/managing/ 000
http://localhost:1313/design/personas/partners/national-governments/ 000
http://localhost:1313/contribute/medic/onboarding/ 000
http://localhost:1313/design/personas/regional-manager-christina/ 000
http://localhost:1313/contribute/code/android/releasing/ 000
http://localhost:1313/building/targets/targets-js/ 000
http://localhost:1313/building/training/training-cards-resources/ 000
http://localhost:1313/design/interface/typography/ 000
http://localhost:1313/design/user-experience-research/usability-testing/ 000
http://localhost:1313/design/user-experience-research/ 000
http://localhost:1313/hosting/vertical-vs-horizontal/ 000
http://localhost:1313/building/workflows/ 000
http://localhost:1313/building/concepts/care-guides/ 000
http://localhost:1313/design/user-experience-research/ces-surveys/ 000
http://localhost:1313/contribute/code/cht-conf/ 000
http://localhost:1313/design/interface/components/ 000
http://localhost:1313/building/forms/configuring/ 000
http://localhost:1313/building/contact-management/ 000
http://localhost:1313/hosting/analytics/couch2pg-to-cht-sync-migration/ 000
http://localhost:1313/building/integrations/dhis2-aggregate/ 000
http://localhost:1313/exploring/ 000
http://localhost:1313/hosting/kubernetes-vs-docker/ 000
http://localhost:1313/building/interoperability/ltfu/ 000
http://localhost:1313/design/mapping-hierarchy/ 000
http://localhost:1313/building/contact-management/moving-contacts/ 000
http://localhost:1313/design/personas/nurse-mary/ 000
http://localhost:1313/building/guides/android/publishing/ 000
http://localhost:1313/contribute/code/releasing/publish-docker-image/ 000
http://localhost:1313/core/overview/transitions/ 000
http://localhost:1313/building/tasks/tasks-js/ 000
http://localhost:1313/building/training/training/ 000
http://localhost:1313/building/reference/app-settings/accept_case_reports/ 000
http://localhost:1313/building/reference/app-settings/assetlinks/ 000
http://localhost:1313/building/reference/app-settings/hierarchy/ 000
http://localhost:1313/building/reference/app-settings/dhis2/ 000
http://localhost:1313/building/reference/app-settings/forms/ 000
http://localhost:1313/building/reference/app-settings/header_tabs/ 000
http://localhost:1313/building/reference/app-settings/outbound/ 000
http://localhost:1313/building/reference/app-settings/patient_reports/ 000
http://localhost:1313/building/reference/app-settings/user-permissions/ 000
http://localhost:1313/building/reference/app-settings/registrations/ 000
http://localhost:1313/building/reference/app-settings/reminders/ 000
http://localhost:1313/building/reference/app-settings/replication_depth/ 000
http://localhost:1313/building/reference/app-settings/replications/ 000
http://localhost:1313/building/reference/app-settings/user-roles/ 000
http://localhost:1313/building/reference/app-settings/schedules/ 000
http://localhost:1313/building/reference/app-settings/sms/ 000
http://localhost:1313/building/reference/app-settings/token_login/ 000
http://localhost:1313/building/reference/app-settings/transitions/ 000
http://localhost:1313/hosting/3.x/ 000
http://localhost:1313/building/reference/app-settings/ 000
http://localhost:1313/design/best-practices/ 000
http://localhost:1313/contribute/code/android/ 000
http://localhost:1313/building/contact-summary/ 000
http://localhost:1313/contribute/medic/onboarding/daily-updates/ 000
http://localhost:1313/design/personas/data-manager-paul/ 000
http://localhost:1313/hosting/analytics/building-dbt-models/ 000
http://localhost:1313/design/ 000
http://localhost:1313/building/reference/extension-libs/ 000
http://localhost:1313/building/tasks/managing-tasks/ 000
http://localhost:1313/building/features/messaging/ 000
http://localhost:1313/building/integrations/openmrs/ 000
http://localhost:1313/building/interoperability/openmrs/ 000
http://localhost:1313/building/workflows/workflows-overview/ 000
http://localhost:1313/building/forms/form-properties/ 000
http://localhost:1313/building/tutorials/sms-forms/ 000
http://localhost:1313/contribute/technical-resources/ 000
http://localhost:1313/design/user-experience-research/technical-working-sessions/ 000
http://localhost:1313/building/forms/configuring/uhc-mode/ 000
http://localhost:1313/design/interface/ui-kit/ 000
http://localhost:1313/building/contact-management/user-management-tool/ 000
http://localhost:1313/hosting/4.x/ 000
http://localhost:1313/design/personas/app-builder/ 000
http://localhost:1313/building/tutorials/application-settings/ 000
http://localhost:1313/building/ 000
http://localhost:1313/building/condition-cards/ 000
http://localhost:1313/hosting/analytics/testing-dbt-models/ 000
http://localhost:1313/building/workflows/hierarchy/ 000
http://localhost:1313/design/interface/mockups/ 000
http://localhost:1313/building/tutorials/multi-facility-users/ 000
http://localhost:1313/building/integrations/rapidpro/ 000
http://localhost:1313/building/features/reports/ 000
http://localhost:1313/building/tutorials/sms-schedules/ 000
http://localhost:1313/contribute/tech-radar/ 000
http://localhost:1313/building/forms/versioning/ 000
http://localhost:1313/building/tutorials/app-forms/ 000
http://localhost:1313/contribute/medic/ 000
http://localhost:1313/hosting/analytics/dashboards/ 000
http://localhost:1313/building/forms/ 000
http://localhost:1313/hosting/ 000
http://localhost:1313/hosting/monitoring/ 000
http://localhost:1313/building/integrations/oppia/ 000
http://localhost:1313/contribute/code/releasing/ 000
http://localhost:1313/building/features/supervision/ 000
http://localhost:1313/building/targets/ 000
http://localhost:1313/building/concepts/users/ 000
http://localhost:1313/contribute/ 000
http://localhost:1313/hosting/analytics/environment-variables/ 000
http://localhost:1313/design/personas/partners/ 000
http://localhost:1313/contribute/code/repository-checklist/ 000
http://localhost:1313/building/tasks/ 000
http://localhost:1313/contribute/code/core/update-dependencies/ 000
http://localhost:1313/building/translations/ 000
http://localhost:1313/hosting/4.x/app-developer/ 000
http://localhost:1313/building/guides/messaging/gateways/gateway/ 000
http://localhost:1313/building/guides/messaging/gateways/gateway/configuration/ 000
http://localhost:1313/hosting/4.x/production/docker/ 000
http://localhost:1313/glossary/ 000
http://localhost:1313/building/workflows/muting/ 000
http://localhost:1313/hosting/3.x/ec2-setup-guide/ 000
http://localhost:1313/contribute/docs/style-guide/ 000
http://localhost:1313/hosting/4.x/migration/data-migration-3x-docker-to-4x-k3s-multi/ 000
http://localhost:1313/building/training/ 000
http://localhost:1313/contribute/code/using-npm/ 000
http://localhost:1313/building/workflows/death-reporting/ 000
http://localhost:1313/building/interoperability/ 000
http://localhost:1313/contribute/code/static-analysis/ 000
http://localhost:1313/building/features/uhc-mode/ 000
http://localhost:1313/building/features/admin/ 000
http://localhost:1313/contribute/code/core/automated-tests/ 000
http://localhost:1313/contribute/code/design-docs/ 000
http://localhost:1313/building/integrations/ 000
http://localhost:1313/contribute/code/core/style-guide-automated-e2e-tests/ 000
http://localhost:1313/contribute/code/core/apdex-automation-tests/ 000
http://localhost:1313/building/guides/android/branding/ 000
http://localhost:1313/building/concepts/ 000
http://localhost:1313/building/tutorials/application-graphics/ 000
http://localhost:1313/building/tutorials/application-tests/ 000
http://localhost:1313/building/guides/data/users-bulk-load/ 000
http://localhost:1313/building/guides/data/impact-metrics/ 000
http://localhost:1313/building/training/training-cards/training-cards-configuration/ 000
http://localhost:1313/building/features/ 000
http://localhost:1313/contribute/code/quality-assistance/ 000
http://localhost:1313/building/guides/ 000
http://localhost:1313/building/guides/data/training-instance/ 000
http://localhost:1313/building/tutorials/ 000
http://localhost:1313/contribute/code/core/using-windows/ 000
http://localhost:1313/building/guides/data/invalid-reports/ 000
http://localhost:1313/contribute/code/core/run-multiple-chrome-versions/ 000
http://localhost:1313/building/reference/ 000
http://localhost:1313/building/guides/data/csv-to-docs/ 000
http://localhost:1313/building/guides/messaging/gateways/africas-talking/ 000
http://localhost:1313/building/guides/messaging/gateways/ 000
http://localhost:1313/hosting/4.x/production/kubernetes/self-hosting-k3s-multinode/ 000
http://localhost:1313/hosting/4.x/migration/ 000
http://localhost:1313/building/guides/messaging/gateways/gateway/phones/ 000
http://localhost:1313/hosting/3.x/self-hosting/ 000
http://localhost:1313/building/guides/messaging/gateways/rapidpro/ 000
http://localhost:1313/building/guides/messaging/gateways/rapidpro_cht_gateway/ 000
http://localhost:1313/building/guides/messaging/sms-states/ 000
http://localhost:1313/hosting/4.x/migration/data-migration-3x-docker-to-4x-k3s-single/ 000
http://localhost:1313/building/tutorials/couch2pg-setup/ 000
http://localhost:1313/building/guides/messaging/shortcodes/ 000
http://localhost:1313/hosting/4.x/migration/migration-to-4x-docker/ 000
http://localhost:1313/hosting/3.x/app-developer/ 000
http://localhost:1313/contribute/code/hall-of-fame/ 000
http://localhost:1313/hosting/4.x/production/ 000
http://localhost:1313/hosting/3.x/ssl-cert-install/ 000
http://localhost:1313/hosting/4.x/production/docker/adding-tls-certificates/ 000
http://localhost:1313/hosting/4.x/production/docker/logs/ 000
http://localhost:1313/hosting/4.x/upgrade-troubleshooting/ 000
http://localhost:1313/hosting/4.x/production/docker/backups/ 000
http://localhost:1313/building/guides/messaging/message-loops/ 000
http://localhost:1313/building/guides/messaging/gateways/gateway/troubleshooting/ 000
http://localhost:1313/building/guides/privacy/privacy-policy/ 000
http://localhost:1313/building/guides/data/ 000
http://localhost:1313/building/guides/database/ 000
http://localhost:1313/building/guides/debugging/ 000
http://localhost:1313/hosting/monitoring/introduction/ 000
http://localhost:1313/building/guides/messaging/ 000
http://localhost:1313/hosting/3.x/offline/ 000
http://localhost:1313/building/guides/performance/ 000
http://localhost:1313/building/guides/privacy/ 000
http://localhost:1313/building/guides/security/ 000
http://localhost:1313/hosting/monitoring/setup/ 000
http://localhost:1313/building/guides/updates/ 000
http://localhost:1313/building/guides/android/ 000
http://localhost:1313/hosting/analytics/ 000
http://localhost:1313/hosting/monitoring/production/ 000
http://localhost:1313/hosting/monitoring/postgres-ingest/ 000
http://localhost:1313/hosting/monitoring/integration/ 000
http://localhost:1313/hosting/4.x/migration/_partial_migration_3x_docker_to_4x_k3s/ 000
http://localhost:1313/hosting/4.x/migration/_partial_values_explanation/ 000
http://localhost:1313/search/ 000
http://localhost:1313/core/releases/0.4.15-and-earlier/ 000
http://localhost:1313/core/releases/2.10.0/ 000
http://localhost:1313/core/releases/2.10.1/ 000
http://localhost:1313/core/releases/2.10.2/ 000
http://localhost:1313/core/releases/2.10.3/ 000
http://localhost:1313/core/releases/2.11.0/ 000
http://localhost:1313/core/releases/2.11.1/ 000
http://localhost:1313/core/releases/2.11.2/ 000
http://localhost:1313/core/releases/2.11.3/ 000
http://localhost:1313/core/releases/2.12.0/ 000
http://localhost:1313/core/releases/2.12.1/ 000
http://localhost:1313/core/releases/2.12.2/ 000
http://localhost:1313/core/releases/2.12.3/ 000
http://localhost:1313/core/releases/2.12.4/ 000
http://localhost:1313/core/releases/2.12.5/ 000
http://localhost:1313/core/releases/2.13.0/ 000
http://localhost:1313/core/releases/2.13.1/ 000
http://localhost:1313/core/releases/2.13.2/ 000
http://localhost:1313/core/releases/2.13.3/ 000
http://localhost:1313/core/releases/2.13.4/ 000
http://localhost:1313/core/releases/2.13.5/ 000
http://localhost:1313/core/releases/2.13.6/ 000
http://localhost:1313/core/releases/2.13.7/ 000
http://localhost:1313/core/releases/2.14.0/ 000
http://localhost:1313/core/releases/2.14.1/ 000
http://localhost:1313/core/releases/2.14.2/ 000
http://localhost:1313/core/releases/2.14.3/ 000
http://localhost:1313/core/releases/2.15.0/ 000
http://localhost:1313/core/releases/2.16.0/ 000
http://localhost:1313/core/releases/2.16.1/ 000
http://localhost:1313/core/releases/2.17.0/ 000
http://localhost:1313/core/releases/2.18.0/ 000
http://localhost:1313/core/releases/2.18.1/ 000
http://localhost:1313/core/releases/2.6.0/ 000
http://localhost:1313/core/releases/2.6.1/ 000
http://localhost:1313/core/releases/2.6.2/ 000
http://localhost:1313/core/releases/2.6.3/ 000
http://localhost:1313/core/releases/2.7.0/ 000
http://localhost:1313/core/releases/2.7.1/ 000
http://localhost:1313/core/releases/2.7.2/ 000
http://localhost:1313/core/releases/2.7.3/ 000
http://localhost:1313/core/releases/2.8.0/ 000
http://localhost:1313/core/releases/2.8.1/ 000
http://localhost:1313/core/releases/2.8.2/ 000
http://localhost:1313/core/releases/2.8.3/ 000
http://localhost:1313/core/releases/2.8.4/ 000
http://localhost:1313/core/releases/2.8.5/ 000
http://localhost:1313/core/releases/2.9.0/ 000
http://localhost:1313/core/releases/2.9.1/ 000
http://localhost:1313/core/releases/3.0.0/ 000
http://localhost:1313/core/releases/3.1.0/ 000
http://localhost:1313/core/releases/3.10.0/ 000
http://localhost:1313/core/releases/3.10.1/ 000
http://localhost:1313/core/releases/3.10.2/ 000
http://localhost:1313/core/releases/3.10.3/ 000
http://localhost:1313/core/releases/3.10.4/ 000
http://localhost:1313/core/releases/3.10.5/ 000
http://localhost:1313/core/releases/3.11.0/ 000
http://localhost:1313/core/releases/3.11.1/ 000
http://localhost:1313/core/releases/3.11.2/ 000
http://localhost:1313/core/releases/3.11.3/ 000
http://localhost:1313/core/releases/3.12.0/ 000
http://localhost:1313/core/releases/3.12.1/ 000
http://localhost:1313/core/releases/3.13.0/ 000
http://localhost:1313/core/releases/3.14.0/ 000
http://localhost:1313/core/releases/3.14.1/ 000
http://localhost:1313/core/releases/3.14.2/ 000
http://localhost:1313/core/releases/3.15.0/ 000
http://localhost:1313/core/releases/3.16.0/ 000
http://localhost:1313/core/releases/3.16.1/ 000
http://localhost:1313/core/releases/3.17.0/ 000
http://localhost:1313/core/releases/3.17.1/ 000
http://localhost:1313/core/releases/3.17.2/ 000
http://localhost:1313/core/releases/3.2.0/ 000
http://localhost:1313/core/releases/3.2.1/ 000
http://localhost:1313/core/releases/3.3.0/ 000
http://localhost:1313/core/releases/3.4.0/ 000
http://localhost:1313/core/releases/3.4.1/ 000
http://localhost:1313/core/releases/3.5.0/ 000
http://localhost:1313/core/releases/3.6.0/ 000
http://localhost:1313/core/releases/3.6.1/ 000
http://localhost:1313/core/releases/3.6.2/ 000
http://localhost:1313/core/releases/3.7.0/ 000
http://localhost:1313/core/releases/3.7.1/ 000
http://localhost:1313/core/releases/3.8.0/ 000
http://localhost:1313/core/releases/3.8.1/ 000
http://localhost:1313/core/releases/3.8.2/ 000
http://localhost:1313/core/releases/3.9.0/ 000
http://localhost:1313/core/releases/3.9.1/ 000
http://localhost:1313/core/releases/3.9.2/ 000
http://localhost:1313/core/releases/4.0.0/ 000
http://localhost:1313/core/releases/4.0.1/ 000
http://localhost:1313/core/releases/4.1.0/ 000
http://localhost:1313/core/releases/4.1.1/ 000
http://localhost:1313/core/releases/4.1.2/ 000
http://localhost:1313/core/releases/4.10.0/ 000
http://localhost:1313/core/releases/4.11.0/ 000
http://localhost:1313/core/releases/4.12.0/ 000
http://localhost:1313/core/releases/4.13.0/ 000
http://localhost:1313/core/releases/4.14.0/ 000
http://localhost:1313/core/releases/4.15.0/ 000
http://localhost:1313/core/releases/4.16.0/ 000
http://localhost:1313/core/releases/4.17.0/ 000
http://localhost:1313/core/releases/4.2.0/ 000
http://localhost:1313/core/releases/4.2.1/ 000
http://localhost:1313/core/releases/4.2.2/ 000
http://localhost:1313/core/releases/4.2.3/ 000
http://localhost:1313/core/releases/4.2.4/ 000
http://localhost:1313/core/releases/4.3.0/ 000
http://localhost:1313/core/releases/4.3.1/ 000
http://localhost:1313/core/releases/4.3.2/ 000
http://localhost:1313/core/releases/4.4.0/ 000
http://localhost:1313/core/releases/4.4.1/ 000
http://localhost:1313/core/releases/4.4.2/ 000
http://localhost:1313/core/releases/4.5.0/ 000
http://localhost:1313/core/releases/4.5.1/ 000
http://localhost:1313/core/releases/4.5.2/ 000
http://localhost:1313/core/releases/4.6.0/ 000
http://localhost:1313/core/releases/4.7.0/ 000
http://localhost:1313/core/releases/4.7.1/ 000
http://localhost:1313/core/releases/4.7.2/ 000
http://localhost:1313/core/releases/4.8.0/ 000
http://localhost:1313/core/releases/4.8.1/ 000
http://localhost:1313/core/releases/4.9.0/ 000
http://localhost:1313/building/forms/configuring/additional-docs/ 000
http://localhost:1313/building/forms/configuring/app-form-sms/ 000
http://localhost:1313/building/guides/debugging/obtaining-logs/ 000
http://localhost:1313/building/reference/_partial_cht_api/ 000
http://localhost:1313/building/guides/database/muting_in_dashboards/ 000
http://localhost:1313/exploring/contact-tracing/ 000
http://localhost:1313/building/guides/database/couch2pg-oom-errors/ 000
http://localhost:1313/building/guides/database/couchdb-authentication/ 000
http://localhost:1313/exploring/phc-covid/ 000
http://localhost:1313/exploring/covid-education/ 000
http://localhost:1313/exploring/covid-rdt-reference-app/ 000
http://localhost:1313/building/guides/database/database-conflicts/ 000
http://localhost:1313/exploring/direct-to-client/ 000
http://localhost:1313/exploring/ebs/ 000
http://localhost:1313/building/guides/updates/feature-flags/ 000
http://localhost:1313/building/forms/configuring/google-drive/ 000
http://localhost:1313/design/user-experience-research/template/ 000
http://localhost:1313/building/forms/configuring/form-inputs/ 000
http://localhost:1313/design/user-experience-research/generative-template/ 000
http://localhost:1313/exploring/learning-care/ 000
http://localhost:1313/building/tutorials/_partial_docker_setup/ 000
http://localhost:1313/exploring/interoperability/ 000
http://localhost:1313/building/guides/privacy/policy/ 000
http://localhost:1313/building/forms/configuring/multimedia/ 000
http://localhost:1313/building/tasks/managing-tasks/pass-data-to-form/ 000
http://localhost:1313/exploring/pharmacovigilance-reference-app/ 000
http://localhost:1313/exploring/pih/ 000
http://localhost:1313/building/guides/updates/preparing-for-4/ 000
http://localhost:1313/building/guides/debugging/replicating-production-data-locally/ 000
http://localhost:1313/building/guides/performance/purging/ 000
http://localhost:1313/building/guides/database/querying_apdex_telemetry/ 000
http://localhost:1313/building/tasks/managing-tasks/query-task-data/ 000
http://localhost:1313/building/guides/database/querying_training_card_telemetry/ 000
http://localhost:1313/building/forms/configuring/wealth-quintiles/ 000
http://localhost:1313/building/guides/database/rdbms-from-mac/ 000
http://localhost:1313/building/guides/database/rdbms-from-windows/ 000
http://localhost:1313/building/guides/updates/collect-forms-update/ 000
http://localhost:1313/exploring/training/ 000
http://localhost:1313/building/guides/performance/replication/ 000
http://localhost:1313/building/forms/configuring/report-titles/ 000
http://localhost:1313/design/user-experience-research/scoped/ 000
http://localhost:1313/building/guides/security/securely-onboarding-users-at-scale/ 000
http://localhost:1313/building/guides/debugging/secure-sharing-of-developer-instance/ 000
http://localhost:1313/building/guides/security/securing-android/ 000
http://localhost:1313/building/guides/debugging/sharing-4x-logs/ 000
http://localhost:1313/exploring/stock-monitoring/ 000
http://localhost:1313/exploring/supervisor-reference-app/ 000
http://localhost:1313/building/tasks/managing-tasks/task-schema-parameters/ 000
http://localhost:1313/building/guides/performance/telemetry/ 000
http://localhost:1313/building/reference/_partial_utils/ 000

Successfully checked URLs!

Two questions:

  • Is the 000 at the end of each URL expected?
  • Successfully checked URLs! doesn't contain a count. Is that expected?

.gitignore Outdated Show resolved Hide resolved
@mrjones-plip mrjones-plip requested review from andrablaj and removed request for andrablaj February 19, 2025 22:35
@mrjones-plip
Copy link
Contributor Author

oops - let me try and figure our 000 issue - then ask for another review.

@mrjones-plip
Copy link
Contributor Author

@andrablaj - the 000 codes I can reproduce if hugo isn't running 🤔 Can you confirm that hugo is running locally and that it works to call:

curl -I http://localhost:1313/

with this output?

HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Length: 173248
Content-Type: text/html; charset=utf-8
Last-Modified: Wed, 19 Feb 2025 23:29:57 GMT
Date: Wed, 19 Feb 2025 23:31:15 GMT

And that you get a 200 when you call:

curl -s -o /dev/null -w "%{http_code}" http://localhost:1313/

Thanks!

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.

2 participants