mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 01:10:58 +01:00
Make theme installable
This commit is contained in:
parent
9e6d347db0
commit
344ce1f4fa
@ -1,4 +1,5 @@
|
||||
recursive-include material *.ico *.js *.css *.html *.svg
|
||||
recursive-exclude site *
|
||||
recursive-exclude * __pycache__
|
||||
recursive-exclude * *.py[co]
|
||||
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({
|
||||
|
0
material/__init__.py
Normal file
0
material/__init__.py
Normal file
20
setup.py
20
setup.py
@ -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
src/__init__.py
Normal file
0
src/__init__.py
Normal file
Loading…
Reference in New Issue
Block a user