A simple Django app to make styleguide
Project description
************
introduction
************
help you launch your style guide site with KSS syntax
.. image:: pictures/screenshot.png
======
start
======
pip install -r requirements.txt
Quick start
===========
INSTALLED_APPS = {
...
"django_kss",
"pykss.contrib.django",
}
Project Settings
==========================
add setting in your project's settings with the two extra config
* PYKSS_DIRS: Setup source file path, less sass or css
* PYKSS_STATIC_FILES: the full path in your assets. final page use it to show content
Development
============
計畫可以方便的做 Style Guide.
DRY 要到一個極致。
只有寫 CSS, 接下來,就可以自動產生 Style Guide 的頁面。
CSS -> Generate List, Generate Page
所有的 input 由產生的 css 來做判斷,這樣才能跟所有的 CSS Preprocessor 整合。
計畫:
1. 做成 APP, 整進 Django
2. 畫面可以由 Bootsrap 的 tab 來分段較順手跟簡單。
3. 我們需要設定的,是檔案清單位置,還有 CSS 檔位置。
* 檔案清單在 setting.py
* CSS 位置都寫在 Settting.py 集中 setting
introduction
************
help you launch your style guide site with KSS syntax
.. image:: pictures/screenshot.png
======
start
======
pip install -r requirements.txt
Quick start
===========
INSTALLED_APPS = {
...
"django_kss",
"pykss.contrib.django",
}
Project Settings
==========================
add setting in your project's settings with the two extra config
* PYKSS_DIRS: Setup source file path, less sass or css
* PYKSS_STATIC_FILES: the full path in your assets. final page use it to show content
Development
============
計畫可以方便的做 Style Guide.
DRY 要到一個極致。
只有寫 CSS, 接下來,就可以自動產生 Style Guide 的頁面。
CSS -> Generate List, Generate Page
所有的 input 由產生的 css 來做判斷,這樣才能跟所有的 CSS Preprocessor 整合。
計畫:
1. 做成 APP, 整進 Django
2. 畫面可以由 Bootsrap 的 tab 來分段較順手跟簡單。
3. 我們需要設定的,是檔案清單位置,還有 CSS 檔位置。
* 檔案清單在 setting.py
* CSS 位置都寫在 Settting.py 集中 setting
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
django-kss-0.1.tar.gz
(41.7 kB
view hashes)
Built Distribution
Close
Hashes for django-kss-0.1.macosx-10.9-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cc1ad3f63c582e3964c2eac06d917c8624cfe0dc6e109ecaae9db4752890e74 |
|
MD5 | 77f99b2a1978feab32931ef4a07c4e66 |
|
BLAKE2b-256 | 31f8be1658c6d3347455af2340c893275f9db2476d15ad3ea7bd4069ef2b1768 |