Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants