-
Notifications
You must be signed in to change notification settings - Fork 89
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
Parsing of path-references to pages and modules #1142
Merged
Merged
Commits on Jul 10, 2024
-
This add 3 new kinds of references to pages and units: - Relative paths: {!./foo} {!foo/bar} - Absolute paths: {!/foo} - Paths relative to the current package: {!//foo} The last component of the path can point to a page or a root module. It can be prefixed: {!foo/page-bar} {!foo/module-Bar}. Paths can be on the right of a dot: {!foo/bar.label}. The new reference constructors are plumbed through xref2 but unimplemented.
Configuration menu - View commit details
-
Copy full SHA for 481af7f - Browse repository at this point
Copy the full SHA 481af7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6e46ce - Browse repository at this point
Copy the full SHA b6e46ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 175e93f - Browse repository at this point
Copy the full SHA 175e93fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 861d61b - Browse repository at this point
Copy the full SHA 861d61bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75a9ac6 - Browse repository at this point
Copy the full SHA 75a9ac6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 559a773 - Browse repository at this point
Copy the full SHA 559a773View commit details -
Represent page and module paths
The Page_path constructor cannot represent these references differerently: {!foo/module-Bar} {!foo/page-Bar} {!foo/Bar} The constructors Module_path and Any_path are added in the different reference types and pipeped through to Ref_tools. This also fixes the parsing of paths as label parents and add better error messages when the last component of a path isn't as expected.
Configuration menu - View commit details
-
Copy full SHA for 2fa7483 - Browse repository at this point
Copy the full SHA 2fa7483View commit details -
Rename Reference.Path into Reference.Hierarchy
'Path' was an overloaded term.
Configuration menu - View commit details
-
Copy full SHA for d655956 - Browse repository at this point
Copy the full SHA d655956View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b2c293 - Browse repository at this point
Copy the full SHA 4b2c293View commit details -
Parsing error on path-reference with empty components
Also improve the path parsing to be more readable.
Configuration menu - View commit details
-
Copy full SHA for e66ecbd - Browse repository at this point
Copy the full SHA e66ecbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for fcaa46e - Browse repository at this point
Copy the full SHA fcaa46eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.