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

Make theme installable

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