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

Remove comments builder #38

Merged
merged 4 commits into from
Apr 26, 2018

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Apr 5, 2018

PR on top of #31

Related PR: readthedocs/readthedocs.org#3802

What is missing?

  • Remove css classes
  • Remove related js
  • Re-minify js/css

@stsewd
Copy link
Member Author

stsewd commented Apr 5, 2018

The CSS classes have the sphinx prefix div.sphinx-comments, those were only used for the comments builder and can be removed, right?

})

Copy link
Member Author

Choose a reason for hiding this comment

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

All this file can be removed, I suppose. But the lib/settings.js was required by the others libs, so it was included in the bundle. Settings.js have information that is used outside the comments builder?

Copy link
Member Author

Choose a reason for hiding this comment

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

Also, we need to re-minify the js (css too?) after the PR is completed.

@ericholscher ericholscher merged commit 55f0f95 into readthedocs:master Apr 26, 2018
@stsewd
Copy link
Member Author

stsewd commented Apr 27, 2018

I think this PR wasn't ready to be merged, there were some decisions to be made

#38 (comment)
#38 (comment)

@ericholscher
Copy link
Member

  • I believe the entire sphinxweb.css can be removed
  • I believe all the javascript in _static can be removed, except for readthedocs-data.js_t

@stsewd
Copy link
Member Author

stsewd commented Apr 27, 2018

Ok, I'll continue with this on other PR, also try to test this with my rtd instance

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.

2 participants