معرفی شرکت ها


corvid-1.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

An opinionated simple static site generator
ویژگی مقدار
سیستم عامل -
نام فایل corvid-1.1.0
نام corvid
نسخه کتابخانه 1.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Dustin Ingram
ایمیل نویسنده di@python.org
آدرس صفحه اصلی https://github.com/di/corvid
آدرس اینترنتی https://pypi.org/project/corvid/
مجوز -
# corvid corvid is an opinionated simple static site generator. It processes Markdown files, static assets and directories producing a 1:1 heiarchy of compiled content. It includes a reloadable local development server, supports custom markdown frontmatter and Jinja templates. ## Installation ``` $ pip install corvid ``` ## Running By default corvid expects to be run in a directory with an `input` directory. With no parameters, corvid will process all files in this directory into the `output` directory, and exit. ``` $ corvid --help Usage: corvid [OPTIONS] Options: -l, --listen Enable live reloading -b, --bind TEXT Host to bind to -p, --port INTEGER Port to run on -i, --input TEXT Input directory -o, --output TEXT Output directory -t, --templates TEXT Templates directory --help Show this message and exit. ``` ## Example Given the following directory layout: ``` ├── input │   └── index.md └── templates └── default.html ``` With the following file contents: `input/index.md` ``` --- title: This is the Index --- Welcome ``` `templates/default.html` ```html <html> <head> <title>{{ title }}</title> <body> {{ content }} </body> </body> ``` Running `corvid` will produce the additional `output` directory: ``` . ├── input │   └── index.md ├── output │   └── index.html └── templates └── default.html ``` And the contents of the file will be: `output/index.html` ```html <html> <head> <title>This is the Index</title> <head> <body> <p>Welcome</p> </body> </body> ``` ## Using templates Custom templates can be set by specifying the path to the template inside the `templates` directory as the `template` frontmatter. See [`/example`](https://github.com/di/corvid/blob/master/example) for a full example.


نیازمندی

مقدار نام
>=7.0<=8.0 click
>=0.5.0 python-frontmatter
>=3.1 Markdown
>=2.10 jinja2
>=0.9.0 watchdog
- pytest
- tox


زبان مورد نیاز

مقدار نام
>=3.5, <4 Python


نحوه نصب


نصب پکیج whl corvid-1.1.0:

    pip install corvid-1.1.0.whl


نصب پکیج tar.gz corvid-1.1.0:

    pip install corvid-1.1.0.tar.gz