mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Make theme installable
This commit is contained in:
parent
9e6d347db0
commit
344ce1f4fa
@ -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"
|
|||||||
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({
|
||||||
|
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
|
# 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
src/__init__.py
Normal file
0
src/__init__.py
Normal file
Loading…
Reference in New Issue
Block a user