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

Search configuration #34

Open
Grinnz opened this issue Nov 6, 2020 · 9 comments
Open

Search configuration #34

Grinnz opened this issue Nov 6, 2020 · 9 comments
Labels
enhancement New feature or request

Comments

@Grinnz
Copy link
Owner

Grinnz commented Nov 6, 2020

Some aspects of search should be configurable, which can be provided behind a minimal icon to display the options.

  • Disable auto redirect of function/variable/document names
  • Limit to specific result type
@Grinnz Grinnz added the enhancement New feature or request label Nov 6, 2020
@matthewpersico
Copy link

  • Default to a specific version of Perl. Local to the machine, not the user, so that I can set it one way at work and another way at home.

@matthewpersico
Copy link

Although this may be more of a config for the site https://perldoc.perl.org/ than the software...

@Grinnz
Copy link
Owner Author

Grinnz commented Mar 9, 2021

It's unclear what "defaulting" to a version of Perl would mean. The "latest" URLs must always be the latest stable release to contain the expected content from links and web searches (not to mention that the new Fastly cache requires that each page must return the same content for all users). All other pages are the version of Perl they specify.

@Grinnz
Copy link
Owner Author

Grinnz commented Mar 9, 2021

Perhaps the search configuration could specify which Perl version it is to search, and such a setting could be persisted as could the others. But it could be surprising in various instances. Will think on it.

@matthewpersico
Copy link

My bad. I was unclear. By “default” I mean I pick a version and you drop a cookie such that the next time I come back, I am in that version’s set of pages.

@Grinnz
Copy link
Owner Author

Grinnz commented Mar 15, 2021

But what does that mean, to come back to the site? The site can be entered by URL or from another page's link. If you go to a URL without a version, it must be the latest Perl for the reasons I mentioned, and if you go to a URL with a version well it should be that version.

@matthewpersico
Copy link

And if I go to a url without a version AND I have a cookie with a particular version set, redirect to that version.

@KES777
Copy link

KES777 commented May 11, 2023

It would be good feature. Today tried to search for PERL5DB variable, but got https://perldoc.perl.org/perl5db

Actually was looking for:
https://perldoc.perl.org/perlrun#PERL5DB or https://perldoc.perl.org/perldebguts#Writing-Your-Own-Debugger

PS. Are there something perlenv? To get the list of all perl related environment variables.

@Grinnz
Copy link
Owner Author

Grinnz commented May 17, 2023

The linked seciton of perlrun is the list of all perl related environment variables (though many will be relevant to modules rather than core itself, and will be documented in the appropriate module).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants