Skip to content

Commit

Permalink
Fix section case (#127)
Browse files Browse the repository at this point in the history
* disable slugify default lowercase option

* removing version update in pyproject.toml
  • Loading branch information
cloudyparts authored Dec 5, 2023
1 parent af5e678 commit ebcb65d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.6.4

### Prs in Release

- [Fix section case](https://github.com/jdoiro3/mkdocs-multirepo-plugin/pull/124)

## 0.6.3

### Prs in Release
Expand Down
2 changes: 1 addition & 1 deletion mkdocs_multirepo_plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def handle_repos_import(self, config: Config, repos: List[RepoConfig]) -> Config
raise ImportSyntaxError(
"import_url should only contain the url with plugin accepted params. You included '!import'."
)
section_slug = slugify(repo.section)
section_slug = slugify(text=repo.section, lowercase=False)
path = repo.section_path
repo_name = f"{path}/{section_slug}" if path is not None else section_slug
# mkdocs config values edit_uri and repo_url aren't set
Expand Down

0 comments on commit ebcb65d

Please sign in to comment.