This plugin adds stylesheets to your mkdocs site from `Sass`/`SCSS`.
Project description
mkdocs-extra-sass-plugin
This plugin adds stylesheets to your mkdocs site from Sass
/SCSS
.
Features
- using LibSass with libsass-python.
How to use
Installation
-
Install the package with pip:
pip install mkdocs-extra-sass-plugin
-
Enable the plugin in your
mkdocs.yml
:plugins: - extra-sass
Note: If you have no
plugins
entry in your config file yet, you'll likely also want to add thesearch
plugin. MkDocs enables it by default if there is noplugins
entry set, but now you have to enable it explicitly. -
Create a
extra_sass
directory in your working directory (usually the same directory asmkdocs.yml
), and create entry point file namedstyle.css.sass
orstyle.css.scss
.(top) ├── docs : ...snip... │ └── index.md ├── extra_sass : ...snip... │ └── style.css.scss (or style.css.sass) # compiler entry point file. └── mkdocs.yml
More information about plugins in the MkDocs documentation.
Contributing
From reporting a bug to submitting a pull request: every contribution is appreciated and welcome. Report bugs, ask questions and request features using Github issues. If you want to contribute to the code of this project, please read the Contribution Guidelines.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mkdocs-extra-sass-plugin-0.1.0.tar.gz
.
File metadata
- Download URL: mkdocs-extra-sass-plugin-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.0 Linux/4.15.0-132-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cca7ae778585514371b22a63bcd69373d77e474edab4b270cf2924e05c879219 |
|
MD5 | b985300622be8a8a26943db7b3d0376a |
|
BLAKE2b-256 | 8e0996284d51afae05aa35ffb17617a4ef819c06852bea566b935a1c1119660c |
File details
Details for the file mkdocs_extra_sass_plugin-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: mkdocs_extra_sass_plugin-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.0 Linux/4.15.0-132-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10aa086fa8ef1fc4650f7bb6927deb7bf5bbf5a2dd3178f47e4ef44546b156db |
|
MD5 | b6efa5e47749f8cfc55d0531b685df82 |
|
BLAKE2b-256 | ed25620659b5f9390b9b3ce2c0017cd3aef76d112a87bc2800640bdc2727b597 |