-
Notifications
You must be signed in to change notification settings - Fork 64
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
Remove Jira table, improve side panel links #199
Conversation
@@ -96,8 +96,8 @@ function PluginPage({data: {jenkinsPlugin: plugin}}) { | |||
<a href={plugin.wiki.url} target="_wiki">Jenkins Wiki</a> | |||
{' the '} | |||
<a href="https://groups.google.com/forum/#!msg/jenkinsci-dev/lNmas8aBRrI/eL3u7A6qBwAJ" rel="noopener noreferrer" target="_blank">read-only state</a> | |||
{'. We recommend moving the plugin documentation to GitHub, see the guidelines '} | |||
<a href="https://jenkins.io/blog/2019/10/21/plugin-docs-on-github/" rel="noopener noreferrer" target="_blank">here</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so 👍, "here" is such bad practice.
@@ -31,6 +31,8 @@ function getContentFromConfluencePage(url, content) { | |||
|
|||
// Remove any table of contents | |||
$('.toc').remove(); | |||
// remove jira issue table | |||
$('.jira-table.conf-macro.output-block').remove(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just .jira-table?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could anyone use jira-table
in some other context where it makes sense to keep it? I wasn't 100% sure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea, more specific is good since its auto generated anyways.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure we can easily do it on plugins-api, but since all wiki fetching is done by plugin-site for now, i'm happy with this.
3 minor SEO related fixes