Skip to content

Commit

Permalink
Integrate with Copier
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypin committed Nov 26, 2023
1 parent 053e3c5 commit cf78283
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
13 changes: 13 additions & 0 deletions .tools/copier-answers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
_commit: 8013794b5
_src_path: gh:oprypin/py-project-template
copyright_date: '2020'
mkdocs: true
mkdocs_install_self: true
project_description: MkDocs plugin to programmatically generate documentation pages during the build
project_name: mkdocs-gen-files
pytest: true
python_distribution_name: mkdocs-gen-files
python_source_path: mkdocs_gen_files
repository_name: oprypin/mkdocs-gen-files
script_test: false

2 changes: 1 addition & 1 deletion .tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git diff --quiet HEAD pyproject.toml
rm -rf dist
hatch version "$1"
hatch build
git add */__init__.py
git add mkdocs_gen_files/__init__.py
git commit -m "v$1"
git tag -a -m "" "v$1"
git push origin master --tags
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
**[Plugin][] for [MkDocs][] to programmatically generate documentation pages during the build**

[![PyPI](https://img.shields.io/pypi/v/mkdocs-gen-files)](https://pypi.org/project/mkdocs-gen-files/)
[![GitHub](https://img.shields.io/github/license/oprypin/mkdocs-gen-files)](https://github.com/oprypin/mkdocs-gen-files/blob/master/LICENSE.md)
[![License](https://img.shields.io/github/license/oprypin/mkdocs-gen-files)](https://github.com/oprypin/mkdocs-gen-files/blob/master/LICENSE.md)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/oprypin/mkdocs-gen-files/ci.yml.svg)](https://github.com/oprypin/mkdocs-gen-files/actions?query=event%3Apush+branch%3Amaster)

```shell
Expand Down
4 changes: 3 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
site_name: "mkdocs-gen-files"
site_description: "MkDocs plugin to programmatically generate documentation pages during the build"
site_url: "https://oprypin.github.io/mkdocs-gen-files"
repo_url: "https://github.com/oprypin/mkdocs-gen-files"
edit_uri: blob/master/docs/
Expand Down Expand Up @@ -37,10 +38,11 @@ plugins:
show_source: false

markdown_extensions:
- pymdownx.details
- pymdownx.highlight
- pymdownx.magiclink
- pymdownx.saneheaders
- pymdownx.superfences
- pymdownx.details
- pymdownx.snippets:
check_paths: true
base_path:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ format = [
[tool.hatch.envs.docs]
type = "pip-compile"
pip-compile-hashes = false
detached = false

[tool.ruff]
line-length = 100
Expand Down

0 comments on commit cf78283

Please sign in to comment.