Skip to content

EES-5866 Fix 'View source' links in public API docs #5614

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
Feb 19, 2025
Merged

EES-5866 Fix 'View source' links in public API docs #5614

merged 2 commits into from
Feb 19, 2025

Conversation

ntsim
Copy link
Collaborator

@ntsim ntsim commented Feb 19, 2025

This PR fixes the 'View source' links at the bottom of each page. To fix this, we needed to monkey path the existing GovukTechDocs.SourceUrls class to provide the correct path. The default implementation expects the docs to live at the project root whilst ours are in src/explore-education-statistics-api-docs.

Other changes

  • Tidied up monkey patch for GovukTechDocs.PathHelpers.

@ntsim ntsim merged commit e375018 into dev Feb 19, 2025
10 checks passed
@ntsim ntsim deleted the ees-5866 branch February 19, 2025 18:45
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