静态站点生成器

statico的Python项目详细描述


Latest PyPI VersionLicenseSupported Python VersionsFormatCode HealthRequirements Status

静力学

python中一个简单且可扩展的静态站点生成器

安装

pip install statico

文件

检查wiki以获得完整的文档

命令

CommandDescription
staticoCreates a website
statico -c/–clearClears the workspace (deletes the website)
statico -a/–article “My new article”Creates a new article
statico -p/–page “Projects”Creates a new page
statico -g/–generateGenerate the site to the output directory
statico -P/–previewPreview your website on 127.0.0.1:8000
statico -w/–watchWatch for changes in the content directory
statico -r/-rss http://example.com/atom.xmlLoads posts from a RSS feed
statico -s/–setup-gh-deploySetup GitHub Pages details
statico -d/–gh-deployDeploys to GitHub
statico -i/–isolate <partial_name>Isolate articles for fast rebuild times
statico -I/–integrateIntegrates the isolated articles

网站结构

  • 原子.xml
  • 内容/
    • 文章/
    • 索引.md
    • 页数/
  • 输出/
  • settings.json
  • 静态/
    • css/样式表
    • 图像/
    • js/
  • 模板/
    • 文章.html
    • base.html
    • default.html
    • 包括/
      • footer.html之后
      • 旁白/
      • footer.html
      • header.html
      • head.html文件
      • 导航.html
    • 页面.html

变更日志

请参阅更改文件。

许可证

麻省理工学院。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java OnClick用于ListView中的特定项   java如何多次循环相同的TestNG测试。包括课前和课后   java如何在Codenameone中设置BrowserComponent浏览器窗口大小   java Socketchannel始终为空   java以编程方式向JavaFX WebEngine历史添加新条目   java Hibernate+Spring与Oracle一起使用分层查询(从+连接方式开始)   Java中的安卓 getView和Beacon(Estimote)问题   计时器如何在java中设置暂停选项   java为什么输入1000000000000的输出不正确?   java如何在程序执行期间更改log4j2中的日志记录级别   java阻止代码引发XML异常   未找到媒体类型为application/json的java JAX RS MessageBodyWriter   java如何将BuffereImage中的特定颜色(0xFF00FF)设置为透明?   java如何列出web元素,如果网页中没有特定链接的id,如何单击网页中的特定链接?   在Java中读取txt文件时获取EOFEException   java如何避免为每个视图添加inject方法?   JavaSpringController:Facebook上类似文章的永久链接   java在尝试执行脚本时遇到错误“net.serentiybdd.core.exceptions.serentitymanagedexception:No session ID”