项目作者: lektor

项目描述 :
The lektor static file content management system
高级语言: Python
项目地址: git://github.com/lektor/lektor.git
创建时间: 2015-12-19T09:18:36Z
项目社区:https://github.com/lektor/lektor

开源协议:Other

下载


Lektor

CI/CD Badge
Code Coverage
PyPI version
PyPI - Python Version
Code Style: Black
Join the chat at https://gitter.im/lektor/lektor

Lektor is a static website generator. It builds out an entire project
from static files into many individual HTML pages and has a built-in
admin UI and minimal desktop app.

To see how it works look at the top-level example/ folder, which contains
a showcase of the wide variety of Lektor’s features.

For a more complete example look at the lektor/lektor-website
repository, which contains the sourcecode for the official lektor website.

How do I use this?

For installation instructions head to the official documentation:

Want to develop on Lektor?

This gets you started (assuming you have Python, pip, npm, and pre-commit
installed):

  1. $ git clone https://github.com/lektor/lektor
  2. $ cd lektor
  3. $ python -m venv _venv
  4. $ . _venv/bin/activate
  5. # pip>=21.3 is required for PEP 610 support
  6. $ pip install -U "pip>=21.3"
  7. $ pip install --editable .
  8. # If you plan on committing:
  9. $ pre-commit install
  10. # Run the Lektor server
  11. $ export LEKTOR_DEV=1
  12. $ cp -r example example-project
  13. $ lektor --project example-project server

If you want to run the test suite (you’ll need tox installed):

  1. $ tox