Skip to content

Commit

Permalink
Make theme installable
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Jan 2, 2017
1 parent 9e6d347 commit 344ce1f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion lib/tasks/views/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
Empty file added material/__init__.py
Empty file.
20 changes: 10 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@

# 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
Expand Down
Empty file added src/__init__.py
Empty file.

0 comments on commit 344ce1f

Please sign in to comment.