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

Update layout.html #1554

Closed
wants to merge 2 commits into from
Closed

Update layout.html #1554

wants to merge 2 commits into from

Conversation

yardos
Copy link
Contributor

@yardos yardos commented Aug 30, 2017

  • removed (commented) old Google Analytics code
  • added two snippets for Google Tag Manager (GTM), one in , the other in

* removed (commented) old Google Analytics code
* added two snippets for Google Tag Manager (GTM), one in <head>, the other in <body>
@piskvorky piskvorky self-assigned this Aug 30, 2017
@piskvorky
Copy link
Owner

@menshikh-iv the tests are failing but I don't see any problem with the changes. Can you check?

@menshikh-iv
Copy link
Contributor

menshikh-iv commented Aug 31, 2017

@piskvorky Here flake8 check non-py files, I fix this incorrect behavior in #1522.
Here I can "hot fix" it.

@piskvorky
Copy link
Owner

piskvorky commented Aug 31, 2017

@menshikh-iv No need for hot-fix, I'll test this PR by regenerating the docs and uploading to a separate website dir ("manual test"). Should get to it later today after meetings.

If the CI issue is solved elsewhere, that's enough. But we should merge #1522 ASAP, that must be confusing to new contributors!

@menshikh-iv
Copy link
Contributor

Agree, I'll merge #1522 soon (when I finished with ipynb).

@piskvorky
Copy link
Owner

piskvorky commented Aug 31, 2017

@yardos I uploaded the generated docs to https://radimrehurek.com/dostal_gensim/

Chrome inspector reports some errors (404 for https://www.googletagmanager.com/gtm.js?id=GTM-MP366CC), so this will need some fixes I assume. Please have a look.

ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
<script type="text/javascript"> // only commented for the moment - JD-20170830
Copy link
Owner

@piskvorky piskvorky Aug 31, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to remove code than to comment it out.

The full history is stored, versioned and archived by git anyway, in case we ever need to go back. Like this we only bloat up the pages for no reason (slower page download, harder to read source, more room for error).

@menshikh-iv
Copy link
Contributor

menshikh-iv commented Aug 31, 2017

Current test error connected with old bug that already fixed in develop branch.
@yardos Please update your develop branch and merge develop to the current branch.

@piskvorky
Copy link
Owner

Oh, this PR is against master. I didn't even notice.

@yardos , can you please open the PR against the develop branch of gensim (not master)?

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.

3 participants