Skip to content

Commit

Permalink
Update copyright info and rework doc snippet linkage
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed May 21, 2022
1 parent 85bbe61 commit 0bf8ddd
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 29 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 - 2021 Isaac Muse
Copyright (c) 2015 - 2022 Isaac Muse

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ https://facelessuser.github.io/backrefs/

Released under the MIT license.

Copyright (c) 2015 - 2021 Isaac Muse <isaacmuse@gmail.com>
Copyright (c) 2015 - 2022 Isaac Muse <isaacmuse@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions docs/src/markdown/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,5 +249,3 @@ to work even when the Re or Regex API changes. Change was made to support new Re
## 1.0

- **NEW**: Initial release.

--8<-- "links.txt"
2 changes: 0 additions & 2 deletions docs/src/markdown/about/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,3 @@ You don't have to render the docs locally before pull requesting, but if you wis
[MkDocs][mkdocs], the [Material theme][mkdocs-material], and [PyMdown Extensions][pymdown-extensions] to render the
docs. You can preview the docs if you install these two packages. The command for previewing the docs is `mkdocs serve`
from the root directory. You can then view the documents at `localhost:8000`.

--8<-- "links.txt"
17 changes: 1 addition & 16 deletions docs/src/markdown/about/license.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
# License

MIT license.

Copyright (c) 2015 - 2021 Isaac Muse <isaacmuse@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--8<-- "LICENSE.md"
2 changes: 0 additions & 2 deletions docs/src/markdown/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ There are a couple of recommended ways to install Backrefs.
```

This method will allow you to instantly see your changes without reinstalling which is great for developing.

--8<-- "links.txt"
2 changes: 0 additions & 2 deletions docs/src/markdown/refs.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,5 +311,3 @@ In the table below, patterns with `--` mean `[[in this] -- [but not this]]`.
`Upper` | `\p{Uppercase}`
`Word` | `[\p{Alnum}\p{M}\p{Pc}\p{JoinControl}]`
`XDigit` | `[\p{Nd}\p{HexDigit}]`

--8<-- "links.txt"
2 changes: 0 additions & 2 deletions docs/src/markdown/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,5 +241,3 @@ Pre-compiled pattern objects can also create a compiled format replace object us
>>> pattern.subf(replace, "foo bar")
'Bar Foo'
```

--8<-- "links.txt"
6 changes: 5 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ markdown_extensions:
- pymdownx.mark:
- pymdownx.striphtml:
- pymdownx.snippets:
base_path: docs/src/markdown/_snippets
base_path:
- docs/src/markdown/.snippets
- LICENSE.md
auto_append:
- links.md
- pymdownx.keys:
separator: "\uff0b"
- pymdownx.details:
Expand Down

0 comments on commit 0bf8ddd

Please sign in to comment.