Skip to content

Commit

Permalink
refactor: Use pymdownx.snippets instead of markdown_include
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Feb 10, 2021
1 parent 9c3f29d commit 2c07518
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion project/docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{!CHANGELOG.md!}
--8<-- "CHANGELOG.md"
2 changes: 1 addition & 1 deletion project/docs/code_of_conduct.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{!CODE_OF_CONDUCT.md!}
--8<-- "CODE_OF_CONDUCT.md"
2 changes: 1 addition & 1 deletion project/docs/contributing.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{!CONTRIBUTING.md!}
--8<-- "CONTRIBUTING.md"
2 changes: 1 addition & 1 deletion project/docs/index.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{!README.md!}
--8<-- "README.md"
3 changes: 3 additions & 0 deletions project/docs/license.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```
--8<-- "LICENSE"
```
3 changes: 2 additions & 1 deletion project/mkdocs.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ extra_css:

markdown_extensions:
- admonition
- markdown_include.include
- pymdownx.emoji
- pymdownx.magiclink
- pymdownx.snippets:
check_paths: true
- pymdownx.superfences
- pymdownx.tabbed
- pymdownx.tasklist
Expand Down
1 change: 0 additions & 1 deletion project/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ ipython = "^7.2"
# TODO: accept v5 once https://github.com/wemake-services/wemake-python-styleguide/issues/1584 is resolved
isort = {version = "<5", extras = ["pyproject"]}
jinja2-cli = "^0.7.0"
markdown-include = "^0.6.0"
mkdocs = "^1.1.2"
mkdocs-material = "^6.2.7"
mkdocstrings = "^0.14.0"
Expand Down

0 comments on commit 2c07518

Please sign in to comment.