Skip to content

Commit

Permalink
Update license handling to place in site as page by default (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
athackst committed Oct 3, 2022
1 parent 4503301 commit 61c30f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2019 Allison Thackston
Copyright 2022 Allison Thackston

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -38,4 +38,4 @@ See the [contributing guide](https://althack.dev/mkdocs-simple-plugin/latest/CON

## License

This software is licensed under [Apache 2.0](https://github.com/athackst/mkdocs-simple-plugin/blob/master/LICENSE)
This software is licensed under [Apache 2.0](https://althack.dev/mkdocs-simple-plugin/latest/LICENSE)
5 changes: 4 additions & 1 deletion mkdocs_simple_plugin/plugin.py
Expand Up @@ -148,7 +148,7 @@ class SimplePlugin(BasePlugin):
".bmp", ".tif", ".tiff", ".gif", ".svg", ".jpeg",
".jpg", ".jif", ".jiff", ".jp2", ".jpx", ".j2k",
".j2c", ".fpx", ".pcd", ".png", ".pdf", "CNAME",
".snippet", ".pages", "LICENSE"
".snippet", ".pages"
])),
#
# ### semiliterate
Expand All @@ -169,6 +169,9 @@ class SimplePlugin(BasePlugin):
config_options.Type(
list,
default=[
{
'pattern': r'^LICENSE$',
},
{
'pattern': r'.*',
'terminate': r'^\W*md-ignore',
Expand Down

0 comments on commit 61c30f9

Please sign in to comment.