-
Notifications
You must be signed in to change notification settings - Fork 38
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
Support sites deployed on paths other than "/" (by generating relative links) #291
Commits on Feb 3, 2022
-
TRG-128 - Generate Table of Content links as relative links.
This aims to address alphagov#271 by ensuring that all TOC links are generated as relative links, rather than absolute. The desired outcome being that the site no longer makes assumptions about being deployed at "/" which in turn makes it "portable" (i.e. possible to deploy it at an arbitrary path).
Configuration menu - View commit details
-
Copy full SHA for ae07fc2 - Browse repository at this point
Copy the full SHA ae07fc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17b5c8a - Browse repository at this point
Copy the full SHA 17b5c8aView commit details -
TRG-128: Refactor path helpers out in to their own module.
Also improved the naming of a few methods and variables.
Configuration menu - View commit details
-
Copy full SHA for fabb8a6 - Browse repository at this point
Copy the full SHA fabb8a6View commit details -
TRG-128: Make /api/pages.json endpoint return relative links when the…
… sites is configured to use relative links.
Configuration menu - View commit details
-
Copy full SHA for d874c33 - Browse repository at this point
Copy the full SHA d874c33View commit details -
TRG-128: Make nav bar expanding, collapsing and highlighting work whe…
…n using generating sites using relative links.
Configuration menu - View commit details
-
Copy full SHA for 73080ca - Browse repository at this point
Copy the full SHA 73080caView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6b0eb9 - Browse repository at this point
Copy the full SHA a6b0eb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f2d71b - Browse repository at this point
Copy the full SHA 1f2d71bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 749fcc5 - Browse repository at this point
Copy the full SHA 749fcc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c3ebc8 - Browse repository at this point
Copy the full SHA 1c3ebc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54ff817 - Browse repository at this point
Copy the full SHA 54ff817View commit details -
Search: Add data-path-to-site-root attribute.
To ensure test code fragment matches the actual generated code.
Configuration menu - View commit details
-
Copy full SHA for 840a478 - Browse repository at this point
Copy the full SHA 840a478View commit details -
Use :http_prefix when calculating the path to the site root, when usi…
…ng absolute links. This configuration setting defaults to '/' so we can rely on it to always have a value.
Configuration menu - View commit details
-
Copy full SHA for 7ccde80 - Browse repository at this point
Copy the full SHA 7ccde80View commit details -
Configuration menu - View commit details
-
Copy full SHA for babdeb7 - Browse repository at this point
Copy the full SHA babdeb7View commit details
Commits on Feb 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d49fef0 - Browse repository at this point
Copy the full SHA d49fef0View commit details