Skip to content

Commit

Permalink
🚨 (docs): Format plugins with black
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Mar 29, 2023
1 parent c4aa50b commit eb80d7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/plugins/add_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def append_readme(files: Files, config: Config):
path="README.md",
src_dir="..",
dest_dir=config.site_dir,
use_directory_urls=config.use_directory_urls
use_directory_urls=config.use_directory_urls,
)
files.append(f)
config.watch.append(f.abs_src_path)
Expand All @@ -40,7 +40,7 @@ def chart_file(src_path: str, config: Config):
path=os.path.join("charts", chart_name + ".md"),
src_dir=src_dir,
dest_dir=config.site_dir,
use_directory_urls=config.use_directory_urls
use_directory_urls=config.use_directory_urls,
)
f.abs_src_path = src_path
return f
2 changes: 1 addition & 1 deletion docs/plugins/filter_readmes.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def main(markdown: str, page: Page, config: Config, files: Files):
def filter_repo_readme(markdown: str, page: Page, config: Config):
# Update page title
page.title = "Introduction"
markdown = markdown.split('\n', 1)[-1]
markdown = markdown.split("\n", 1)[-1]
markdown = "# Introduction\n" + markdown

# Exclude chart overview from search
Expand Down

0 comments on commit eb80d7f

Please sign in to comment.