Code Monkey home page Code Monkey logo

minchin.pelican.plugins.cname's Introduction

CName

CName is a plugin for Pelican, a static site generator written in Python.

CName creates a CNAME file in the root of your output directory. This is useful when you are publishing your site to GitHub Pages on a custom domain.

PyPI version number

Changelog

License

Download Count

Installation

The easiest way to install CName is through the use of pip. This will also install the required dependencies automatically.

If you are using Pelican >= 4.5, the plugin will be automatically activated! And that's it! No further configuration is needed.

Usage

No configuration is needed. The value places in the CNAME files is based on your SITEURL setting.

Credits

Based on the original code by Dmitriy Kalinin.

minchin.pelican.plugins.cname's People

Contributors

minchinweb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

minchin.pelican.plugins.cname's Issues

Building breaks on Python 2.7

3:20:49 PM: Collecting minchin.pelican.plugins.cname==1.0.4 (from -r requirements.txt (line 20))
3:20:49 PM:   Downloading minchin.pelican.plugins.cname-1.0.4.tar.gz
3:20:49 PM:     Complete output from command python setup.py egg_info:
3:20:49 PM:     Traceback (most recent call last):
3:20:49 PM:       File "<string>", line 1, in <module>
3:20:49 PM:       File "/tmp/pip-build-J0bmVJ/minchin.pelican.plugins.cname/setup.py", line 21, in <module>
3:20:49 PM:         version=get_version(),
3:20:49 PM:       File "/tmp/pip-build-J0bmVJ/minchin.pelican.plugins.cname/setup.py", line 13, in get_version
3:20:49 PM:         with open(os.path.join(base_dir, filename), encoding="utf-8") as initfile:
3:20:49 PM:     TypeError: 'encoding' is an invalid keyword argument for this function
3:20:49 PM:     ----------------------------------------
3:20:49 PM: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-J0bmVJ/minchin.pelican.plugins.cname/

Initial Update

Hi ๐Ÿ‘Š

This is my first visit to this fine repo, but it seems you have been working hard to keep all dependencies updated so far.

Once you have closed this issue, I'll create seperate pull requests for every update as soon as I find one.

That's it for now!

Happy merging! ๐Ÿค–

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.