Skip to content

Commit

Permalink
mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
e3rd committed Jan 9, 2025
1 parent 45eba69 commit 6e90048
Show file tree
Hide file tree
Showing 10 changed files with 298 additions and 263 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11, 3.12, 3.13]
python-version: [3.11, 3.12]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ export TAG := `grep version pyproject.toml | pz --search '"(\d+\.\d+\.\d+(?:rc\d
release:
git tag $(TAG)
git push origin $(TAG)
#mkdocs gh-deploy
mkdocs gh-deploy
261 changes: 0 additions & 261 deletions README.md

This file was deleted.

1 change: 1 addition & 0 deletions README.md
9 changes: 9 additions & 0 deletions deduplidog/deduplidog.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@

@dataclass
class Action:
""" What is to be done with the duplicates. """

execute: bool = False
"If False, nothing happens, just a safe run is performed."

Expand All @@ -63,6 +65,8 @@ class Action:

@dataclass
class Execution:
""" Parameters affecting the way the execution runs. """

set_both_to_older_date: bool = False
"If `execute=True`, `media_magic=True` or (media_magic=False and `ignore_date=True`), both files are set to the older date. Ex: work file get's the original file's date or vice versa."

Expand All @@ -85,6 +89,8 @@ class Execution:

@dataclass
class Match:
""" The way the files are compared. """

casefold: bool = False
"Case insensitive file name comparing."
checksum: bool = False
Expand Down Expand Up @@ -123,6 +129,7 @@ class Match:

@dataclass
class Media:
""" Media files similarity detection. """

media_magic: bool = False
""" Media files similarity detection.
Expand All @@ -146,6 +153,8 @@ class Media:

@dataclass
class Helper:
""" Helper settings. """

log_level: int = logging.WARNING
"10 debug .. 50 critical" # NOTE check

Expand Down
4 changes: 4 additions & 0 deletions docs/Changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Changelog

## 0.7.0 (2025-01-09)
Working as expected.
22 changes: 22 additions & 0 deletions docs/Overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Deduplidog overview

Launch `deduplidog` and change these parameter from GUI/TUI, or set them via CLI.

::: deduplidog.Deduplidog
options:
members:
- work_dir
- original_dir
show_aliases: false
show_source: false

# Action
::: deduplidog.deduplidog.Action
# Execution
::: deduplidog.deduplidog.Execution
# Match
::: deduplidog.deduplidog.Match
# Media
::: deduplidog.deduplidog.Media
# Helper
::: deduplidog.deduplidog.Helper
Loading

0 comments on commit 6e90048

Please sign in to comment.