Skip to content
Snippets Groups Projects
Commit 344ce1f4 authored by squidfunk's avatar squidfunk
Browse files

Make theme installable

parent 9e6d347d
Branches
Tags 1.0.0-rc.2
No related merge requests found
...@@ -2,3 +2,4 @@ recursive-include material *.ico *.js *.css *.html *.svg ...@@ -2,3 +2,4 @@ recursive-include material *.ico *.js *.css *.html *.svg
recursive-exclude site * recursive-exclude site *
recursive-exclude * __pycache__ recursive-exclude * __pycache__
recursive-exclude * *.py[co] recursive-exclude * *.py[co]
include LICENSE
...@@ -35,7 +35,7 @@ import version from "gulp-rev-replace" ...@@ -35,7 +35,7 @@ import version from "gulp-rev-replace"
export default (gulp, config, args) => { export default (gulp, config, args) => {
return () => { return () => {
const metadata = require(path.join(process.cwd(), "./package.json")) const metadata = require(path.join(process.cwd(), "./package.json"))
return gulp.src(`${config.views.src}/**/*.html`) return gulp.src(`${config.views.src}/**/*.{html,py}`)
.pipe(changed(config.views.build)) .pipe(changed(config.views.build))
.pipe( .pipe(
minhtml({ minhtml({
......
...@@ -22,19 +22,19 @@ from setuptools import setup, find_packages ...@@ -22,19 +22,19 @@ from setuptools import setup, find_packages
# Package description # Package description
setup( setup(
name = 'mkdocs-material', name = "mkdocs-material",
version = '1.0.0', version = "1.0.0",
url = 'http://squidfunk.github.io/mkdocs-material/', url = "http://squidfunk.github.io/mkdocs-material/",
license = 'MIT', license = "MIT",
description = 'A material design theme for MkDocs', description = "A material design theme for MkDocs",
author = 'Martin Donath', author = "Martin Donath",
author_email = 'martin.donath@squidfunk.com', author_email = "martin.donath@squidfunk.com",
keywords = ['mkdocs', 'documentation', 'theme'], keywords = ["mkdocs", "documentation", "theme"],
packages = find_packages(), packages = find_packages(),
include_package_data = True, include_package_data = True,
entry_points = { entry_points = {
'mkdocs.themes': [ "mkdocs.themes": [
'material = material', "material = material",
] ]
}, },
zip_safe = False zip_safe = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment