hugo-academic-cli

授权协议 MIT License
开发语言 JavaScript
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 柯浩壤
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Hugo Academic CLI

�� Import publications from your reference manager to Hugo

Features

  • Import publications, including books, conference proceedings and journals, from your reference manager to your static site generator
    • Simply export a BibTeX file from your reference manager, such as Zotero, and provide this as the input
  • Hugo command pass-through

Community

❤️ Support this open-source software

To help us develop this Academic CLI tool and the associated Wowchemy software sustainably under the MIT license, we ask all individuals and businesses that use it to help support its ongoing maintenance and development via sponsorship and contributing.

Support development of the Academic CLI:

Prerequisites

  1. Create a Hugo website such as by using the Hugo Academic Starter template for the Wowchemy website builder
  2. Download your site from GitHub, installing Hugo and its dependencies
  3. Install Python 3.6+ if it’s not already installed
  4. Version control your website
    • Ideally, version control your site with Git so that you can review the proposed changes and accept or reject them without risking breaking your site
    • Otherwise, if not using Git, backup your site folder prior to running this tool

Installation

Open your Terminal or Command Prompt app and install the Academic CLI tool:

pip3 install -U academic

Alternatively, install Academic CLI v0.5.1 if you do not wish to install Hugo on your computer:

pip3 install academic==0.5.1

Or, help test the lastest development version:

pip3 install -U git+https://github.com/wowchemy/hugo-academic-cli.git

Usage

Use the cd command to navigate to your website folder in the terminal:

cd <MY_WEBSITE_FOLDER>

Help:

academic

Import publications:

academic import --bibtex my_publications.bib

Optional arguments:

  • --help Help
  • --featured Flag publications as featured (to appear in Featured Publications widget)
  • --overwrite Overwrite existing publications
  • --publication-dir PUBLICATION_DIR Path to your publications directory (defaults to publication)
  • --normalize Normalize tags by converting them to lowercase and capitalizing the first letter
  • --verbose or -v Show verbose messages

After importing publications, a full text PDF and image can be associated with each item and further details added via extra parameters.

Run a Hugo command (pass-through):

academic server

Contribute

For local development, clone this repository and use Pipenv to install the tool using the following commands:

git clone https://github.com/wowchemy/hugo-academic-cli.git
cd hugo-academic-cli
pip3 install pipenv
pipenv install -e .

Preparing a contribution:

  • Lint: make lint
  • Format: make format
  • Test: make test

License

Copyright 2018-present George Cushen.

Licensed under the MIT License.

  • 一、安装Hugo 1.下载:https://github.com/spf13/hugo/releases/tag/v0.16 只有hugo.exe,LICENSE.md,README.md三个文件 将其解压到 路径X(如C:\Hugo\bin)   2.配置环境变量 将hugo.exe所在路径添加到 用户变量 path中   3.验证 进入 Cmd-》到指定路径  ,输入hugo help 二、部

  • Hugo是由Go语言实现的静态网站生成器。简单、易用、高效、易扩展、快速部署。使用的是go语言的模板语法 创建 hugo的安装参考hugo中文文档,官方文档 新建站点,执行命令 $ hugo new site blog 站点目录: ▸ archetypes/ ▸ content/ ▸ data/ ▸ layouts/ ▸ static/ ▸ themes/ config.toml arche

  • 1. 安装go ubuntu@localhost:~$ wget https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz ubuntu@localhost:~$ tar -xvf go1.6.2.linux-amd64.tar.gz  ubuntu@localhost:~$sudo mv go /usr/local ubun

  • 前言 多年前基于Jekyll和GitHub Pages搭建的博客样式总是出问题,调研了下目前最流行的静态博客主要有3个: hexo:基于Node.js,开源地址:GitHub - hexojs/hexo: A fast, simple & powerful blog framework, powered by Node.js. Hugo:基于Go实现,开源地址:https://github.com

  • Hugo是一个用Go 语言编写的静态网站生成器。如果你正想在GitHub上搭建个静态的博客,不妨试试用Hugo. 1.安装Hugo $ wget https://github.com/gohugoio/hugo/releases/download/v0.36.1/hugo_0.36.1_Linux-64bit.deb $ sudo apt-get -f install $ dpkg -i hugo

  • 中文网网址:http://gohugo.org/ Hugo是由Go语言实现的静态网站生成器。简单、易用、高效、易扩展、快速部署

 相关资料
  • academic Academic is a Jekyll theme with a focus on simplicity, typography and flexibility.I originally designed it for my personal blog during my PhD thesis. Check out my personal website or my blog

  • Hugo的安装十分简单,安装时不需要安装任何依赖软件,其本身只是一个二进制文件,可以使用以下几种方式安装: 直接使用二进制文件安装 到Hugo release下载对应系统的安装包,解压后放到$PATH目录下即可使用 使用go get安装 这种安装方式的前提是您的电脑上已经配置了Go开发环境,为了简单起见,建议直接下载编译好的发型版安装。 go get -u -v github.com/gohugo

  • Hugo 是 Go 编写的静态网站生成器,速度快,易用,可配置。Hugo 有一个内容和模板目录,把他们渲染到完全的 HTML 网站。 Hugo 依赖于 Markdown 文件,元数据字体 。用户可以从任意的目录中运行 Hugo,支持共享主机和其他系统。 Hugo 只需要几分之一秒就可以渲染一个经典的中型网站,最好网站的每个部分渲染只需 1 毫秒。 Hugo 非常适合博客,文档等等网站的生成。 Hu

  • Hugo是由Go语言实现的静态网站生成器。简单、易用、高效、易扩展、快速部署。 Hugo Plugin是用于在 Jenkins 中构建  Hugo网站的插件,支持的发布方式包括:Git发布、Git子模块发布。 通过Hugo Plugin可以很轻松地做到在码云上自动发布博客、文档网站。配置方法如下图所示:

  • Ox-Hugo: A carefully crafted Org exporter back-end for Hugo ox-hugo is an Org exporter backend that exports Org to Hugo-compatible Markdown (Blackfriday) and also generates the front-matter (in TOML o

  • 这是一个为 Hugo 而写的 Chart.js 图表组件,用 chart 短代码就可以方便的把优雅的动态图表插入到你的 Hugo 站点中。 用法 用 git submodule add https://github.com/Shen-Yu/hugo-chart.git themes/hugo-chart 命令把 hugo-chart 添加为项目的子模块。 找到 Hugo 站点根目录下的配置文件(c