-
-
Notifications
You must be signed in to change notification settings - Fork 70
Remove rspec-doc-template yard plugin + remove empty lines from HTML doc #245
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
Conversation
We do not want Google Analytics because we don't use it Also rdoc/erb generate a lot of extra empty line in every html. We clean all the html files before.
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.
👍 LGTM
@@ -26,7 +26,7 @@ def run_command(command, opts={}) | |||
FileUtils.cd(path) do | |||
puts "#{'='*3} #{dir} #{'='*(40 - dir.length)}" | |||
begin | |||
Bundler.clean_system(command) | |||
Bundler.unbundled_system(command) |
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.
👍
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.
Hm theres a reason we were using clean_system but I've forgotten what it is
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.
In my case, I just followed the deprecation warning.
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.
Ah then I think its a bundler 1 vs 2 issue
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.
Is this a blocker for this PR?
On another project we added an helper method that check if unbundled_system
was defined, if not, fallback to clean_system
. But I think we can keep it like this.
I didn't try all the rake commands and I lack history on the subject so feel free to tell me Jon.
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.
No it's our dev tools, we can always revert.
The previous script run commands `ag` commands on rspec-github.io and not the source/lib/version folder. It means we are doing extra work everytime we generate documentation. With this change we reduce the scope of files that can be processed but also the command is much faster.
Sorry, last night I remember that my script to remove lines is not scoped to the rspec gem version you want in I added a commit that do This was maybe a choice that is wanted. I can revert it. 😊 I will keep the all lines already removed in rspec.gihub.io because it is a necessary cleaning. The last commit do not change the doc generated (expect doc generation timestamp in footer). |
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.
Looks good.
I would prefer not to keep the script focused on just one project/version, but it's ok focused as well.
Thanks Jon :) |
Related: