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

Prefix page names with their namespace #81

Open
ltning opened this issue Apr 11, 2018 · 3 comments
Open

Prefix page names with their namespace #81

ltning opened this issue Apr 11, 2018 · 3 comments
Labels
candidateForNewcomers could be a good task for people not familiar yet with the codebase of the plugin Feature request

Comments

@ltning
Copy link

ltning commented Apr 11, 2018

We'd love to have a way to list pages prefixed by their namespace. For example when using the following code:
<nspages .:nagios -r>
I'd like an output where any pages found are listed with the part of the namespace that follows 'nagios', e.g.
host1.my.domain:system_load
instead of merely system_load.

For context: We use this as a way to document hosts and services in Nagios, and nspages to show which documentation we've already collected. however, if we have a system_load page on several hosts (e.g. because different hosts require different actions when a notification is triggered), we don't know which host each link belongs to unless we also include -subns - but that makes the output extremely large.

@gturri
Copy link
Owner

gturri commented Apr 11, 2018

It seems like an interesting feature. I'm not sure I'll have the time to work on it soon, but I'll keep it in mind. (also, pull requests are welcome)

@ltning
Copy link
Author

ltning commented Apr 11, 2018

If you do crack the code open to implement this, can I also have a -nsLinkWithoutStart or something? So when it lists subnamespaces, the links should be without ':start'.. Want another issue for this? I might patch and make a pull req, but only if you promise to merge it and release an updated version somewhat soonish after :)

@gturri
Copy link
Owner

gturri commented Apr 11, 2018

I'm not sure I understand the use case for a -nsLinkWithoutStart option. I'm curious to get a better understanding about this.

That being said, yes, whenever a pull request looks good to me, I usually merge and release it without too much delay.

@gturri gturri added the candidateForNewcomers could be a good task for people not familiar yet with the codebase of the plugin label May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
candidateForNewcomers could be a good task for people not familiar yet with the codebase of the plugin Feature request
Projects
None yet
Development

No branches or pull requests

2 participants