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: Added generalised version matching for docs that require it #10

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

MetinYalcinkaya
Copy link

Building on the Python versioning fallback, added a generalised way to deal with
versioned docs (E.g: Python3.13, gcc14), and defaults to latest version is
none is provided by the user. Uses regex matching to split between name and version.

Fixes brpaz#5

Ulauncher API no longer supports CACHE_DIR from ulauncher.config, using CACHE_PATH from ulauncher.utils.migrate
Fixes brpaz#7

- Parses docs as JSON before it's passed to set_docs_to_fetch()
  - Fixes the issue of random languages getting indexed
    - E.G.: If you put "markdown" and it parses it as a string, it also indexes
      D and R docs
- Devdocs uses versions (python~3.13) for python, so added fallback for when a user enters
just "python"
Building on the Python versioning fallback, added a generalised way to deal with
versioned docs (E.g: Python~3.13, gcc~14), and defaults to latest version is
none is provided by the user. Uses regex matching to split between name and version.
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.

1 participant