From 0dc9797d7ae8258237111362838c4b14c95d471e Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 11 Feb 2018 00:59:52 -0500 Subject: [PATCH 1/3] Change SASS to Sass --- README.rst | 4 ++-- docs/changes.rst | 2 +- docs/frameworks/flask.rst | 24 ++++++++++++------------ docs/index.rst | 10 +++++----- pysass.cpp | 4 ++-- sass.py | 26 +++++++++++++------------- sassutils/__init__.py | 4 ++-- sassutils/builder.py | 16 ++++++++-------- sassutils/distutils.py | 8 ++++---- sassutils/wsgi.py | 2 +- setup.py | 2 +- 11 files changed, 51 insertions(+), 51 deletions(-) diff --git a/README.rst b/README.rst index 98e7e718..6fcb92e6 100644 --- a/README.rst +++ b/README.rst @@ -107,9 +107,9 @@ Credit Hong Minhee wrote this Python binding of Libsass_. Hampton Catlin and Aaron Leung wrote Libsass_, which is portable C/C++ -implementation of SASS_. +implementation of Sass_. -Hampton Catlin originally designed SASS_ language and wrote the first +Hampton Catlin originally designed Sass_ language and wrote the first reference implementation of it in Ruby. The above three softwares are all distributed under `MIT license`_. diff --git a/docs/changes.rst b/docs/changes.rst index e575ec02..9ba30254 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -213,7 +213,7 @@ Version 0.9.3 Released on December 03, 2015. -- Support "indented" SASS compilation [:issue:`41` by Alice Zoë Bevan–McGregor] +- Support "indented" Sass compilation [:issue:`41` by Alice Zoë Bevan–McGregor] - Fix wheels on windows [:issue:`28` :issue:`49` by Anthony Sottile] Version 0.9.2 diff --git a/docs/frameworks/flask.rst b/docs/frameworks/flask.rst index 69cbc8cc..f20ba8a1 100644 --- a/docs/frameworks/flask.rst +++ b/docs/frameworks/flask.rst @@ -25,7 +25,7 @@ Imagine the project contained in such directory layout: - :file:`css/` - :file:`templates/` -SASS/SCSS files will go inside :file:`myapp/static/sass/` directory. +Sass/SCSS files will go inside :file:`myapp/static/sass/` directory. Compiled CSS files will go inside :file:`myapp/static/css/` directory. CSS files can be regenerated, so add :file:`myapp/static/css/` into your ignore list like :file:`.gitignore` or :file:`.hgignore`. @@ -35,10 +35,10 @@ Defining manifest ----------------- The :mod:`sassutils` defines a concept named :dfn:`manifest`. -Manifest is building settings of SASS/SCSS. It specifies some paths -related to building SASS/SCSS: +Manifest is building settings of Sass/SCSS. It specifies some paths +related to building Sass/SCSS: -- The path of the directory which contains SASS/SCSS source files. +- The path of the directory which contains Sass/SCSS source files. - The path of the directory compiled CSS files will go. - The path, is exposed to HTTP (through WSGI), of the directory that will contain compiled CSS files. @@ -47,7 +47,7 @@ Every package may have their own manifest. Paths have to be relative to the path of the package. For example, in the project the package name is :mod:`myapp`. -The path of the package is :file:`myapp/`. The path of SASS/SCSS directory +The path of the package is :file:`myapp/`. The path of Sass/SCSS directory is :file:`static/sass/` (relative to the package directory). The path of CSS directory is :file:`static/css/`. The exposed path is :file:`/static/css`. @@ -62,7 +62,7 @@ As you can see the above, the set of manifests are represented in dictionary. Keys are packages names. Values are tuples of paths. -Building SASS/SCSS for each request +Building Sass/SCSS for each request ----------------------------------- .. seealso:: @@ -77,9 +77,9 @@ Building SASS/SCSS for each request __ http://flask.pocoo.org/docs/quickstart/#hooking-in-wsgi-middlewares -In development, to manually build SASS/SCSS files for each change is +In development, to manually build Sass/SCSS files for each change is so tiring. :class:`~sassutils.wsgi.SassMiddleware` makes the web -application to automatically build SASS/SCSS files for each request. +application to automatically build Sass/SCSS files for each request. It's a WSGI middleware, so it can be plugged into the web app written in Flask. @@ -113,7 +113,7 @@ function: All compiled filenames have trailing ``.css`` suffix. -Building SASS/SCSS for each deployment +Building Sass/SCSS for each deployment -------------------------------------- .. note:: @@ -129,7 +129,7 @@ If libsass has been installed in the :file:`site-packages` (for example, your virtualenv), :file:`setup.py` script also gets had new command provided by libsass: :class:`~sassutils.distutils.build_sass`. The command is aware of ``sass_manifests`` option of :file:`setup.py` and -builds all SASS/SCSS sources according to the manifests. +builds all Sass/SCSS sources according to the manifests. Add these arguments to :file:`setup.py` script:: @@ -149,7 +149,7 @@ install libsass first. The ``sass_manifests`` specifies the manifests for libsass. -Now :program:`setup.py build_sass` will compile all SASS/SCSS files +Now :program:`setup.py build_sass` will compile all Sass/SCSS files in the specified path and generates compiled CSS files into the specified path (according to the manifests). @@ -169,7 +169,7 @@ command before. Make :file:`setup.cfg` config: sdist = build_sass sdist bdist = build_sass bdist -Now it automatically builds SASS/SCSS sources and include compiled CSS files +Now it automatically builds Sass/SCSS sources and include compiled CSS files to the package archive when you run :program:`setup.py sdist`. .. _setuptools: https://pypi.python.org/pypi/setuptools diff --git a/docs/index.rst b/docs/index.rst index 47feae43..7e5699a5 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -10,7 +10,7 @@ file. It currently supports CPython 2.6, 2.7, 3.4--3.6, and PyPy 2.3+! -.. _SASS: http://sass-lang.com/ +.. _Sass: http://sass-lang.com/ .. _Libsass: https://github.com/sass/libsass @@ -59,14 +59,14 @@ It's available on PyPI_, so you can install it using :program:`pip`: Examples -------- -Compile a String of SASS to CSS +Compile a String of Sass to CSS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> import sass >>> sass.compile(string='a { b { color: blue; } }') 'a b {\n color: blue; }\n' -Compile a Directory of SASS Files to CSS +Compile a Directory of Sass Files to CSS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> import sass @@ -116,9 +116,9 @@ Credit Hong Minhee wrote this Python binding of Libsass_. Hampton Catlin and Aaron Leung wrote Libsass_, which is portable C/C++ -implementation of SASS_. +implementation of Sass_. -Hampton Catlin originally designed SASS_ language and wrote the first +Hampton Catlin originally designed Sass_ language and wrote the first reference implementation of it in Ruby. The above three softwares are all distributed under `MIT license`_. diff --git a/pysass.cpp b/pysass.cpp index d2f3a62a..e4f284f1 100644 --- a/pysass.cpp +++ b/pysass.cpp @@ -608,9 +608,9 @@ PySass_compile_filename(PyObject *self, PyObject *args) { static PyMethodDef PySass_methods[] = { {"compile_string", PySass_compile_string, METH_VARARGS, - "Compile a SASS string."}, + "Compile a Sass string."}, {"compile_filename", PySass_compile_filename, METH_VARARGS, - "Compile a SASS file."}, + "Compile a Sass file."}, {NULL, NULL, 0, NULL} }; diff --git a/sass.py b/sass.py index e2d8e674..2e6f1a33 100644 --- a/sass.py +++ b/sass.py @@ -267,11 +267,11 @@ def compile(**kwargs): """There are three modes of parameters :func:`compile()` can take: ``string``, ``filename``, and ``dirname``. - The ``string`` parameter is the most basic way to compile SASS. - It simply takes a string of SASS code, and then returns a compiled + The ``string`` parameter is the most basic way to compile Sass. + It simply takes a string of Sass code, and then returns a compiled CSS string. - :param string: SASS source code to compile. it's exclusive to + :param string: Sass source code to compile. it's exclusive to ``filename`` and ``dirname`` parameters :type string: :class:`str` :param output_style: an optional coding style of the compiled result. @@ -282,7 +282,7 @@ def compile(**kwargs): :const:`False` by default :type source_comments: :class:`bool` :param include_paths: an optional list of paths to find ``@import``\ ed - SASS/CSS source files + Sass/CSS source files :type include_paths: :class:`collections.Sequence` :param precision: optional precision for numbers. :const:`5` by default. :type precision: :class:`int` @@ -292,7 +292,7 @@ def compile(**kwargs): :type custom_functions: :class:`collections.Set`, :class:`collections.Sequence`, :class:`collections.Mapping` - :param indented: optional declaration that the string is SASS, not SCSS + :param indented: optional declaration that the string is Sass, not SCSS formatted. :const:`False` by default :type indented: :class:`bool` :returns: the compiled CSS string @@ -302,12 +302,12 @@ def compile(**kwargs): :type importers: :class:`collections.Callable` :rtype: :class:`str` :raises sass.CompileError: when it fails for any reason - (for example the given SASS has broken syntax) + (for example the given Sass has broken syntax) The ``filename`` is the most commonly used way. It takes a string of - SASS filename, and then returns a compiled CSS string. + Sass filename, and then returns a compiled CSS string. - :param filename: the filename of SASS source code to compile. + :param filename: the filename of Sass source code to compile. it's exclusive to ``string`` and ``dirname`` parameters :type filename: :class:`str` :param output_style: an optional coding style of the compiled result. @@ -322,7 +322,7 @@ def compile(**kwargs): using source maps. :const:`None` by default. :type source_map_filename: :class:`str` :param include_paths: an optional list of paths to find ``@import``\ ed - SASS/CSS source files + Sass/CSS source files :type include_paths: :class:`collections.Sequence` :param precision: optional precision for numbers. :const:`5` by default. :type precision: :class:`int` @@ -340,13 +340,13 @@ def compile(**kwargs): and the source map string if ``source_map_filename`` is set :rtype: :class:`str`, :class:`tuple` :raises sass.CompileError: when it fails for any reason - (for example the given SASS has broken syntax) + (for example the given Sass has broken syntax) :raises exceptions.IOError: when the ``filename`` doesn't exist or cannot be read The ``dirname`` is useful for automation. It takes a pair of paths. The first of the ``dirname`` pair refers the source directory, contains - several SASS source files to compiled. SASS source files can be nested + several Sass source files to compiled. Sass source files can be nested in directories. The second of the pair refers the output directory that compiled CSS files would be saved. Directory tree structure of the source directory will be maintained in the output directory as well. @@ -364,7 +364,7 @@ def compile(**kwargs): :const:`False` by default :type source_comments: :class:`bool` :param include_paths: an optional list of paths to find ``@import``\ ed - SASS/CSS source files + Sass/CSS source files :type include_paths: :class:`collections.Sequence` :param precision: optional precision for numbers. :const:`5` by default. :type precision: :class:`int` @@ -375,7 +375,7 @@ def compile(**kwargs): :class:`collections.Sequence`, :class:`collections.Mapping` :raises sass.CompileError: when it fails for any reason - (for example the given SASS has broken syntax) + (for example the given Sass has broken syntax) .. _custom-functions: diff --git a/sassutils/__init__.py b/sassutils/__init__.py index cd385321..5519af4a 100644 --- a/sassutils/__init__.py +++ b/sassutils/__init__.py @@ -1,7 +1,7 @@ -""":mod:`sassutils` --- Additional utilities related to SASS +""":mod:`sassutils` --- Additional utilities related to Sass ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -This package provides several additional utilities related to SASS +This package provides several additional utilities related to Sass which depends on libsass core (:mod:`sass` module). """ diff --git a/sassutils/builder.py b/sassutils/builder.py index 76d3719d..44925e48 100644 --- a/sassutils/builder.py +++ b/sassutils/builder.py @@ -27,7 +27,7 @@ def build_directory(sass_path, css_path, output_style='nested', _root_sass=None, _root_css=None): - """Compiles all SASS/SCSS files in ``path`` to CSS. + """Compiles all Sass/SCSS files in ``path`` to CSS. :param sass_path: the path of the directory which contains source files to compile @@ -78,9 +78,9 @@ def build_directory(sass_path, css_path, output_style='nested', class Manifest(object): - """Building manifest of SASS/SCSS. + """Building manifest of Sass/SCSS. - :param sass_path: the path of the directory that contains SASS/SCSS + :param sass_path: the path of the directory that contains Sass/SCSS source files :type sass_path: :class:`str`, :class:`basestring` :param css_path: the path of the directory to store compiled CSS @@ -136,13 +136,13 @@ def __init__(self, sass_path, css_path=None, wsgi_path=None): self.wsgi_path = wsgi_path def resolve_filename(self, package_dir, filename): - """Gets a proper full relative path of SASS source and + """Gets a proper full relative path of Sass source and CSS source that will be generated, according to ``package_dir`` and ``filename``. :param package_dir: the path of package directory :type package_dir: :class:`str`, :class:`basestring` - :param filename: the filename of SASS/SCSS source to compile + :param filename: the filename of Sass/SCSS source to compile :type filename: :class:`str`, :class:`basestring` :returns: a pair of (sass, css) path :rtype: :class:`tuple` @@ -154,7 +154,7 @@ def resolve_filename(self, package_dir, filename): return sass_path, css_path def build(self, package_dir, output_style='nested'): - """Builds the SASS/SCSS files in the specified :attr:`sass_path`. + """Builds the Sass/SCSS files in the specified :attr:`sass_path`. It finds :attr:`sass_path` and locates :attr:`css_path` as relative to the given ``package_dir``. @@ -181,11 +181,11 @@ def build(self, package_dir, output_style='nested'): for filename in css_files) def build_one(self, package_dir, filename, source_map=False): - """Builds one SASS/SCSS file. + """Builds one Sass/SCSS file. :param package_dir: the path of package directory :type package_dir: :class:`str`, :class:`basestring` - :param filename: the filename of SASS/SCSS source to compile + :param filename: the filename of Sass/SCSS source to compile :type filename: :class:`str`, :class:`basestring` :param source_map: whether to use source maps. if :const:`True` it also write a source map to a ``filename`` diff --git a/sassutils/distutils.py b/sassutils/distutils.py index 64477a3c..9c29ae36 100644 --- a/sassutils/distutils.py +++ b/sassutils/distutils.py @@ -23,12 +23,12 @@ $ python setup.py build_sass -This commands builds SASS/SCSS files to compiled CSS files of the project +This commands builds Sass/SCSS files to compiled CSS files of the project and makes the package archive (made by :class:`~distutils.command.sdist.sdist`, :class:`~distutils.command.bdist.bdist`, and so on) to include these compiled CSS files. -To set the directory of SASS/SCSS source files and the directory to +To set the directory of Sass/SCSS source files and the directory to store compiled CSS files, specify ``sass_manifests`` option:: from setuptools import find_packages, setup @@ -87,7 +87,7 @@ def validate_manifests(dist, attr, value): class build_sass(Command): - """Builds SASS/SCSS files to CSS files.""" + """Builds Sass/SCSS files to CSS files.""" description = __doc__ user_options = [ @@ -165,7 +165,7 @@ def get_package_dir(self, package): # Does monkey-patching the setuptools.command.sdist.sdist.check_readme() -# method to include compiled SASS files as data files. +# method to include compiled Sass files as data files. if not hasattr(sdist, '_wrapped_check_readme'): @functools.wraps(sdist.check_readme) def check_readme(self): diff --git a/sassutils/wsgi.py b/sassutils/wsgi.py index d49a818e..44ac5693 100644 --- a/sassutils/wsgi.py +++ b/sassutils/wsgi.py @@ -19,7 +19,7 @@ class SassMiddleware(object): r"""WSGI middleware for development purpose. Everytime a CSS file has - requested it finds a matched SASS/SCSS source file and then compiled + requested it finds a matched Sass/SCSS source file and then compiled it into CSS. It shows syntax errors in three ways: diff --git a/setup.py b/setup.py index 14bce8e0..3874a3e3 100644 --- a/setup.py +++ b/setup.py @@ -239,7 +239,7 @@ def run(self): setup( name='libsass', - description='SASS for Python: ' + description='Sass for Python: ' 'A straightforward binding of libsass for Python.', long_description=readme(), version=version(), From 9166697baf213d7d8a0e3af3f6df49e6fbce2b3a Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 11 Feb 2018 01:32:00 -0500 Subject: [PATCH 2/3] Update some older links to https --- CONTRIBUTING.rst | 6 +++--- LICENSE | 2 +- README.rst | 4 ++-- docs/changes.rst | 4 ++-- docs/conf.py | 4 ++-- docs/index.rst | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 8fe65001..e9e817b9 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -14,7 +14,7 @@ Coding style (``:raise:`` if it may raise an error) in their docstring. .. _flake8: https://gitlab.com/pycqa/flake8 -.. _PEP 8: www.python.org/dev/peps/pep-0008 +.. _PEP 8: https://www.python.org/dev/peps/pep-0008 Tests @@ -26,8 +26,8 @@ Tests - All commits will be tested by Travis_ (Linux) and AppVeyor_ (Windows). -.. _tox: http://tox.testrun.org/ -.. _Travis: http://travis-ci.org/sass/libsass-python +.. _tox: https://tox.readthedocs.io/ +.. _Travis: https://travis-ci.org/sass/libsass-python .. _AppVeyor: https://ci.appveyor.com/project/asottile/libsass-python diff --git a/LICENSE b/LICENSE index 3ba299c5..9d046699 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2015 Hong Minhee +Copyright (c) 2015 Hong Minhee Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.rst b/README.rst index 6fcb92e6..e35520ee 100644 --- a/README.rst +++ b/README.rst @@ -26,7 +26,7 @@ Need no Ruby nor Node.js. It currently supports CPython 2.7, 3.4--3.6, and PyPy 2.3+! -.. _Sass: http://sass-lang.com/ +.. _Sass: https://sass-lang.com/ .. _Libsass: https://github.com/sass/libsass @@ -114,4 +114,4 @@ reference implementation of it in Ruby. The above three softwares are all distributed under `MIT license`_. -.. _MIT license: http://mit-license.org/ +.. _MIT license: https://mit-license.org/ diff --git a/docs/changes.rst b/docs/changes.rst index 9ba30254..cad4ba60 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -423,7 +423,7 @@ or Visual Studio 2013 Update 4+. :class:`~sassutils.distutils.build_sass` command. [:issue:`25`] __ https://github.com/sass/libsass/releases/tag/3.0 -.. _partial import: http://sass-lang.com/documentation/file.SASS_REFERENCE.html#partials +.. _partial import: https://sass-lang.com/documentation/file.SASS_REFERENCE.html#partials Version 0.5.1 @@ -539,7 +539,7 @@ Released on February 21, 2014. - Supports sourcemaps. .. _57a2f62--v1.0.1: https://github.com/sass/libsass/compare/57a2f627b4d2fbd3cf1913b241f1d5aa31e35580...v1.0.1 -.. _variable arguments: http://sass-lang.com/docs/yardoc/file.SASS_CHANGELOG.html#variable_arguments +.. _variable arguments: https://sass-lang.com/docs/yardoc/file.SASS_CHANGELOG.html#variable_arguments Version 0.2.4 diff --git a/docs/conf.py b/docs/conf.py index e0958fc1..1f02b027 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -250,8 +250,8 @@ # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { - 'python': ('http://docs.python.org/', None), - 'setuptools': ('http://pythonhosted.org/setuptools/', None), + 'python': ('https://docs.python.org/', None), + 'setuptools': ('https://setuptools.readthedocs.io/', None), 'flask': ('http://flask.pocoo.org/docs/', None) } diff --git a/docs/index.rst b/docs/index.rst index 7e5699a5..7a8e179f 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -10,7 +10,7 @@ file. It currently supports CPython 2.6, 2.7, 3.4--3.6, and PyPy 2.3+! -.. _Sass: http://sass-lang.com/ +.. _Sass: https://sass-lang.com/ .. _Libsass: https://github.com/sass/libsass @@ -123,7 +123,7 @@ reference implementation of it in Ruby. The above three softwares are all distributed under `MIT license`_. -.. _MIT license: http://mit-license.org/ +.. _MIT license: https://mit-license.org/ Open source From ddaffb80ca31aa95862370da0c33f4b272262bc1 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 11 Feb 2018 14:50:51 -0500 Subject: [PATCH 3/3] Change Libsass to LibSass --- README.rst | 10 +++++----- docs/changes.rst | 48 ++++++++++++++++++++++++------------------------ docs/index.rst | 10 +++++----- 3 files changed, 34 insertions(+), 34 deletions(-) diff --git a/README.rst b/README.rst index e35520ee..c52274d9 100644 --- a/README.rst +++ b/README.rst @@ -18,7 +18,7 @@ libsass-python: Sass_/SCSS for Python :alt: Coverage Status This package provides a simple Python extension module ``sass`` which is -binding Libsass_ (written in C/C++ by Hampton Catlin and Aaron Leung). +binding LibSass_ (written in C/C++ by Hampton Catlin and Aaron Leung). It's very straightforward and there isn't any headache related Python distribution/deployment. That means you can add just ``libsass`` into your ``setup.py``'s ``install_requires`` list or ``requirements.txt`` file. @@ -27,7 +27,7 @@ Need no Ruby nor Node.js. It currently supports CPython 2.7, 3.4--3.6, and PyPy 2.3+! .. _Sass: https://sass-lang.com/ -.. _Libsass: https://github.com/sass/libsass +.. _LibSass: https://github.com/sass/libsass Features @@ -35,7 +35,7 @@ Features - You don't need any Ruby/Node.js stack at all, for development or deployment either. -- Fast. (Libsass_ is written in C++.) +- Fast. (LibSass_ is written in C++.) - Simple API. See the below example code for details. - Custom functions. - ``@import`` callbacks. @@ -104,9 +104,9 @@ The built docs will go to ``docs/_build/html/`` directory. Credit ------ -Hong Minhee wrote this Python binding of Libsass_. +Hong Minhee wrote this Python binding of LibSass_. -Hampton Catlin and Aaron Leung wrote Libsass_, which is portable C/C++ +Hampton Catlin and Aaron Leung wrote LibSass_, which is portable C/C++ implementation of Sass_. Hampton Catlin originally designed Sass_ language and wrote the first diff --git a/docs/changes.rst b/docs/changes.rst index cad4ba60..43bb0992 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -7,7 +7,7 @@ Version 0.13.7 Released on February 5, 2018. -- Follow up the libsass upstream: 3.4.9 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.4.9 --- See the release notes of LibSass 3.4.9__. [:issue:`232` by Anthony Sottile] __ https://github.com/sass/libsass/releases/tag/3.4.9 @@ -26,7 +26,7 @@ Version 0.13.5 Released on January 11, 2018. -- Follow up the libsass upstream: 3.4.8 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.4.8 --- See the release notes of LibSass 3.4.8__. [:issue:`228` by Anthony Sottile] __ https://github.com/sass/libsass/releases/tag/3.4.8 @@ -37,7 +37,7 @@ Version 0.13.4 Released on November 14, 2017. -- Follow up the libsass upstream: 3.4.7 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.4.7 --- See the release notes of LibSass 3.4.7__. [:issue:`226` by Anthony Sottile] __ https://github.com/sass/libsass/releases/tag/3.4.7 @@ -53,7 +53,7 @@ Released on October 11, 2017. - Add a ``pysassc`` entry to replace ``sassc`` [:issue:`218` by Anthony Sottile] - Enable building with dynamic linking [:issue:`219` by Marcel Plch] -- Follow up the libsass upstream: 3.4.6 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.4.6 --- See the release notes of LibSass 3.4.6__. [:issue:`221` by Anthony Sottile] __ https://github.com/sass/libsass/releases/tag/3.4.6 @@ -72,7 +72,7 @@ Version 0.13.1 Released on June 8, 2017. -- Follow up the libsass upstream: 3.4.5 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.4.5 --- See the release notes of LibSass 3.4.5__. [:issue:`207` by Anthony Sottile] __ https://github.com/sass/libsass/releases/tag/3.4.5 @@ -91,7 +91,7 @@ Released on June 7, 2017. :issue:`197` by Anthony Sottile] - Correct source map url [:issue:`201` :issue:`202` by Anthony Sottile] - Remove ``--watch`` [:issue:`203` by Anthony Sottile] -- Follow up the libsass upstream: 3.4.4 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.4.4 --- See the release notes of LibSass 3.4.4__. [:issue:`205` by Anthony Sottile] __ https://github.com/sass/libsass/releases/tag/3.4.4 @@ -102,7 +102,7 @@ Version 0.12.3 Released on January 7, 2017. -- Follow up the libsass upstream: 3.4.3 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.4.3 --- See the release notes of LibSass 3.4.3__. [:issue:`178` by Anthony Sottile] __ https://github.com/sass/libsass/releases/tag/3.4.3 @@ -113,7 +113,7 @@ Version 0.12.2 Released on January 5, 2017. -- Follow up the libsass upstream: 3.4.2 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.4.2 --- See the release notes of LibSass 3.4.2__. [:issue:`176` by Anthony Sottile] __ https://github.com/sass/libsass/releases/tag/3.4.2 @@ -124,7 +124,7 @@ Version 0.12.1 Released on December 20, 2016. -- Follow up the libsass upstream: 3.4.1 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.4.1 --- See the release notes of LibSass 3.4.1__. [:issue:`175` by Anthony Sottile] __ https://github.com/sass/libsass/releases/tag/3.4.1 @@ -135,7 +135,7 @@ Version 0.12.0 Released on December 10, 2016. -- Follow up the libsass upstream: 3.4.0 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.4.0 --- See the release notes of LibSass 3.4.0__. [:issue:`173` by Anthony Sottile] __ https://github.com/sass/libsass/releases/tag/3.4.0 @@ -149,7 +149,7 @@ Released on October 24, 2016. - Drop support for python2.6 [:issue:`158` by Anthony Sottile] - Deprecate ``--watch`` [:issue:`156` by Anthony Sottile] - Preserve line endings [:issue:`160` by Anthony Sottile] -- Follow up the libsass upstream: 3.3.6 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.3.6 --- See the release notes of LibSass 3.3.6__. [:issue:`167` by Anthony Sottile] __ https://github.com/sass/libsass/releases/tag/3.3.6 @@ -161,7 +161,7 @@ Version 0.11.1 Released on April 22, 2016. -- Follow up the libsass upstream: 3.3.5 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.3.5 --- See the release notes of LibSass 3.3.5__. [:issue:`148` by Anthony Sottile] __ https://github.com/sass/libsass/releases/tag/3.3.5 @@ -171,7 +171,7 @@ Version 0.11.0 Released on March 23, 2016. -- Follow up the libsass upstream: 3.3.4 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.3.4 --- See the release notes of LibSass 3.3.4__. [:issue:`144` by Anthony Sottile] - Expose libsass version in ``sassc --version`` and ``sass.libsass_version`` [:issue:`142` :issue:`141` :issue:`140` by Anthony Sottile] @@ -193,7 +193,7 @@ Version 0.10.1 Released on January 29, 2016. -- Follow up the libsass upstream: 3.3.3 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.3.3 --- See the release notes of LibSass 3.3.3__. [by Anthony Sottile] - Allow -t for style like sassc [:issue:`98` by Anthony Sottile] @@ -221,7 +221,7 @@ Version 0.9.2 Released on November 12, 2015. -- Follow up the libsass upstream: 3.3.2 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.3.2 --- See the release notes of LibSass 3.3.2__. [by Anthony Sottile] - Require VS 2015 to build on windows [:issue:`99` by Anthony Sottile] @@ -232,7 +232,7 @@ Version 0.9.1 Released on October 29, 2015. -- Follow up the libsass upstream: 3.3.1 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.3.1 --- See the release notes of LibSass 3.3.1__. [by Anthony Sottile] __ https://github.com/sass/libsass/releases/tag/3.3.1 @@ -245,7 +245,7 @@ Released on October 28, 2015. - Fix a bug with writing UTF-8 to a file [:issue:`72` by Caleb Ely] - Fix a segmentation fault on ^C [:issue:`87` by Anthony Sottile] -- Follow up the libsass upstream: 3.3.0 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.3.0 --- See the release notes of LibSass 3.3.0__. [:issue:`96` by Anthony Sottile] __ https://github.com/sass/libsass/releases/tag/3.3.0 @@ -256,7 +256,7 @@ Version 0.8.3 Released on August 2, 2015. -- Follow up the libsass upstream: 3.2.5 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.2.5 --- See the release notes of LibSass 3.2.5__. [:issue:`79`, :issue:`80` by Anthony Sottile] - Fixed a bug that :file:`*.sass` files were ignored. [:issue:`78` by Guilhem MAS-PAITRAULT] @@ -269,7 +269,7 @@ Version 0.8.2 Released on May 19, 2015. -- Follow up the libsass upstream: 3.2.4 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.2.4 --- See the release notes of LibSass 3.2.3__, and 3.2.4__. [:issue:`69` by Anthony Sottile] - The default value of :class:`~sassutils.wsgi.SassMiddleware`'s ``error_status`` parameter was changed from ``'500 Internal Server Error'`` @@ -295,7 +295,7 @@ Version 0.8.0 Released on May 3, 2015. -- Follow up the libsass upstream: 3.2.2 --- See the release notes of Libsass +- Follow up the libsass upstream: 3.2.2 --- See the release notes of LibSass 3.2.0__, 3.2.1__, and 3.2.2__. [:issue:`61`, :issue:`52`, :issue:`56`, :issue:`58`, :issue:`62`, :issue:`64` by Anthony Sottile] @@ -326,7 +326,7 @@ Released on March 6, 2015. Anthony Sottile contributed to the most of this release. Huge thanks to him! -- Follow up the libsass upstream: 3.1.0 --- See the `release note`__ of Libsass. +- Follow up the libsass upstream: 3.1.0 --- See the `release note`__ of LibSass. [:issue:`38`, :issue:`43` by Anthony Sottile] - Custom functions and imports @@ -383,7 +383,7 @@ Version 0.6.1 Released on November 6, 2014. -- Follow up the libsass upstream: 3.0.1 --- See the `release note`__ of Libsass. +- Follow up the libsass upstream: 3.0.1 --- See the `release note`__ of LibSass. - Fixed a bug that :class:`~sassutils.wsgi.SassMiddleware` never closes the socket on some WSGI servers e.g. ``eventlet.wsgi``. @@ -400,7 +400,7 @@ to compile. Although 0.6.2 became back to only need GCC (G++) 4.6+, LLVM Clang 2.9+, from 0.6.0 to 0.6.1 you need GCC (G++) 4.8+, LLVM Clang 3.3+, or Visual Studio 2013 Update 4+. -- Follow up the libsass upstream: 3.0 --- See the `release note`__ of Libsass. +- Follow up the libsass upstream: 3.0 --- See the `release note`__ of LibSass. - Decent extends support - Basic Sass Maps Support @@ -445,7 +445,7 @@ Version 0.5.0 Released on June 6, 2014. -- Follow up the libsass upstream: 2.0 --- See the `release note`__ of Libsass. +- Follow up the libsass upstream: 2.0 --- See the `release note`__ of LibSass. - Added indented syntax support (:file:`*.sass` files). - Added expanded selector support (BEM). diff --git a/docs/index.rst b/docs/index.rst index 7a8e179f..4c397927 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -2,7 +2,7 @@ libsass-python: Sass_/SCSS for Python ===================================== This package provides a simple Python extension module :mod:`sass` which is -binding Libsass_ (written in C/C++ by Hampton Catlin and Aaron Leung). +binding LibSass_ (written in C/C++ by Hampton Catlin and Aaron Leung). It's very straightforward and there isn't any headache related Python distribution/deployment. That means you can add just ``libsass`` into your :file:`setup.py`'s ``install_requires`` list or :file:`requirements.txt` @@ -11,7 +11,7 @@ file. It currently supports CPython 2.6, 2.7, 3.4--3.6, and PyPy 2.3+! .. _Sass: https://sass-lang.com/ -.. _Libsass: https://github.com/sass/libsass +.. _LibSass: https://github.com/sass/libsass Features @@ -19,7 +19,7 @@ Features - You don't need any Ruby/Node.js stack at all, for development or deployment either. -- Fast. (Libsass_ is written in C++.) +- Fast. (LibSass_ is written in C++.) - Simple API. See :ref:`example code ` for details. - Custom functions. - ``@import`` callbacks. @@ -113,9 +113,9 @@ References Credit ------ -Hong Minhee wrote this Python binding of Libsass_. +Hong Minhee wrote this Python binding of LibSass_. -Hampton Catlin and Aaron Leung wrote Libsass_, which is portable C/C++ +Hampton Catlin and Aaron Leung wrote LibSass_, which is portable C/C++ implementation of Sass_. Hampton Catlin originally designed Sass_ language and wrote the first