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

Handle filenames with '.'s #230

Merged
merged 2 commits into from
Jul 1, 2023
Merged

Handle filenames with '.'s #230

merged 2 commits into from
Jul 1, 2023

Conversation

artempyanykh
Copy link
Owner

  • refactor: Provide a higher-level SuffixTree interface
  • fix: Canonicalize doc paths more reasonably

The idea is to make the higher-level interface encapsulate splitting of a key into components.
Previously, it'd just chop off the extension no matter what it was. Which is problematic for files that have '.'s in their names e.g. 'file.with.dots.md' as we should be able to resolve both `[[file.with.dots]]` and `[[file.with.dots.md]]`.
@artempyanykh artempyanykh merged commit d7839c3 into main Jul 1, 2023
3 checks passed
@artempyanykh artempyanykh deleted the support-dots branch July 1, 2023 14:50
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.

None yet

1 participant