Commit Graph

9 Commits (28dd2fe3053c9bade557f46c539a6f614f726e06)

Author SHA1 Message Date
Anthony 01717c03fa
Add changelog and changelog automation (#3364)
* Add changelog and changelog automation

First, update the version in our setup.cfg and changelog:

    invoke prepare <version>

Then, hand edit and commit, added any release notes, etc. Tag manually or:

    invoke release <version>

Finally, push up your changes.

This:

* Uses setup.cfg instead of setup.py
* Parses setup.cfg for version
* Updates setup.cfg on release prepare task
* Show our release version in our footer
* Uses invoke for task execution
* Uses a node library to hit GitHub and fetch the changelog
* Imports this into our existing changelog

* Fix style with autolint

* Lint fixes
2017-12-07 11:03:00 -07:00
Anthony Johnson 57da05b386
Fix broken dependency for gulp build
vinyl-source-stream was causing problems. This updates the package and reruns
gulp build.
2017-11-04 01:15:03 -06:00
Richard Littauer 746b6817b0 Manifest changes 2017-09-07 18:59:30 -04:00
CM Lubinski 9e07061730 Add eslint using the airbnb config. (#2905)
* Add eslint using the airbnb config.

In an effort to make the JS consistent, this adds an ESLint gulp task. ESLint
is *very* configurable, and has no defaults. Instead, this reaches for
airbnb's legacy config (which covers ES5), which is one of the most popular
configurations. As a last step, it turns off all of the rules which currently
fail. We can turn them on piecemeal, or override the airbnb style to use a
different format.

Rules to prioritize (as they likely indicate bugs):
* "array-callback-return": "off",
* "eqeqeq": "off",
* "guard-for-in": "off",
* "no-inner-declarations": "off",
* "no-loop-func": "off",
* "no-mixed-operators": "off",
* "no-undef": "off",
* "no-use-before-define": "off",
* "one-var": "off",

* Lint frontend in Travis.

This adds an ESLint step to the CI service so we prevent unlinted code from
making its way in.

* Create an ESLint tox env.

By adding a tox env for eslint, we allow users to run it locally as part of
tox runs.

Thanks for the suggestion @ericholscher!

* Fix tox call to gulp lint task
2017-05-24 16:12:33 -07:00
r04r ff7d113e0b Fix github link for vinyl-source-stream (#2688)
Looks like the repo moved from https://github.com/phestermcs/vinyl-source-stream to https://github.com/hughsk/vinyl-source-stream
2017-03-03 11:58:39 -08:00
Anthony Johnson a5330cf751 Scrub search results from ES
This scrubs the HTML we display from ES to avoid script injection.
2016-11-18 14:21:28 -08:00
Anthony Johnson c9c17ee924 Replace vendored theme CSS with bower package support
Gulp will copy these files into our vendored sources from now on,
installing from the sphinx_rtd_theme github repo.
2015-09-10 15:09:09 -07:00
Anthony Johnson 2dedf2781b Standardize and document front end development procedures
* Docs!
* Updated gulpfile, ported changes to corporate gulpfile back here. Changes here include:
  * New browserify syntax, dropped banned gulp-browserify module
  * Broke out jquery and knockout to standalone vendor packages. Client libraries were bundled with these before. Now, templates that include the client libraries are also responsible for including vendor dependencies
  * Vendor libraries are passed through Browserify to provide both global window access as normal, and access to the module via require
  * Ported better structure and better watch file support
  * Added minifying to javascript and vendor javascript
* Regenerated javascript libraries as minified files
* Added readthedocs/static/vendor path for checked in vendor files
* Adds static file dir for generic readthedocs/static path
* Replaces google CDN jquery with vendored jquery, still v2.0.3
* Pinned bower jquery dependency at 2.0.3
2015-07-21 23:53:25 -07:00
Anthony Johnson acc7308715 Add toolchain for front end js/css and basic bits for ads 2015-02-12 14:19:36 -08:00